summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/include
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-20 12:17:42 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-20 12:17:42 -0700
commit9f206f05eccf51089fe8a30bf52dc063ea5e2633 (patch)
tree484b1215a89619ca56b7957f07ff87f825bdcd80 /fpdfsdk/fpdfxfa/include
parent5b7c9bbf6c26ca272706814ad3598894ce5e4e3b (diff)
downloadpdfium-9f206f05eccf51089fe8a30bf52dc063ea5e2633.tar.xz
Cleanup CPDFXFA and CPDF document methods
This CL renames and cleans up some methods that are similar between CPDF_Document and CPDFXFA_Document. Review-Url: https://codereview.chromium.org/2351673004
Diffstat (limited to 'fpdfsdk/fpdfxfa/include')
-rw-r--r--fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h b/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h
index 77597d47c2..ed788eac55 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();