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 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1640 | 1640 |
1641 CXML_Element* GetRDF() const; | 1641 CXML_Element* GetRDF() const; |
1642 | 1642 |
1643 protected: | 1643 protected: |
1644 FX_LPVOID m_pData; | 1644 FX_LPVOID m_pData; |
1645 }; | 1645 }; |
1646 class CPDF_ViewerPreferences | 1646 class CPDF_ViewerPreferences |
1647 { | 1647 { |
1648 public: | 1648 public: |
1649 | 1649 |
1650 enum DuplexType { | |
Vitaly Buka (NO REVIEWS)
2014/06/25 18:02:24
Maybe?
None -> DuplexUndefined
Simplex -> DuplexOf
Nikhil
2014/06/26 10:21:38
Done.
| |
1651 None = 0, | |
1652 Simplex, | |
1653 DuplexFlipShortEdge, | |
1654 DuplexFlipLongEdge | |
1655 }; | |
1656 | |
1650 CPDF_ViewerPreferences(CPDF_Document *pDoc); | 1657 CPDF_ViewerPreferences(CPDF_Document *pDoc); |
1651 | 1658 |
1652 | 1659 |
1653 ~CPDF_ViewerPreferences(); | 1660 ~CPDF_ViewerPreferences(); |
1654 | 1661 |
1655 | 1662 |
1656 FX_BOOL IsDirectionR2L() const; | 1663 FX_BOOL IsDirectionR2L() const; |
1657 | 1664 |
1658 FX_BOOL PrintScaling() const; | 1665 FX_BOOL PrintScaling() const; |
1659 | 1666 |
1667 FX_INT32 NumCopies() const; | |
1668 | |
1669 CPDF_Array* PrintPageRange() const; | |
1670 | |
1671 FX_INT32 Duplex() const; | |
Vitaly Buka (NO REVIEWS)
2014/06/25 18:02:24
this should return DuplexType
Nikhil
2014/06/26 10:21:38
Done.
| |
1660 | 1672 |
1661 protected: | 1673 protected: |
1662 CPDF_Document* m_pDoc; | 1674 CPDF_Document* m_pDoc; |
1663 }; | 1675 }; |
1664 class CPDF_ApSettings : public CFX_Object | 1676 class CPDF_ApSettings : public CFX_Object |
1665 { | 1677 { |
1666 public: | 1678 public: |
1667 | 1679 |
1668 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) | 1680 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) |
1669 { | 1681 { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1783 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try); | 1795 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try); |
1784 | 1796 |
1785 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry); | 1797 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry); |
1786 | 1798 |
1787 CFX_WideString GetCaption(FX_BSTR csEntry); | 1799 CFX_WideString GetCaption(FX_BSTR csEntry); |
1788 | 1800 |
1789 CPDF_Stream* GetIcon(FX_BSTR csEntry); | 1801 CPDF_Stream* GetIcon(FX_BSTR csEntry); |
1790 friend class CPDF_FormControl; | 1802 friend class CPDF_FormControl; |
1791 }; | 1803 }; |
1792 #endif | 1804 #endif |
OLD | NEW |