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

Unified Diff: fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h

Issue 2351673004: Cleanup CPDFXFA and CPDF document methods (Closed)
Patch Set: Review feedback Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h
diff --git a/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h b/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h
index 77597d47c22eae4953b55a6f693fa094aacfdf9b..ed788eac55d505a137acd3c6105c4c09c1029f0a 100644
--- a/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h
+++ b/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h
@@ -38,16 +38,16 @@ class CPDFXFA_Document {
CPDF_Document* GetPDFDoc() { return m_pPDFDoc.get(); }
CXFA_FFDoc* GetXFADoc() { return m_pXFADoc.get(); }
CXFA_FFDocView* GetXFADocView() { return m_pXFADocView; }
-
- int GetPageCount();
- CPDFXFA_Page* GetPage(int page_index);
- CPDFXFA_Page* GetPage(CXFA_FFPageView* pPage);
+ CPDFSDK_Document* GetSDKDocument(CPDFSDK_Environment* pFormFillEnv);
+ int GetDocType() const { return m_iDocType; }
void DeletePage(int page_index);
- void RemovePage(CPDFXFA_Page* page);
- int GetDocType() { return m_iDocType; }
+ int GetPageCount() const;
- CPDFSDK_Document* GetSDKDocument(CPDFSDK_Environment* pFormFillEnv);
+ CPDFXFA_Page* GetXFAPage(int page_index);
+ CPDFXFA_Page* GetXFAPage(CXFA_FFPageView* pPage) const;
+
+ void RemovePage(CPDFXFA_Page* page);
void ClearChangeMark();
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698