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

Side by Side Diff: core/include/fpdfdoc/fpdf_doc.h

Issue 1701883004: Banish CFX_ByteStringArray and CFX_WideStringArray to the XFA side. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | core/include/fxcrt/fx_basic.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 CFX_WideString& csNewFieldName); 556 CFX_WideString& csNewFieldName);
557 557
558 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl, 558 FX_BOOL ValidateFieldName(const CPDF_FormControl* pControl,
559 CFX_WideString& csNewFieldName); 559 CFX_WideString& csNewFieldName);
560 560
561 FX_DWORD CountFields(const CFX_WideString& csFieldName = L""); 561 FX_DWORD CountFields(const CFX_WideString& csFieldName = L"");
562 562
563 CPDF_FormField* GetField(FX_DWORD index, 563 CPDF_FormField* GetField(FX_DWORD index,
564 const CFX_WideString& csFieldName = L""); 564 const CFX_WideString& csFieldName = L"");
565 565
566 void GetAllFieldNames(CFX_WideStringArray& allFieldNames);
567
568 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const; 566 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const;
569 567
570 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage, 568 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage,
571 FX_FLOAT pdf_x, 569 FX_FLOAT pdf_x,
572 FX_FLOAT pdf_y, 570 FX_FLOAT pdf_y,
573 int* z_order) const; 571 int* z_order) const;
574 572
575 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const; 573 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const;
576 574
577 CPDF_Document* GetDocument() const { return m_pDocument; } 575 CPDF_Document* GetDocument() const { return m_pDocument; }
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1127 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1130 1128
1131 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1129 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1132 1130
1133 CPDF_Dictionary* const m_pDict; 1131 CPDF_Dictionary* const m_pDict;
1134 }; 1132 };
1135 1133
1136 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1134 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1137 1135
1138 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 1136 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « no previous file | core/include/fxcrt/fx_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698