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

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

Issue 1477663003: Manual fixups to PDF_ENABLE_XFA in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Same as master Created 5 years 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/fxcodec/fx_codec.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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 FX_BOOL bNotify = FALSE); 824 FX_BOOL bNotify = FALSE);
825 825
826 FX_BOOL ClearSelectedOptions(FX_BOOL bNotify = FALSE); 826 FX_BOOL ClearSelectedOptions(FX_BOOL bNotify = FALSE);
827 827
828 #ifdef PDF_ENABLE_XFA 828 #ifdef PDF_ENABLE_XFA
829 FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE); 829 FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE);
830 830
831 int InsertOption(CFX_WideString csOptLabel, 831 int InsertOption(CFX_WideString csOptLabel,
832 int index = -1, 832 int index = -1,
833 FX_BOOL bNotify = FALSE); 833 FX_BOOL bNotify = FALSE);
834 #endif // PDF_ENABLE_XFA
834 835
835 #endif
836 FX_FLOAT GetFontSize() { return m_FontSize; } 836 FX_FLOAT GetFontSize() { return m_FontSize; }
837 837
838 CPDF_Font* GetFont() { return m_pFont; } 838 CPDF_Font* GetFont() { return m_pFont; }
839 839
840 protected: 840 protected:
841 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict); 841 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict);
842 842
843 ~CPDF_FormField(); 843 ~CPDF_FormField();
844 844
845 CPDF_FormField::Type m_Type; 845 CPDF_FormField::Type m_Type;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1165 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1166 1166
1167 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1167 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1168 1168
1169 CPDF_Dictionary* const m_pDict; 1169 CPDF_Dictionary* const m_pDict;
1170 }; 1170 };
1171 1171
1172 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1172 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1173 1173
1174 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 1174 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « no previous file | core/include/fxcodec/fx_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698