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 FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ | 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ |
8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ | 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // LayoutPseudo method | 107 // LayoutPseudo method |
108 virtual int32_t AbsPageCountInBatch(IXFA_Doc* hDoc) { return 0; } | 108 virtual int32_t AbsPageCountInBatch(IXFA_Doc* hDoc) { return 0; } |
109 virtual int32_t AbsPageInBatch(IXFA_Doc* hDoc, IXFA_Widget* hWidget) { | 109 virtual int32_t AbsPageInBatch(IXFA_Doc* hDoc, IXFA_Widget* hWidget) { |
110 return 0; | 110 return 0; |
111 } | 111 } |
112 virtual int32_t SheetCountInBatch(IXFA_Doc* hDoc) { return 0; } | 112 virtual int32_t SheetCountInBatch(IXFA_Doc* hDoc) { return 0; } |
113 virtual int32_t SheetInBatch(IXFA_Doc* hDoc, IXFA_Widget* hWidget) { | 113 virtual int32_t SheetInBatch(IXFA_Doc* hDoc, IXFA_Widget* hWidget) { |
114 return 0; | 114 return 0; |
115 } | 115 } |
116 | 116 |
117 // SignaturePseudoModel method | 117 virtual int32_t Verify(IXFA_Doc* hDoc, |
118 // TODO: | 118 CXFA_Node* pSigNode, |
119 virtual int32_t Verify( | 119 FX_BOOL bUsed = TRUE) { |
120 IXFA_Doc* hDoc, | |
121 CXFA_Node* pSigNode, | |
122 FX_BOOL | |
123 bUsed = TRUE /*, SecurityHandler* pHandler, SignatureInfo &info*/) { | |
124 return 0; | 120 return 0; |
125 } | 121 } |
126 virtual FX_BOOL Sign( | 122 virtual FX_BOOL Sign(IXFA_Doc* hDoc, |
127 IXFA_Doc* hDoc, | 123 CXFA_NodeList* pNodeList, |
128 CXFA_NodeList* pNodeList, | 124 const CFX_WideStringC& wsExpression, |
129 const CFX_WideStringC& wsExpression, | 125 const CFX_WideStringC& wsXMLIdent, |
130 const CFX_WideStringC& wsXMLIdent, | 126 const CFX_WideStringC& wsValue = FX_WSTRC(L"open"), |
131 const CFX_WideStringC& wsValue = FX_WSTRC(L"open"), | 127 FX_BOOL bUsed = TRUE) { |
132 FX_BOOL | |
133 bUsed = TRUE /*, SecurityHandler* pHandler = NULL, SignatureInfo &info
*/) { | |
134 return 0; | 128 return 0; |
135 } | 129 } |
136 virtual CXFA_NodeList* Enumerate(IXFA_Doc* hDoc) { return 0; } | 130 virtual CXFA_NodeList* Enumerate(IXFA_Doc* hDoc) { return 0; } |
137 virtual FX_BOOL Clear(IXFA_Doc* hDoc, | 131 virtual FX_BOOL Clear(IXFA_Doc* hDoc, |
138 CXFA_Node* pSigNode, | 132 CXFA_Node* pSigNode, |
139 FX_BOOL bCleared = TRUE) { | 133 FX_BOOL bCleared = TRUE) { |
140 return 0; | 134 return 0; |
141 } | 135 } |
142 | 136 |
143 // Get document path | 137 // Get document path |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 CPDF_Document* m_pPDFDoc; | 215 CPDF_Document* m_pPDFDoc; |
222 CPDFSDK_Document* m_pSDKDoc; | 216 CPDFSDK_Document* m_pSDKDoc; |
223 IXFA_Doc* m_pXFADoc; | 217 IXFA_Doc* m_pXFADoc; |
224 IXFA_DocView* m_pXFADocView; | 218 IXFA_DocView* m_pXFADocView; |
225 CPDFXFA_App* m_pApp; | 219 CPDFXFA_App* m_pApp; |
226 IJS_Context* m_pJSContext; | 220 IJS_Context* m_pJSContext; |
227 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; | 221 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; |
228 }; | 222 }; |
229 | 223 |
230 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ | 224 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_DOC_H_ |
OLD | NEW |