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 XFA_FXFA_INCLUDE_FXFA_H_ | 7 #ifndef XFA_FXFA_INCLUDE_FXFA_H_ |
8 #define XFA_FXFA_INCLUDE_FXFA_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 virtual void GetURL(CXFA_FFDoc* hDoc, CFX_WideString& wsDocURL) = 0; | 463 virtual void GetURL(CXFA_FFDoc* hDoc, CFX_WideString& wsDocURL) = 0; |
464 virtual FX_ARGB GetHighlightColor(CXFA_FFDoc* hDoc) = 0; | 464 virtual FX_ARGB GetHighlightColor(CXFA_FFDoc* hDoc) = 0; |
465 | 465 |
466 virtual FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) = 0; | 466 virtual FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) = 0; |
467 virtual FX_BOOL CheckWord(CXFA_FFDoc* hDoc, const CFX_ByteStringC& sWord) = 0; | 467 virtual FX_BOOL CheckWord(CXFA_FFDoc* hDoc, const CFX_ByteStringC& sWord) = 0; |
468 virtual FX_BOOL GetSuggestWords(CXFA_FFDoc* hDoc, | 468 virtual FX_BOOL GetSuggestWords(CXFA_FFDoc* hDoc, |
469 const CFX_ByteStringC& sWord, | 469 const CFX_ByteStringC& sWord, |
470 std::vector<CFX_ByteString>& sSuggest) = 0; | 470 std::vector<CFX_ByteString>& sSuggest) = 0; |
471 virtual FX_BOOL GetPDFScriptObject(CXFA_FFDoc* hDoc, | 471 virtual FX_BOOL GetPDFScriptObject(CXFA_FFDoc* hDoc, |
472 const CFX_ByteStringC& utf8Name, | 472 const CFX_ByteStringC& utf8Name, |
473 FXJSE_HVALUE hValue) = 0; | 473 CFXJSE_Value* pValue) = 0; |
474 virtual FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc, | 474 virtual FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc, |
475 const CFX_ByteStringC& szPropName, | 475 const CFX_ByteStringC& szPropName, |
476 FXJSE_HVALUE hValue) = 0; | 476 CFXJSE_Value* pValue) = 0; |
477 virtual FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc, | 477 virtual FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc, |
478 const CFX_ByteStringC& szPropName, | 478 const CFX_ByteStringC& szPropName, |
479 FXJSE_HVALUE hValue) = 0; | 479 CFXJSE_Value* pValue) = 0; |
480 virtual CPDF_Document* OpenPDF(CXFA_FFDoc* hDoc, | 480 virtual CPDF_Document* OpenPDF(CXFA_FFDoc* hDoc, |
481 IFX_FileRead* pFile, | 481 IFX_FileRead* pFile, |
482 FX_BOOL bTakeOverFile) = 0; | 482 FX_BOOL bTakeOverFile) = 0; |
483 virtual IFX_FileRead* OpenLinkedFile(CXFA_FFDoc* hDoc, | 483 virtual IFX_FileRead* OpenLinkedFile(CXFA_FFDoc* hDoc, |
484 const CFX_WideString& wsLink) = 0; | 484 const CFX_WideString& wsLink) = 0; |
485 }; | 485 }; |
486 | 486 |
487 class CXFA_EventParam { | 487 class CXFA_EventParam { |
488 public: | 488 public: |
489 CXFA_EventParam() { | 489 CXFA_EventParam() { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 virtual void Reset() = 0; | 548 virtual void Reset() = 0; |
549 virtual CXFA_FFWidget* MoveToFirst() = 0; | 549 virtual CXFA_FFWidget* MoveToFirst() = 0; |
550 virtual CXFA_FFWidget* MoveToLast() = 0; | 550 virtual CXFA_FFWidget* MoveToLast() = 0; |
551 virtual CXFA_FFWidget* MoveToNext() = 0; | 551 virtual CXFA_FFWidget* MoveToNext() = 0; |
552 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 552 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
553 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 553 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
554 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 554 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
555 }; | 555 }; |
556 | 556 |
557 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 557 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
OLD | NEW |