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

Issue 2354933002: Rename CPDFXFA_Document::GetPageCount (Closed)

Created:
4 years, 3 months ago by dsinclair
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez, npm, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Rename CPDFXFA_Document::GetPageCount Both CPDF_Document and CPDFXFA_Document have a GetPageCount method. For CPDF_Document this maps to the length of the m_PageList array. It is possible for the page count values for the two types to be different. This CL renames the CPDFXFA_Document::GetPageCount to CPDFXFA_Document::GetXFAPageCount and marks the places where we need to validate the code will work correctly with XFA forms.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -11 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp View 2 chunks +3 lines, -0 lines 2 comments Download
M core/fpdfdoc/cpdf_pagelabel.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfeditpage.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfppo.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 3 chunks +14 lines, -5 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/cpdfsdk_document.h View 1 chunk +7 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
dsinclair
PTAL.
4 years, 3 months ago (2016-09-20 14:18:00 UTC) #4
Tom Sepez
On 2016/09/20 14:18:00, dsinclair wrote: > PTAL. I'm kinda confused as to the direction this ...
4 years, 3 months ago (2016-09-20 16:46:20 UTC) #7
dsinclair
On 2016/09/20 16:46:20, Tom Sepez wrote: > On 2016/09/20 14:18:00, dsinclair wrote: > > PTAL. ...
4 years, 3 months ago (2016-09-20 17:24:34 UTC) #8
dsinclair
On 2016/09/20 17:24:34, dsinclair wrote: > On 2016/09/20 16:46:20, Tom Sepez wrote: > > On ...
4 years, 3 months ago (2016-09-21 18:56:49 UTC) #9
npm
lgtm if I understand correctly and this is just a rename https://codereview.chromium.org/2354933002/diff/1/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp File core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp (right): ...
4 years, 3 months ago (2016-09-21 21:59:23 UTC) #10
dsinclair
https://codereview.chromium.org/2354933002/diff/1/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp File core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp (right): https://codereview.chromium.org/2354933002/diff/1/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp#newcode1427 core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp:1427: // the document does not contain XFA pages. On ...
4 years, 3 months ago (2016-09-22 14:06:02 UTC) #11
dsinclair
4 years, 3 months ago (2016-09-22 18:09:13 UTC) #12
tsepez@ does this CL make more sense with the explanation above?

Powered by Google App Engine
This is Rietveld 408576698