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 | |
Nikhil
2014/07/08 07:54:37
Empty line got added by mistake so I removed it.
| |
1650 CPDF_ViewerPreferences(CPDF_Document *pDoc); | 1651 CPDF_ViewerPreferences(CPDF_Document *pDoc); |
1651 | 1652 |
1652 | 1653 |
1653 ~CPDF_ViewerPreferences(); | 1654 ~CPDF_ViewerPreferences(); |
1654 | 1655 |
1655 | 1656 |
1656 FX_BOOL IsDirectionR2L() const; | 1657 FX_BOOL IsDirectionR2L() const; |
1657 | 1658 |
1658 FX_BOOL PrintScaling() const; | 1659 FX_BOOL PrintScaling() const; |
1659 | 1660 |
1661 FX_INT32 NumCopies() const; | |
1662 | |
1663 CPDF_Array* PrintPageRange() const; | |
1664 | |
1665 CFX_ByteString Duplex() const; | |
1660 | 1666 |
1661 protected: | 1667 protected: |
1662 CPDF_Document* m_pDoc; | 1668 CPDF_Document* m_pDoc; |
1663 }; | 1669 }; |
1664 class CPDF_ApSettings : public CFX_Object | 1670 class CPDF_ApSettings : public CFX_Object |
1665 { | 1671 { |
1666 public: | 1672 public: |
1667 | 1673 |
1668 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) | 1674 CPDF_ApSettings(CPDF_Dictionary* pDict = NULL) |
1669 { | 1675 { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1783 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try); | 1789 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try); |
1784 | 1790 |
1785 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry); | 1791 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry); |
1786 | 1792 |
1787 CFX_WideString GetCaption(FX_BSTR csEntry); | 1793 CFX_WideString GetCaption(FX_BSTR csEntry); |
1788 | 1794 |
1789 CPDF_Stream* GetIcon(FX_BSTR csEntry); | 1795 CPDF_Stream* GetIcon(FX_BSTR csEntry); |
1790 friend class CPDF_FormControl; | 1796 friend class CPDF_FormControl; |
1791 }; | 1797 }; |
1792 #endif | 1798 #endif |
OLD | NEW |