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

Side by Side Diff: core/include/reflow/reflowengine.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/reflow/fpdf_layout.h ('k') | core/src/fdrm/crypto/fx_crypt.cpp » ('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 CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ 7 #ifndef CORE_INCLUDE_REFLOW_REFLOWENGINE_H_
8 #define CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ 8 #define CORE_INCLUDE_REFLOW_REFLOWENGINE_H_
9 9
10 #include "../fpdfapi/fpdf_pageobj.h" 10 #include "../fpdfapi/fpdf_pageobj.h"
11 #include "../fpdfapi/fpdf_render.h" 11 #include "../fpdfapi/fpdf_render.h"
12 #include "../fpdfdoc/fpdf_tagged.h" 12 #include "../fpdfdoc/fpdf_tagged.h"
13 #include "../fpdftext/fpdf_text.h" 13 #include "../fpdftext/fpdf_text.h"
14 #include "fpdf_layout.h" 14 #include "fpdf_layout.h"
15 15
16 class IPDF_ReflowedPage 16 class IPDF_ReflowedPage
17 { 17 {
18 public: 18 public:
19 static IPDF_ReflowedPage* Create(); 19 static IPDF_ReflowedPage* Create();
20 20
21 virtual ~IPDF_ReflowedPage() {} 21 virtual ~IPDF_ReflowedPage() {}
22 virtual CFX_PrivateData* GetPrivateDataCtrl() = 0; 22 virtual CFX_PrivateData* GetPrivateDataCtrl() = 0;
23 23
24 24
25 virtual void» » GetDisplayMatrix(CFX_AffineMatrix& matrix, FX_IN T32 xPos, FX_INT32 yPos, FX_INT32 xSize, FX_INT32 ySize, FX_INT32 iRotate, const CFX_AffineMatrix* pPageMatrix) = 0; 25 virtual void» » GetDisplayMatrix(CFX_AffineMatrix& matrix, int32 _t xPos, int32_t yPos, int32_t xSize, int32_t ySize, int32_t iRotate, const CFX_ AffineMatrix* pPageMatrix) = 0;
26 virtual FX_FLOAT GetPageHeight() = 0; 26 virtual FX_FLOAT GetPageHeight() = 0;
27 virtual FX_FLOAT GetPageWidth() = 0; 27 virtual FX_FLOAT GetPageWidth() = 0;
28 virtual void» » FocusGetData(const CFX_AffineMatrix matrix, FX_I NT32 x, FX_INT32 y, CFX_ByteString& str) = 0; 28 virtual void» » FocusGetData(const CFX_AffineMatrix matrix, int3 2_t x, int32_t y, CFX_ByteString& str) = 0;
29 virtual FX_BOOL» » FocusGetPosition(const CFX_AffineMatrix matrix, CFX_ByteString str, FX_INT32& x, FX_INT32& y) = 0; 29 virtual FX_BOOL» » FocusGetPosition(const CFX_AffineMatrix matrix, CFX_ByteString str, int32_t& x, int32_t& y) = 0;
30 }; 30 };
31 typedef struct _RF_ParseStyle { 31 typedef struct _RF_ParseStyle {
32 _RF_ParseStyle() 32 _RF_ParseStyle()
33 { 33 {
34 m_LineSpace = 0; 34 m_LineSpace = 0;
35 }; 35 };
36 FX_FLOAT m_LineSpace; 36 FX_FLOAT m_LineSpace;
37 } RF_ParseStyle; 37 } RF_ParseStyle;
38 class IPDF_ProgressiveReflowPageParser 38 class IPDF_ProgressiveReflowPageParser
39 { 39 {
(...skipping 30 matching lines...) Expand all
70 virtual int GetPosition() = 0; 70 virtual int GetPosition() = 0;
71 71
72 72
73 virtual void Clear() = 0; 73 virtual void Clear() = 0;
74 }; 74 };
75 IPDF_ReflowedPage* Create_ReflowPage(); 75 IPDF_ReflowedPage* Create_ReflowPage();
76 IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser(); 76 IPDF_ProgressiveReflowPageParser* Create_ReflowPageParser();
77 IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender(); 77 IPDF_ProgressiveReflowPageRender* Create_ReflowPageRender();
78 78
79 #endif // CORE_INCLUDE_REFLOW_REFLOWENGINE_H_ 79 #endif // CORE_INCLUDE_REFLOW_REFLOWENGINE_H_
OLDNEW
« no previous file with comments | « core/include/reflow/fpdf_layout.h ('k') | core/src/fdrm/crypto/fx_crypt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698