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 _FPDF_DOC_H_ | 7 #ifndef _FPDF_DOC_H_ |
8 #define _FPDF_DOC_H_ | 8 #define _FPDF_DOC_H_ |
9 #ifndef _FPDF_PARSER_ | 9 #ifndef _FPDF_PARSER_ |
10 #include "../fpdfapi/fpdf_parser.h" | 10 #include "../fpdfapi/fpdf_parser.h" |
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1650 CPDF_ViewerPreferences(CPDF_Document *pDoc); | 1650 CPDF_ViewerPreferences(CPDF_Document *pDoc); |
1651 | 1651 |
1652 | 1652 |
1653 ~CPDF_ViewerPreferences(); | 1653 ~CPDF_ViewerPreferences(); |
1654 | 1654 |
1655 | 1655 |
1656 FX_BOOL IsDirectionR2L() const; | 1656 FX_BOOL IsDirectionR2L() const; |
1657 | 1657 |
1658 FX_BOOL PrintScaling() const; | 1658 FX_BOOL PrintScaling() const; |
1659 | 1659 |
| 1660 FX_INT32 NumCopies() const; |
| 1661 |
| 1662 CPDF_Array* PrintPageRange() const; |
| 1663 |
| 1664 CFX_ByteString Duplex() const; |
1660 | 1665 |
1661 protected: | 1666 protected: |
1662 CPDF_Document* m_pDoc; | 1667 CPDF_Document* m_pDoc; |
1663 }; | 1668 }; |
1664 class CPDF_ApSettings : public CFX_Object | 1669 class CPDF_ApSettings : public CFX_Object |
1665 { | 1670 { |
1666 public: | 1671 public: |
1667 | 1672 |
1668 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) | 1673 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) |
1669 { | 1674 { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1783 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn
try); | 1788 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn
try); |
1784 | 1789 |
1785 void GetOriginalColor(int& iColorType
, FX_FLOAT fc[4], FX_BSTR csEntry); | 1790 void GetOriginalColor(int& iColorType
, FX_FLOAT fc[4], FX_BSTR csEntry); |
1786 | 1791 |
1787 CFX_WideString GetCaption(FX_BSTR csEntry); | 1792 CFX_WideString GetCaption(FX_BSTR csEntry); |
1788 | 1793 |
1789 CPDF_Stream* GetIcon(FX_BSTR csEntry); | 1794 CPDF_Stream* GetIcon(FX_BSTR csEntry); |
1790 friend class CPDF_FormControl; | 1795 friend class CPDF_FormControl; |
1791 }; | 1796 }; |
1792 #endif | 1797 #endif |
OLD | NEW |