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

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

Issue 1377853004: XFA: Remove test for new. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: nit Created 5 years, 2 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 | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | xfa/src/fdp/src/css/fde_cssstylesheet.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 _FXFA_WIDGET_H 7 #ifndef _FXFA_WIDGET_H
8 #define _FXFA_WIDGET_H 8 #define _FXFA_WIDGET_H
9 class CXFA_Node; 9 class CXFA_Node;
10 class CXFA_FFDocView; 10 class CXFA_FFDocView;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 int32_t ProcessCalculate(); 45 int32_t ProcessCalculate();
46 int32_t ProcessValidate(int32_t iFlags = 0); 46 int32_t ProcessValidate(int32_t iFlags = 0);
47 int32_t ExecuteScript(CXFA_Script script, 47 int32_t ExecuteScript(CXFA_Script script,
48 CXFA_EventParam* pEventParam, 48 CXFA_EventParam* pEventParam,
49 FXJSE_HVALUE* pRetValue = NULL); 49 FXJSE_HVALUE* pRetValue = NULL);
50 50
51 CXFA_FFWidget* GetNextWidget(CXFA_FFWidget* pWidget); 51 CXFA_FFWidget* GetNextWidget(CXFA_FFWidget* pWidget);
52 void StartWidgetLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); 52 void StartWidgetLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
53 FX_BOOL FindSplitPos(int32_t iBlockIndex, FX_FLOAT& fCalcHeight); 53 FX_BOOL FindSplitPos(int32_t iBlockIndex, FX_FLOAT& fCalcHeight);
54 FX_BOOL LoadCaption(); 54 FX_BOOL LoadCaption();
55 FX_BOOL LoadText(); 55 void LoadText();
56 FX_BOOL LoadImageImage(); 56 FX_BOOL LoadImageImage();
57 FX_BOOL LoadImageEditImage(); 57 FX_BOOL LoadImageEditImage();
58 void GetImageDpi(int32_t& iImageXDpi, int32_t& iImageYDpi); 58 void GetImageDpi(int32_t& iImageXDpi, int32_t& iImageYDpi);
59 void GetImageEditDpi(int32_t& iImageXDpi, int32_t& iImageYDpi); 59 void GetImageEditDpi(int32_t& iImageXDpi, int32_t& iImageYDpi);
60 CXFA_TextLayout* GetCaptionTextLayout(); 60 CXFA_TextLayout* GetCaptionTextLayout();
61 CXFA_TextLayout* GetTextLayout(); 61 CXFA_TextLayout* GetTextLayout();
62 CFX_DIBitmap* GetImageImage(); 62 CFX_DIBitmap* GetImageImage();
63 CFX_DIBitmap* GetImageEditImage(); 63 CFX_DIBitmap* GetImageEditImage();
64 void SetImageImage(CFX_DIBitmap* newImage); 64 void SetImageImage(CFX_DIBitmap* newImage);
65 void SetImageEditImage(CFX_DIBitmap* newImage); 65 void SetImageEditImage(CFX_DIBitmap* newImage);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void CalculateTextContentSize(CFX_SizeF& size); 108 void CalculateTextContentSize(CFX_SizeF& size);
109 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, 109 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType,
110 FX_FLOAT& fWidth, 110 FX_FLOAT& fWidth,
111 FX_FLOAT& fCalcHeight); 111 FX_FLOAT& fCalcHeight);
112 void InitLayoutData(); 112 void InitLayoutData();
113 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); 113 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
114 CXFA_FFDocView* m_pDocView; 114 CXFA_FFDocView* m_pDocView;
115 CXFA_WidgetLayoutData* m_pLayoutData; 115 CXFA_WidgetLayoutData* m_pLayoutData;
116 }; 116 };
117 #endif 117 #endif
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp ('k') | xfa/src/fdp/src/css/fde_cssstylesheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698