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

Side by Side Diff: core/include/reflow/fpdf_layout.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/fxge/fx_ge_win32.h ('k') | core/include/reflow/reflowengine.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 CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_ 7 #ifndef CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_
8 #define CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_ 8 #define CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_
9 9
10 class IPDF_LayoutElement; 10 class IPDF_LayoutElement;
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 #define LP_Lang_Korean 0x400 245 #define LP_Lang_Korean 0x400
246 #define LP_Lang_Portuguese 0x800 246 #define LP_Lang_Portuguese 0x800
247 #define LP_Lang_Turkish 0x1000 247 #define LP_Lang_Turkish 0x1000
248 #define LP_Lang_Dutch 0x2000 248 #define LP_Lang_Dutch 0x2000
249 typedef struct _LayoutProviderStyle { 249 typedef struct _LayoutProviderStyle {
250 _LayoutProviderStyle() 250 _LayoutProviderStyle()
251 { 251 {
252 m_Language = LP_Lang_Unknow; 252 m_Language = LP_Lang_Unknow;
253 m_bIgnoreInvisibleText = TRUE; 253 m_bIgnoreInvisibleText = TRUE;
254 } 254 }
255 FX_INT32» m_Language; 255 int32_t» m_Language;
256 FX_BOOL m_bIgnoreInvisibleText; 256 FX_BOOL m_bIgnoreInvisibleText;
257 } LAYOUTPROVIDER_STYLE; 257 } LAYOUTPROVIDER_STYLE;
258 class IPDF_LayoutProvider 258 class IPDF_LayoutProvider
259 { 259 {
260 public: 260 public:
261 261
262 virtual ~IPDF_LayoutProvider() {}; 262 virtual ~IPDF_LayoutProvider() {};
263 263
264 static IPDF_LayoutProvider* Create_LayoutProvider_TaggedPDF(CPDF_PageObjects * pPageObjs); 264 static IPDF_LayoutProvider* Create_LayoutProvider_TaggedPDF(CPDF_PageObjects * pPageObjs);
265 265
266 static IPDF_LayoutProvider* Create_LayoutProvider_AutoReflow(CPDF_PageObject s* pPageObjs, FX_BOOL bReadOrder); 266 static IPDF_LayoutProvider* Create_LayoutProvider_AutoReflow(CPDF_PageObject s* pPageObjs, FX_BOOL bReadOrder);
267 267
268 virtual void SetLayoutProviderStyle(LAYOUTPROVIDER_ST YLE Style) = 0; 268 virtual void SetLayoutProviderStyle(LAYOUTPROVIDER_ST YLE Style) = 0;
269 269
270 270
271 271
272 272
273 virtual LayoutStatus StartLoad(IFX_Pause* pPause = NULL) = 0; 273 virtual LayoutStatus StartLoad(IFX_Pause* pPause = NULL) = 0;
274 274
275 virtual LayoutStatus Continue() = 0; 275 virtual LayoutStatus Continue() = 0;
276 virtual int GetPosition() = 0; 276 virtual int GetPosition() = 0;
277 277
278 278
279 virtual IPDF_LayoutElement* GetRoot() = 0; 279 virtual IPDF_LayoutElement* GetRoot() = 0;
280 }; 280 };
281 #endif // CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_ 281 #endif // CORE_INCLUDE_REFLOW_FPDF_LAYOUT_H_
OLDNEW
« no previous file with comments | « core/include/fxge/fx_ge_win32.h ('k') | core/include/reflow/reflowengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698