diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-24 09:22:01 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-24 09:22:01 -0800 |
commit | a2167107bbcef6a3e3687d49a5b1e62503391316 (patch) | |
tree | c63995427c467f01cd6f10d80c5afcdb34f2245c /fpdfsdk/include/fxedit/fxet_edit.h | |
parent | a96043b4d16446042733c3b381ad62eb267b4890 (diff) | |
download | pdfium-a2167107bbcef6a3e3687d49a5b1e62503391316.tar.xz |
Fix wrong page count returned in FPDF_GetPageCount() for dynamic XFA files
In FPDF_GetPageCount(), 'document' is converted to a non-XFA
document pointer (CPDF_Document*). So it only returns non-XFA
or static XFA page count. If XFA files include dynamic XFA fields
on some pages, the returned value doesn't reflect these pages.
BUG=pdfium:278
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1442753005 .
Diffstat (limited to 'fpdfsdk/include/fxedit/fxet_edit.h')
0 files changed, 0 insertions, 0 deletions