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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1144 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1140 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
1145 | 1141 |
1146 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1142 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
1147 | 1143 |
1148 CPDF_Dictionary* const m_pDict; | 1144 CPDF_Dictionary* const m_pDict; |
1149 }; | 1145 }; |
1150 | 1146 |
1151 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1147 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
1152 | 1148 |
1153 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1149 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
OLD | NEW |