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

Side by Side Diff: xfa/fxfa/include/fxfa.h

Issue 2328573002: Split CPDFXFA_Document apart (Closed)
Patch Set: Fix merge Created 4 years, 3 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 | « xfa/fxfa/app/xfa_fwladapter.cpp ('k') | xfa/fxfa/include/xfa_ffapp.h » ('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 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>
11 11
12 #include "xfa/fxfa/include/fxfa_basic.h" 12 #include "xfa/fxfa/include/fxfa_basic.h"
13 #include "xfa/fxfa/include/fxfa_widget.h" 13 #include "xfa/fxfa/include/fxfa_widget.h"
14 14
15 class CFGAS_GEFont; 15 class CFGAS_GEFont;
16 class CFX_Graphics; 16 class CFX_Graphics;
17 class CPDF_Document; 17 class CPDF_Document;
18 class CXFA_FFPageView; 18 class CXFA_FFPageView;
19 class CXFA_Node; 19 class CXFA_Node;
20 class CXFA_NodeList; 20 class CXFA_NodeList;
21 class CXFA_WidgetAcc; 21 class CXFA_WidgetAcc;
22 class IFWL_AdapterTimerMgr; 22 class IFWL_AdapterTimerMgr;
23 class IXFA_AppProvider; 23 class IXFA_AppProvider;
24 class IXFA_DocProvider; 24 class IXFA_DocEnvironment;
25 class IXFA_WidgetAccIterator; 25 class IXFA_WidgetAccIterator;
26 class IXFA_WidgetIterator; 26 class IXFA_WidgetIterator;
27 27
28 #define XFA_MBICON_Error 0 28 #define XFA_MBICON_Error 0
29 #define XFA_MBICON_Warning 1 29 #define XFA_MBICON_Warning 1
30 #define XFA_MBICON_Question 2 30 #define XFA_MBICON_Question 2
31 #define XFA_MBICON_Status 3 31 #define XFA_MBICON_Status 3
32 #define XFA_MB_OK 0 32 #define XFA_MB_OK 0
33 #define XFA_MB_OKCancel 1 33 #define XFA_MB_OKCancel 1
34 #define XFA_MB_YesNo 2 34 #define XFA_MB_YesNo 2
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 * @return TRUE Server permitted the post request, FALSE otherwise. 284 * @return TRUE Server permitted the post request, FALSE otherwise.
285 */ 285 */
286 virtual FX_BOOL PutRequestURL(const CFX_WideString& wsURL, 286 virtual FX_BOOL PutRequestURL(const CFX_WideString& wsURL,
287 const CFX_WideString& wsData, 287 const CFX_WideString& wsData,
288 const CFX_WideString& wsEncode) = 0; 288 const CFX_WideString& wsEncode) = 0;
289 289
290 virtual void LoadString(int32_t iStringID, CFX_WideString& wsString) = 0; 290 virtual void LoadString(int32_t iStringID, CFX_WideString& wsString) = 0;
291 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; 291 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0;
292 }; 292 };
293 293
294 class IXFA_DocProvider { 294 class IXFA_DocEnvironment {
295 public: 295 public:
296 virtual ~IXFA_DocProvider() {} 296 virtual ~IXFA_DocEnvironment() {}
297 297
298 virtual void SetChangeMark(CXFA_FFDoc* hDoc) = 0; 298 virtual void SetChangeMark(CXFA_FFDoc* hDoc) = 0;
299 virtual void InvalidateRect(CXFA_FFPageView* pPageView, 299 virtual void InvalidateRect(CXFA_FFPageView* pPageView,
300 const CFX_RectF& rt, 300 const CFX_RectF& rt,
301 uint32_t dwFlags) = 0; 301 uint32_t dwFlags) = 0;
302 virtual void DisplayCaret(CXFA_FFWidget* hWidget, 302 virtual void DisplayCaret(CXFA_FFWidget* hWidget,
303 FX_BOOL bVisible, 303 FX_BOOL bVisible,
304 const CFX_RectF* pRtAnchor) = 0; 304 const CFX_RectF* pRtAnchor) = 0;
305 virtual FX_BOOL GetPopupPos(CXFA_FFWidget* hWidget, 305 virtual FX_BOOL GetPopupPos(CXFA_FFWidget* hWidget,
306 FX_FLOAT fMinPopup, 306 FX_FLOAT fMinPopup,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 virtual void Reset() = 0; 354 virtual void Reset() = 0;
355 virtual CXFA_FFWidget* MoveToFirst() = 0; 355 virtual CXFA_FFWidget* MoveToFirst() = 0;
356 virtual CXFA_FFWidget* MoveToLast() = 0; 356 virtual CXFA_FFWidget* MoveToLast() = 0;
357 virtual CXFA_FFWidget* MoveToNext() = 0; 357 virtual CXFA_FFWidget* MoveToNext() = 0;
358 virtual CXFA_FFWidget* MoveToPrevious() = 0; 358 virtual CXFA_FFWidget* MoveToPrevious() = 0;
359 virtual CXFA_FFWidget* GetCurrentWidget() = 0; 359 virtual CXFA_FFWidget* GetCurrentWidget() = 0;
360 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; 360 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0;
361 }; 361 };
362 362
363 #endif // XFA_FXFA_INCLUDE_FXFA_H_ 363 #endif // XFA_FXFA_INCLUDE_FXFA_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwladapter.cpp ('k') | xfa/fxfa/include/xfa_ffapp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698