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

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

Issue 1398383002: core/ difference with XFA (for information only). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 2015-11-24 version 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 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
829 FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE);
830
831 int InsertOption(CFX_WideString csOptLabel,
832 int index = -1,
833 FX_BOOL bNotify = FALSE);
834
835 #endif
828 FX_FLOAT GetFontSize() { return m_FontSize; } 836 FX_FLOAT GetFontSize() { return m_FontSize; }
829 837
830 CPDF_Font* GetFont() { return m_pFont; } 838 CPDF_Font* GetFont() { return m_pFont; }
831 839
832 protected: 840 protected:
833 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict); 841 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict);
834 842
835 ~CPDF_FormField(); 843 ~CPDF_FormField();
836 844
837 CPDF_FormField::Type m_Type; 845 CPDF_FormField::Type m_Type;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1165 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1158 1166
1159 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1167 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1160 1168
1161 CPDF_Dictionary* const m_pDict; 1169 CPDF_Dictionary* const m_pDict;
1162 }; 1170 };
1163 1171
1164 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1172 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1165 1173
1166 #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