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 CORE_SRC_REFLOW_AUTOREFLOW_H_ | 7 #ifndef CORE_SRC_REFLOW_AUTOREFLOW_H_ |
8 #define CORE_SRC_REFLOW_AUTOREFLOW_H_ | 8 #define CORE_SRC_REFLOW_AUTOREFLOW_H_ |
9 | 9 |
10 #include "../../include/reflow/reflowengine.h" | 10 #include "../../include/reflow/reflowengine.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 FX_FLOAT GetLayoutOrderHeight(CPDF_PageObject* pCurObj); | 98 FX_FLOAT GetLayoutOrderHeight(CPDF_PageObject* pCurObj); |
99 FX_FLOAT GetLayoutOrderWidth(CPDF_PageObject* pCurObj); | 99 FX_FLOAT GetLayoutOrderWidth(CPDF_PageObject* pCurObj); |
100 int GetWritingMode(CPDF_PageObject* pPreObj, CPDF_PageObject* pCurObj); | 100 int GetWritingMode(CPDF_PageObject* pPreObj, CPDF_PageObject* pCurObj); |
101 int GetRectStart(FX_RECT rect); | 101 int GetRectStart(FX_RECT rect); |
102 int GetRectEnd(FX_RECT rect); | 102 int GetRectEnd(FX_RECT rect); |
103 int GetRectTop(FX_RECT rect); | 103 int GetRectTop(FX_RECT rect); |
104 int GetRectBottom(FX_RECT rect); | 104 int GetRectBottom(FX_RECT rect); |
105 int GetRectHeight(FX_RECT rect); | 105 int GetRectHeight(FX_RECT rect); |
106 int GetRectWidth(FX_RECT rect); | 106 int GetRectWidth(FX_RECT rect); |
107 void ProcessObj(CFX_PtrArray& cellArray, CPDF_PageObject* pObj, CFX_AffineMa
trix matrix); | 107 void ProcessObj(CFX_PtrArray& cellArray, CPDF_PageObject* pObj, CFX_AffineMa
trix matrix); |
108 FX_INT32 LogicPreObj(CPDF_PageObject* pObj); | 108 int32_t LogicPreObj(CPDF_PageObject* pObj); |
109 | 109 |
110 CPDF_AutoReflowElement* m_pRoot; | 110 CPDF_AutoReflowElement* m_pRoot; |
111 CPDF_AutoReflowElement* m_pCurrElm; | 111 CPDF_AutoReflowElement* m_pCurrElm; |
112 CPDF_Page* m_pPDFPage; | 112 CPDF_Page* m_pPDFPage; |
113 IFX_Pause* m_pPause; | 113 IFX_Pause* m_pPause; |
114 CFX_AffineMatrix m_PDFDisplayMatrix; | 114 CFX_AffineMatrix m_PDFDisplayMatrix; |
115 CPDF_PageObject* m_pPreObj; | 115 CPDF_PageObject* m_pPreObj; |
116 LayoutStatus m_Status; | 116 LayoutStatus m_Status; |
117 int m_WritingMode; | 117 int m_WritingMode; |
118 CFX_PtrArray m_CellArray; | 118 CFX_PtrArray m_CellArray; |
119 FX_BOOL m_bReadOrder; | 119 FX_BOOL m_bReadOrder; |
120 LAYOUTPROVIDER_STYLE m_Style; | 120 LAYOUTPROVIDER_STYLE m_Style; |
121 CFX_PtrArray m_cellArray; | 121 CFX_PtrArray m_cellArray; |
122 int m_Step; | 122 int m_Step; |
123 }; | 123 }; |
124 | 124 |
125 #endif // CORE_SRC_REFLOW_AUTOREFLOW_H_ | 125 #endif // CORE_SRC_REFLOW_AUTOREFLOW_H_ |
OLD | NEW |