| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |