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

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: Fix non-xfa build. 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') | core/include/fxge/fx_font.h » ('J')
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); 566 void GetAllFieldNames(std::vector<CFX_WideString>& allFieldNames);
567 567
568 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const; 568 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const;
569 569
570 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage, 570 CPDF_FormControl* GetControlAtPoint(CPDF_Page* pPage,
571 FX_FLOAT pdf_x, 571 FX_FLOAT pdf_x,
572 FX_FLOAT pdf_y, 572 FX_FLOAT pdf_y,
573 int* z_order) const; 573 int* z_order) const;
574 574
575 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const; 575 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const;
576 576
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1129 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1130 1130
1131 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1131 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1132 1132
1133 CPDF_Dictionary* const m_pDict; 1133 CPDF_Dictionary* const m_pDict;
1134 }; 1134 };
1135 1135
1136 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1136 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1137 1137
1138 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 1138 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « no previous file | core/include/fxcrt/fx_basic.h » ('j') | core/include/fxge/fx_font.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698