Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Side by Side Diff: fpdfsdk/include/javascript/Document.h

Issue 1244023004: Merge to XFA: document.delay and document.external are boolean properties. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: whitespace Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | fpdfsdk/src/javascript/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_JAVASCRIPT_DOCUMENT_H_ 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_ 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
9 9
10 #include "JS_Define.h" 10 #include "JS_Define.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 CFX_WideString CutString(CFX_WideString cbFrom) ; 176 CFX_WideString CutString(CFX_WideString cbFrom) ;
177 bool IsEnclosedInRect(CFX_FloatRect r ect, CFX_FloatRect LinkRect); 177 bool IsEnclosedInRect(CFX_FloatRect r ect, CFX_FloatRect LinkRect);
178 int CountWords(CPDF_TextObject* pTex tObj); 178 int CountWords(CPDF_TextObject* pTex tObj);
179 CFX_WideString GetObjWordStr(CPDF_TextObject* p TextObj, int nWordIndex); 179 CFX_WideString GetObjWordStr(CPDF_TextObject* p TextObj, int nWordIndex);
180 FX_BOOL ParserParams(JSObject *pObj,CJS_ AnnotObj& annotobj); 180 FX_BOOL ParserParams(JSObject *pObj,CJS_ AnnotObj& annotobj);
181 181
182 v8::Isolate* m_isolate; 182 v8::Isolate* m_isolate;
183 IconTree* m_pIconTree; 183 IconTree* m_pIconTree;
184 CPDFSDK_Document* m_pDocument; 184 CPDFSDK_Document* m_pDocument;
185 CFX_WideString m_cwBaseURL; 185 CFX_WideString m_cwBaseURL;
186 » FX_BOOL m_bDelay; 186 » bool m_bDelay;
187 CFX_ArrayTemplate<CJS_DelayData*> m_DelayData; 187 CFX_ArrayTemplate<CJS_DelayData*> m_DelayData;
188 CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData; 188 CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData;
189 }; 189 };
190 190
191 class CJS_Document : public CJS_Object 191 class CJS_Document : public CJS_Object
192 { 192 {
193 public: 193 public:
194 CJS_Document(JSFXObject pObject) : CJS_Object(pObject) {}; 194 CJS_Document(JSFXObject pObject) : CJS_Object(pObject) {};
195 virtual ~CJS_Document(){}; 195 virtual ~CJS_Document(){};
196 196
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 JS_STATIC_METHOD(removeField, Document); 266 JS_STATIC_METHOD(removeField, Document);
267 JS_STATIC_METHOD(replacePages, Document); 267 JS_STATIC_METHOD(replacePages, Document);
268 JS_STATIC_METHOD(removeIcon, Document); 268 JS_STATIC_METHOD(removeIcon, Document);
269 JS_STATIC_METHOD(resetForm, Document); 269 JS_STATIC_METHOD(resetForm, Document);
270 JS_STATIC_METHOD(saveAs, Document); 270 JS_STATIC_METHOD(saveAs, Document);
271 JS_STATIC_METHOD(submitForm, Document); 271 JS_STATIC_METHOD(submitForm, Document);
272 JS_STATIC_METHOD(mailDoc, Document); 272 JS_STATIC_METHOD(mailDoc, Document);
273 }; 273 };
274 274
275 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_ 275 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/src/javascript/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698