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

Side by Side Diff: core/include/fpdfdoc/fpdf_tagged.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/include/fpdfdoc/fpdf_vt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 _FPDF_TAGGED_H_ 7 #ifndef _FPDF_TAGGED_H_
8 #define _FPDF_TAGGED_H_ 8 #define _FPDF_TAGGED_H_
9 class CPDF_StructTree; 9 class CPDF_StructTree;
10 class CPDF_StructElement; 10 class CPDF_StructElement;
11 struct CPDF_StructKid; 11 struct CPDF_StructKid;
12 class CPDF_Document; 12 class CPDF_Document;
13 class CPDF_Page; 13 class CPDF_Page;
14 class IPDF_ReflowEngine; 14 class IPDF_ReflowEngine;
15 class IPDF_ReflowedPage; 15 class IPDF_ReflowedPage;
16 class CPDF_StructTree : public CFX_Object 16 class CPDF_StructTree
17 { 17 {
18 public: 18 public:
19 19
20 static CPDF_StructTree* LoadDoc(const CPDF_Document* pDoc); 20 static CPDF_StructTree* LoadDoc(const CPDF_Document* pDoc);
21 21
22 static CPDF_StructTree* LoadPage(const CPDF_Document* pDoc, const CPDF_Dicti onary* pPageDict); 22 static CPDF_StructTree* LoadPage(const CPDF_Document* pDoc, const CPDF_Dicti onary* pPageDict);
23 23
24 virtual ~CPDF_StructTree() {} 24 virtual ~CPDF_StructTree() {}
25 25
26 virtual int CountTopElements() const = 0; 26 virtual int CountTopElements() const = 0;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 FX_DWORD m_RefObjNum; 58 FX_DWORD m_RefObjNum;
59 } m_StreamContent; 59 } m_StreamContent;
60 struct { 60 struct {
61 61
62 FX_DWORD m_PageObjNum; 62 FX_DWORD m_PageObjNum;
63 63
64 FX_DWORD m_RefObjNum; 64 FX_DWORD m_RefObjNum;
65 } m_Object; 65 } m_Object;
66 }; 66 };
67 }; 67 };
68 class CPDF_StructElement : public CFX_Object 68 class CPDF_StructElement
69 { 69 {
70 public: 70 public:
71 virtual ~CPDF_StructElement() { } 71 virtual ~CPDF_StructElement() { }
72 72
73 virtual CPDF_StructTree* GetTree() const = 0; 73 virtual CPDF_StructTree* GetTree() const = 0;
74 74
75 virtual const CFX_ByteString& GetType() const = 0; 75 virtual const CFX_ByteString& GetType() const = 0;
76 76
77 virtual CPDF_StructElement* GetParent() const = 0; 77 virtual CPDF_StructElement* GetParent() const = 0;
78 78
(...skipping 12 matching lines...) Expand all
91 virtual CFX_ByteString GetName(FX_BSTR owner, FX_BSTR name, FX_ BSTR default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 91 virtual CFX_ByteString GetName(FX_BSTR owner, FX_BSTR name, FX_ BSTR default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0;
92 92
93 virtual FX_ARGB GetColor(FX_BSTR owner, FX_BSTR name, FX_ARGB default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 93 virtual FX_ARGB GetColor(FX_BSTR owner, FX_BSTR name, FX_ARGB default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0;
94 94
95 virtual FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, F X_FLOAT default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 95 virtual FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, F X_FLOAT default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0;
96 96
97 virtual int GetInteger(FX_BSTR owner, FX_BST R name, int default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 97 virtual int GetInteger(FX_BSTR owner, FX_BST R name, int default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0;
98 98
99 }; 99 };
100 #endif 100 #endif
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/include/fpdfdoc/fpdf_vt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698