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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h

Issue 1737593006: Re-land "Replace CPDF_Rect and CPDF_Point with CFX types." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Ooops. Created 4 years, 9 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 | « fpdfsdk/include/formfiller/FFL_RadioButton.h ('k') | fpdfsdk/include/fsdk_annothandler.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 FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_
8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 IXFA_DocView* GetXFADocView() { return m_pXFADocView; } 33 IXFA_DocView* GetXFADocView() { return m_pXFADocView; }
34 34
35 int GetPageCount(); 35 int GetPageCount();
36 CPDFXFA_Page* GetPage(int page_index); 36 CPDFXFA_Page* GetPage(int page_index);
37 CPDFXFA_Page* GetPage(IXFA_PageView* pPage); 37 CPDFXFA_Page* GetPage(IXFA_PageView* pPage);
38 void RemovePage(CPDFXFA_Page* page); 38 void RemovePage(CPDFXFA_Page* page);
39 int GetDocType() { return m_iDocType; } 39 int GetDocType() { return m_iDocType; }
40 40
41 CPDFSDK_Document* GetSDKDocument(CPDFDoc_Environment* pFormFillEnv); 41 CPDFSDK_Document* GetSDKDocument(CPDFDoc_Environment* pFormFillEnv);
42 42
43 void FXRect2PDFRect(const CFX_RectF& fxRectF, CPDF_Rect& pdfRect); 43 void FXRect2PDFRect(const CFX_RectF& fxRectF, CFX_FloatRect& pdfRect);
44 44
45 virtual void SetChangeMark(IXFA_Doc* hDoc); 45 virtual void SetChangeMark(IXFA_Doc* hDoc);
46 virtual FX_BOOL GetChangeMark(IXFA_Doc* hDoc); 46 virtual FX_BOOL GetChangeMark(IXFA_Doc* hDoc);
47 // used in dynamic xfa, dwFlags refer to XFA_INVALIDATE_XXX macros. 47 // used in dynamic xfa, dwFlags refer to XFA_INVALIDATE_XXX macros.
48 virtual void InvalidateRect(IXFA_PageView* pPageView, 48 virtual void InvalidateRect(IXFA_PageView* pPageView,
49 const CFX_RectF& rt, 49 const CFX_RectF& rt,
50 FX_DWORD dwFlags = 0); 50 FX_DWORD dwFlags = 0);
51 // used in static xfa, dwFlags refer to XFA_INVALIDATE_XXX macros. 51 // used in static xfa, dwFlags refer to XFA_INVALIDATE_XXX macros.
52 virtual void InvalidateRect(IXFA_Widget* hWidget, FX_DWORD dwFlags = 0); 52 virtual void InvalidateRect(IXFA_Widget* hWidget, FX_DWORD dwFlags = 0);
53 // show or hide caret 53 // show or hide caret
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 CPDF_Document* m_pPDFDoc; 221 CPDF_Document* m_pPDFDoc;
222 CPDFSDK_Document* m_pSDKDoc; 222 CPDFSDK_Document* m_pSDKDoc;
223 IXFA_Doc* m_pXFADoc; 223 IXFA_Doc* m_pXFADoc;
224 IXFA_DocView* m_pXFADocView; 224 IXFA_DocView* m_pXFADocView;
225 CPDFXFA_App* m_pApp; 225 CPDFXFA_App* m_pApp;
226 IJS_Context* m_pJSContext; 226 IJS_Context* m_pJSContext;
227 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; 227 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList;
228 }; 228 };
229 229
230 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ 230 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_RadioButton.h ('k') | fpdfsdk/include/fsdk_annothandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698