| 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_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 7 #ifndef CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
| 8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 class CPDF_FormControl; | 37 class CPDF_FormControl; |
| 38 class CPDF_FormField; | 38 class CPDF_FormField; |
| 39 class CPDF_IconFit; | 39 class CPDF_IconFit; |
| 40 class CPDF_Link; | 40 class CPDF_Link; |
| 41 class CPDF_Metadata; | 41 class CPDF_Metadata; |
| 42 class CPDF_OCContext; | 42 class CPDF_OCContext; |
| 43 class CPDF_Page; | 43 class CPDF_Page; |
| 44 class CPDF_PageObject; | 44 class CPDF_PageObject; |
| 45 class CPDF_RenderContext; | 45 class CPDF_RenderContext; |
| 46 class CPDF_RenderOptions; | 46 class CPDF_RenderOptions; |
| 47 class CPDF_ViewerPreferences; | |
| 48 class CXML_Element; | 47 class CXML_Element; |
| 49 class IPDF_FormNotify; | 48 class IPDF_FormNotify; |
| 50 | 49 |
| 51 enum class BorderStyle { SOLID, DASH, BEVELED, INSET, UNDERLINE }; | 50 enum class BorderStyle { SOLID, DASH, BEVELED, INSET, UNDERLINE }; |
| 52 | 51 |
| 53 class CPDF_NameTree { | 52 class CPDF_NameTree { |
| 54 public: | 53 public: |
| 55 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} | 54 explicit CPDF_NameTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} |
| 56 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteString& category); | 55 CPDF_NameTree(CPDF_Document* pDoc, const CFX_ByteString& category); |
| 57 | 56 |
| (...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 explicit CPDF_ViewerPreferences(CPDF_Document* pDoc); | 891 explicit CPDF_ViewerPreferences(CPDF_Document* pDoc); |
| 893 ~CPDF_ViewerPreferences(); | 892 ~CPDF_ViewerPreferences(); |
| 894 | 893 |
| 895 FX_BOOL IsDirectionR2L() const; | 894 FX_BOOL IsDirectionR2L() const; |
| 896 FX_BOOL PrintScaling() const; | 895 FX_BOOL PrintScaling() const; |
| 897 int32_t NumCopies() const; | 896 int32_t NumCopies() const; |
| 898 CPDF_Array* PrintPageRange() const; | 897 CPDF_Array* PrintPageRange() const; |
| 899 CFX_ByteString Duplex() const; | 898 CFX_ByteString Duplex() const; |
| 900 | 899 |
| 901 protected: | 900 protected: |
| 901 CPDF_Dictionary* GetViewerPreferences() const; |
| 902 |
| 902 CPDF_Document* const m_pDoc; | 903 CPDF_Document* const m_pDoc; |
| 903 }; | 904 }; |
| 904 | 905 |
| 905 class CPDF_ApSettings { | 906 class CPDF_ApSettings { |
| 906 public: | 907 public: |
| 907 explicit CPDF_ApSettings(CPDF_Dictionary* pDict); | 908 explicit CPDF_ApSettings(CPDF_Dictionary* pDict); |
| 908 | 909 |
| 909 bool HasMKEntry(const CFX_ByteString& csEntry) const; | 910 bool HasMKEntry(const CFX_ByteString& csEntry) const; |
| 910 int GetRotation() const; | 911 int GetRotation() const; |
| 911 | 912 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; | 955 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; |
| 955 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; | 956 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; |
| 956 | 957 |
| 957 CPDF_Dictionary* const m_pDict; | 958 CPDF_Dictionary* const m_pDict; |
| 958 }; | 959 }; |
| 959 | 960 |
| 960 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, | 961 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, |
| 961 CPDF_Annot::AppearanceMode mode); | 962 CPDF_Annot::AppearanceMode mode); |
| 962 | 963 |
| 963 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ | 964 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ |
| OLD | NEW |