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

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

Issue 1471323004: Inflict PPDF_ENABLE_XFA ifdefs on XFA core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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') | core/include/fxcodec/fx_codec.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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 int GetSelectedOptionIndex(int index); 818 int GetSelectedOptionIndex(int index);
819 819
820 FX_BOOL IsOptionSelected(int iOptIndex); 820 FX_BOOL IsOptionSelected(int iOptIndex);
821 821
822 FX_BOOL SelectOption(int iOptIndex, 822 FX_BOOL SelectOption(int iOptIndex,
823 FX_BOOL bSelected, 823 FX_BOOL bSelected,
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 FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE); 829 FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE);
829 830
830 int InsertOption(CFX_WideString csOptLabel, 831 int InsertOption(CFX_WideString csOptLabel,
831 int index = -1, 832 int index = -1,
832 FX_BOOL bNotify = FALSE); 833 FX_BOOL bNotify = FALSE);
833 834
835 #endif
Lei Zhang 2015/11/24 23:36:04 Blank line below rather than above? Ditto in other
Tom Sepez 2015/11/25 18:51:45 Yep, that's just a result of the way automated dif
834 FX_FLOAT GetFontSize() { return m_FontSize; } 836 FX_FLOAT GetFontSize() { return m_FontSize; }
835 837
836 CPDF_Font* GetFont() { return m_pFont; } 838 CPDF_Font* GetFont() { return m_pFont; }
837 839
838 protected: 840 protected:
839 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict); 841 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict);
840 842
841 ~CPDF_FormField(); 843 ~CPDF_FormField();
842 844
843 CPDF_FormField::Type m_Type; 845 CPDF_FormField::Type m_Type;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1165 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1164 1166
1165 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1167 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1166 1168
1167 CPDF_Dictionary* const m_pDict; 1169 CPDF_Dictionary* const m_pDict;
1168 }; 1170 };
1169 1171
1170 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1172 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1171 1173
1172 #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') | core/include/fxcodec/fx_codec.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698