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 _FPDFXFA_UTIL_H_ | 7 #ifndef _FPDFXFA_UTIL_H_ |
8 #define _FPDFXFA_UTIL_H_ | 8 #define _FPDFXFA_UTIL_H_ |
9 | 9 |
10 #define DOCTYPE_PDF 0 | |
11 #define DOCTYPE_DYNIMIC_XFA 1 //Dynimic xfa Document Type | |
12 #define DOCTYPE_STATIC_XFA 2 //Static xfa Document Type | |
13 | |
14 #define JS_STR_VIEWERTYPE_STANDARD L"Exchange" | 10 #define JS_STR_VIEWERTYPE_STANDARD L"Exchange" |
15 #define JS_STR_LANGUANGE L"ENU" | 11 #define JS_STR_LANGUANGE L"ENU" |
16 #define JS_STR_VIEWERVARIATION L"Full" | 12 #define JS_STR_VIEWERVARIATION L"Full" |
17 #define JS_STR_VIEWERVERSION_XFA L"11" | 13 #define JS_STR_VIEWERVERSION_XFA L"11" |
18 | 14 |
19 FX_BOOL FPDF_HasXFAField(CPDF_Document* pPDFDoc, int& docType); | |
20 | |
21 class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr, public CFX_Object | 15 class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr, public CFX_Object |
22 { | 16 { |
23 public: | 17 public: |
24 CXFA_FWLAdapterTimerMgr(CPDFDoc_Environment* pEnv) : m_pEnv(pEnv) | 18 CXFA_FWLAdapterTimerMgr(CPDFDoc_Environment* pEnv) : m_pEnv(pEnv) |
25 { | 19 { |
26 | 20 |
27 } | 21 } |
28 virtual FWL_ERR Start(IFWL_Timer *pTimer, FX_DWORD dwElapse, FWL
_HTIMER &hTimer, FX_BOOL bImmediately = TRUE); | 22 virtual FWL_ERR Start(IFWL_Timer *pTimer, FX_DWORD dwElapse, FWL
_HTIMER &hTimer, FX_BOOL bImmediately = TRUE); |
29 virtual FWL_ERR Stop(FWL_HTIMER hTimer); | 23 virtual FWL_ERR Stop(FWL_HTIMER hTimer); |
30 | 24 |
(...skipping 10 matching lines...) Expand all Loading... |
41 CFWL_TimerInfo() | 35 CFWL_TimerInfo() |
42 : pTimer(NULL) | 36 : pTimer(NULL) |
43 { | 37 { |
44 | 38 |
45 } | 39 } |
46 FX_UINT32 uIDEvent; | 40 FX_UINT32 uIDEvent; |
47 IFWL_Timer *pTimer; | 41 IFWL_Timer *pTimer; |
48 }; | 42 }; |
49 | 43 |
50 #endif | 44 #endif |
OLD | NEW |