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

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

Issue 2140423002: Rename methods in CPDF_Interform. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rename methods in CPDF_Interform. Created 4 years, 5 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 | « core/fpdfdoc/doc_form.cpp ('k') | fpdfsdk/fsdk_mgr.cpp » ('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_FPDFDOC_INCLUDE_FPDF_DOC_H_ 7 #ifndef CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ 8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 #define FIELDTYPE_COMBOBOX 4 434 #define FIELDTYPE_COMBOBOX 4
435 #define FIELDTYPE_LISTBOX 5 435 #define FIELDTYPE_LISTBOX 5
436 #define FIELDTYPE_TEXTFIELD 6 436 #define FIELDTYPE_TEXTFIELD 6
437 #define FIELDTYPE_SIGNATURE 7 437 #define FIELDTYPE_SIGNATURE 7
438 438
439 class CPDF_InterForm { 439 class CPDF_InterForm {
440 public: 440 public:
441 explicit CPDF_InterForm(CPDF_Document* pDocument); 441 explicit CPDF_InterForm(CPDF_Document* pDocument);
442 ~CPDF_InterForm(); 442 ~CPDF_InterForm();
443 443
444 static void EnableUpdateAP(FX_BOOL bUpdateAP); 444 static void SetUpdateAP(FX_BOOL bUpdateAP);
445 static FX_BOOL UpdatingAPEnabled(); 445 static FX_BOOL IsUpdateAPEnabled();
446 static CFX_ByteString GenerateNewResourceName(const CPDF_Dictionary* pResDict, 446 static CFX_ByteString GenerateNewResourceName(const CPDF_Dictionary* pResDict,
447 const FX_CHAR* csType, 447 const FX_CHAR* csType,
448 int iMinLen = 2, 448 int iMinLen = 2,
449 const FX_CHAR* csPrefix = ""); 449 const FX_CHAR* csPrefix = "");
450 static CPDF_Font* AddStandardFont(CPDF_Document* pDocument, 450 static CPDF_Font* AddStandardFont(CPDF_Document* pDocument,
451 CFX_ByteString csFontName); 451 CFX_ByteString csFontName);
452 static CFX_ByteString GetNativeFont(uint8_t iCharSet, 452 static CFX_ByteString GetNativeFont(uint8_t iCharSet,
453 void* pLogFont = nullptr); 453 void* pLogFont = nullptr);
454 static CFX_ByteString GetNativeFont(void* pLogFont = nullptr); 454 static CFX_ByteString GetNativeFont(void* pLogFont = nullptr);
455 static uint8_t GetNativeCharSet(); 455 static uint8_t GetNativeCharSet();
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; 930 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const;
931 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; 931 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const;
932 932
933 CPDF_Dictionary* const m_pDict; 933 CPDF_Dictionary* const m_pDict;
934 }; 934 };
935 935
936 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, 936 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict,
937 CPDF_Annot::AppearanceMode mode); 937 CPDF_Annot::AppearanceMode mode);
938 938
939 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ 939 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_form.cpp ('k') | fpdfsdk/fsdk_mgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698