summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-05-02 13:33:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-02 13:33:50 +0000
commit5f3e4f1605a511c5c3844890172e5395af419d5a (patch)
treee816943164f2af735b68397934fb5c108aba0806 /fpdfsdk/fpdfxfa
parentc9cd2874278e5395a150d8ad08f44bc738bce6be (diff)
downloadpdfium-5f3e4f1605a511c5c3844890172e5395af419d5a.tar.xz
Add CPDF_Document::Extension::GetPageCount()
Another virtual API at the CPDF layer, to avoid a compile time ifdef XFA. Change-Id: Ia95c4d3b3d3b773aaf45c49ebcadff6b16ca18c6 Reviewed-on: https://pdfium-review.googlesource.com/31910 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.h b/fpdfsdk/fpdfxfa/cpdfxfa_context.h
index 8491282d75..23f1ac2220 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_context.h
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.h
@@ -56,12 +56,12 @@ class CPDFXFA_Context : public CPDF_Document::Extension,
}
void SetFormFillEnv(CPDFSDK_FormFillEnvironment* pFormFillEnv);
- int GetPageCount() const;
RetainPtr<CPDFXFA_Page> GetXFAPage(int page_index);
RetainPtr<CPDFXFA_Page> GetXFAPage(CXFA_FFPageView* pPage) const;
void ClearChangeMark();
// CPDF_Document::Extension:
+ int GetPageCount() const override;
void DeletePage(int page_index) override;
// IFXA_AppProvider: