Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_
9 9
10 #include "core/include/fxcrt/fx_string.h" 10 #include "core/fxcrt/include/fx_string.h"
11 #include "core/include/fxcrt/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 12
13 class CPDF_Dictionary; 13 class CPDF_Dictionary;
14 14
15 class CPDF_ContentMarkItem { 15 class CPDF_ContentMarkItem {
16 public: 16 public:
17 enum ParamType { None, PropertiesDict, DirectDict }; 17 enum ParamType { None, PropertiesDict, DirectDict };
18 18
19 CPDF_ContentMarkItem(); 19 CPDF_ContentMarkItem();
20 CPDF_ContentMarkItem(const CPDF_ContentMarkItem& src); 20 CPDF_ContentMarkItem(const CPDF_ContentMarkItem& src);
21 ~CPDF_ContentMarkItem(); 21 ~CPDF_ContentMarkItem();
22 22
23 const CFX_ByteString& GetName() const { return m_MarkName; } 23 const CFX_ByteString& GetName() const { return m_MarkName; }
24 ParamType GetParamType() const { return m_ParamType; } 24 ParamType GetParamType() const { return m_ParamType; }
25 CPDF_Dictionary* GetParam() const { return m_pParam; } 25 CPDF_Dictionary* GetParam() const { return m_pParam; }
26 FX_BOOL HasMCID() const; 26 FX_BOOL HasMCID() const;
27 void SetName(const CFX_ByteString& name) { m_MarkName = name; } 27 void SetName(const CFX_ByteString& name) { m_MarkName = name; }
28 void SetParam(ParamType type, CPDF_Dictionary* param) { 28 void SetParam(ParamType type, CPDF_Dictionary* param) {
29 m_ParamType = type; 29 m_ParamType = type;
30 m_pParam = param; 30 m_pParam = param;
31 } 31 }
32 32
33 private: 33 private:
34 CFX_ByteString m_MarkName; 34 CFX_ByteString m_MarkName;
35 ParamType m_ParamType; 35 ParamType m_ParamType;
36 CPDF_Dictionary* m_pParam; 36 CPDF_Dictionary* m_pParam;
37 }; 37 };
38 38
39 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_ 39 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKITEM_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h ('k') | core/fpdfapi/fpdf_page/cpdf_parseoptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698