OLD | NEW |
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 _FDE_PARSER | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ |
8 #define _FDE_PARSER | 8 #define XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ |
| 9 |
9 enum FDE_VISUALOBJTYPE { | 10 enum FDE_VISUALOBJTYPE { |
10 FDE_VISUALOBJ_Canvas = 0x00, | 11 FDE_VISUALOBJ_Canvas = 0x00, |
11 FDE_VISUALOBJ_Text = 0x01, | 12 FDE_VISUALOBJ_Text = 0x01, |
12 FDE_VISUALOBJ_Image = 0x02, | 13 FDE_VISUALOBJ_Image = 0x02, |
13 FDE_VISUALOBJ_Path = 0x04, | 14 FDE_VISUALOBJ_Path = 0x04, |
14 FDE_VISUALOBJ_Widget = 0x08, | 15 FDE_VISUALOBJ_Widget = 0x08, |
15 }; | 16 }; |
16 typedef struct _FDE_HVISUALOBJ { void* pData; } const* FDE_HVISUALOBJ; | 17 typedef struct _FDE_HVISUALOBJ { void* pData; } const* FDE_HVISUALOBJ; |
17 class IFDE_VisualSet { | 18 class IFDE_VisualSet { |
18 public: | 19 public: |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 static IFDE_VisualSetIterator* Create(); | 96 static IFDE_VisualSetIterator* Create(); |
96 virtual ~IFDE_VisualSetIterator() {} | 97 virtual ~IFDE_VisualSetIterator() {} |
97 virtual void Release() = 0; | 98 virtual void Release() = 0; |
98 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0; | 99 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas) = 0; |
99 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0; | 100 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF) = 0; |
100 virtual void Reset() = 0; | 101 virtual void Reset() = 0; |
101 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet, | 102 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet, |
102 FDE_HVISUALOBJ* phCanvasObj = NULL, | 103 FDE_HVISUALOBJ* phCanvasObj = NULL, |
103 IFDE_CanvasSet** ppCanvasSet = NULL) = 0; | 104 IFDE_CanvasSet** ppCanvasSet = NULL) = 0; |
104 }; | 105 }; |
105 #endif | 106 |
| 107 #endif // XFA_SRC_FDP_INCLUDE_FDE_PSR_H_ |
OLD | NEW |