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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 int GetDefaultSelectedItem(); | 715 int GetDefaultSelectedItem(); |
716 | 716 |
717 int CountOptions(); | 717 int CountOptions(); |
718 | 718 |
719 CFX_WideString GetOptionLabel(int index); | 719 CFX_WideString GetOptionLabel(int index); |
720 | 720 |
721 CFX_WideString GetOptionValue(int index); | 721 CFX_WideString GetOptionValue(int index); |
722 | 722 |
723 int FindOption(CFX_WideString csOptLabel); | 723 int FindOption(CFX_WideString csOptLabel); |
724 | 724 |
725 int FindOptionValue(const CFX_WideString& csOptValue, int iStartIndex = 0); | 725 int FindOptionValue(const CFX_WideString& csOptValue); |
726 | 726 |
727 FX_BOOL CheckControl(int iControlIndex, | 727 FX_BOOL CheckControl(int iControlIndex, |
728 bool bChecked, | 728 bool bChecked, |
729 bool bNotify = false); | 729 bool bNotify = false); |
730 | 730 |
731 int GetTopVisibleIndex(); | 731 int GetTopVisibleIndex(); |
732 | 732 |
733 int CountSelectedOptions(); | 733 int CountSelectedOptions(); |
734 | 734 |
735 int GetSelectedOptionIndex(int index); | 735 int GetSelectedOptionIndex(int index); |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1048 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
1049 | 1049 |
1050 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1050 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
1051 | 1051 |
1052 CPDF_Dictionary* const m_pDict; | 1052 CPDF_Dictionary* const m_pDict; |
1053 }; | 1053 }; |
1054 | 1054 |
1055 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1055 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
1056 | 1056 |
1057 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1057 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
OLD | NEW |