| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 SaveDocument, | 291 SaveDocument, |
| 292 DocumentSaved, | 292 DocumentSaved, |
| 293 PrintDocument, | 293 PrintDocument, |
| 294 DocumentPrinted | 294 DocumentPrinted |
| 295 }; | 295 }; |
| 296 | 296 |
| 297 FX_BOOL ActionExist(AActionType eType) const; | 297 FX_BOOL ActionExist(AActionType eType) const; |
| 298 | 298 |
| 299 CPDF_Action GetAction(AActionType eType) const; | 299 CPDF_Action GetAction(AActionType eType) const; |
| 300 | 300 |
| 301 FX_POSITION GetStartPos() const; | |
| 302 | |
| 303 CPDF_Action GetNextAction(FX_POSITION& pos, AActionType& eType) const; | |
| 304 | |
| 305 CPDF_Dictionary* m_pDict; | 301 CPDF_Dictionary* m_pDict; |
| 306 }; | 302 }; |
| 307 class CPDF_DocJSActions { | 303 class CPDF_DocJSActions { |
| 308 public: | 304 public: |
| 309 explicit CPDF_DocJSActions(CPDF_Document* pDoc); | 305 explicit CPDF_DocJSActions(CPDF_Document* pDoc); |
| 310 | 306 |
| 311 int CountJSActions() const; | 307 int CountJSActions() const; |
| 312 | 308 |
| 313 CPDF_Action GetJSAction(int index, CFX_ByteString& csName) const; | 309 CPDF_Action GetJSAction(int index, CFX_ByteString& csName) const; |
| 314 | 310 |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1148 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
| 1153 | 1149 |
| 1154 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1150 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
| 1155 | 1151 |
| 1156 CPDF_Dictionary* const m_pDict; | 1152 CPDF_Dictionary* const m_pDict; |
| 1157 }; | 1153 }; |
| 1158 | 1154 |
| 1159 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1155 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
| 1160 | 1156 |
| 1161 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1157 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| OLD | NEW |