Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_ffwidget.h
Go to the documentation of this file.
1// Copyright 2014 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef XFA_FXFA_CXFA_FFWIDGET_H_
8#define XFA_FXFA_CXFA_FFWIDGET_H_
9
10#include <stdint.h>
11
12#include "core/fpdfdoc/cpdf_formfield.h"
13#include "core/fxcodec/fx_codec_def.h"
14#include "core/fxcrt/mask.h"
15#include "core/fxcrt/retain_ptr.h"
16#include "core/fxge/cfx_graphstatedata.h"
17#include "fxjs/gc/heap.h"
18#include "v8/include/cppgc/garbage-collected.h"
19#include "v8/include/cppgc/visitor.h"
20#include "xfa/fwl/cfwl_app.h"
21#include "xfa/fwl/cfwl_messagemouse.h"
22#include "xfa/fwl/cfwl_widget.h"
23#include "xfa/fwl/fwl_widgetdef.h"
24#include "xfa/fxfa/cxfa_eventparam.h"
25#include "xfa/fxfa/cxfa_ffapp.h"
26#include "xfa/fxfa/fxfa.h"
27#include "xfa/fxfa/layout/cxfa_contentlayoutitem.h"
28
30class CFX_DIBitmap;
31class CXFA_Box;
32class CXFA_FFApp;
33class CXFA_FFDoc;
34class CXFA_FFDocView;
35class CXFA_FFField;
36class CXFA_FFPageView;
37class CXFA_FFWidgetHandler;
38class CXFA_Margin;
40enum class FWL_WidgetHit;
41
42inline float XFA_UnitPx2Pt(float fPx, float fDpi) {
43 return fPx * 72.0f / fDpi;
44}
45
46constexpr float kXFAWidgetPrecision = 0.001f;
47
49 const CFX_RectF& rtImage,
50 const CFX_Matrix& matrix,
51 RetainPtr<CFX_DIBitmap> pDIBitmap,
52 XFA_AttributeValue iAspect,
53 const CFX_Size& dpi,
54 XFA_AttributeValue iHorzAlign,
55 XFA_AttributeValue iVertAlign);
56
58 RetainPtr<IFX_SeekableReadStream> pImageFileRead,
59 FXCODEC_IMAGE_TYPE type,
60 int32_t& iImageXDpi,
61 int32_t& iImageYDpi);
62
63void XFA_RectWithoutMargin(CFX_RectF* rt, const CXFA_Margin* margin);
64
67 public:
70
72 public:
73 virtual ~IteratorIface() = default;
74
75 virtual CXFA_FFWidget* MoveToFirst() = 0;
76 virtual CXFA_FFWidget* MoveToLast() = 0;
77 virtual CXFA_FFWidget* MoveToNext() = 0;
80 virtual bool SetCurrentWidget(CXFA_FFWidget* hWidget) = 0;
81 };
82
83 static CXFA_FFWidget* FromLayoutItem(CXFA_LayoutItem* pLayoutItem);
84
86 ~CXFA_FFWidget() override;
87
88 void Trace(cppgc::Visitor* visitor) const override;
89
90 // CFWL_Widget::AdapterIface:
91 CFX_Matrix GetRotateMatrix() override;
92 void DisplayCaret(bool bVisible, const CFX_RectF* pRtAnchor) override;
93 void GetBorderColorAndThickness(FX_ARGB* cr, float* fWidth) override;
94
95 virtual CXFA_FFField* AsField();
96 virtual CFX_RectF GetBBox(FocusOption focus);
97 virtual void RenderWidget(CFGAS_GEGraphics* pGS,
98 const CFX_Matrix& matrix,
99 HighlightOption highlight);
100 virtual bool IsLoaded();
101 virtual bool LoadWidget();
102 virtual bool PerformLayout();
103 virtual bool UpdateFWLData();
104 virtual void UpdateWidgetProperty();
105 // |command| must be LeftButtonDown or RightButtonDown.
106 virtual bool AcceptsFocusOnButtonDown(
107 Mask<XFA_FWL_KeyFlag> dwFlags,
108 const CFX_PointF& point,
109 CFWL_MessageMouse::MouseCommand command);
110
111 // Caution: Returning false from an On* method may mean |this| is destroyed.
112 [[nodiscard]] virtual bool OnMouseEnter();
113 [[nodiscard]] virtual bool OnMouseExit();
114 [[nodiscard]] virtual bool OnLButtonDown(Mask<XFA_FWL_KeyFlag> dwFlags,
115 const CFX_PointF& point);
116 [[nodiscard]] virtual bool OnLButtonUp(Mask<XFA_FWL_KeyFlag> dwFlags,
117 const CFX_PointF& point);
118 [[nodiscard]] virtual bool OnLButtonDblClk(Mask<XFA_FWL_KeyFlag> dwFlags,
119 const CFX_PointF& point);
120 [[nodiscard]] virtual bool OnMouseMove(Mask<XFA_FWL_KeyFlag> dwFlags,
121 const CFX_PointF& point);
122 [[nodiscard]] virtual bool OnMouseWheel(Mask<XFA_FWL_KeyFlag> dwFlags,
123 const CFX_PointF& point,
124 const CFX_Vector& delta);
125 [[nodiscard]] virtual bool OnRButtonDown(Mask<XFA_FWL_KeyFlag> dwFlags,
126 const CFX_PointF& point);
127 [[nodiscard]] virtual bool OnRButtonUp(Mask<XFA_FWL_KeyFlag> dwFlags,
128 const CFX_PointF& point);
129 [[nodiscard]] virtual bool OnRButtonDblClk(Mask<XFA_FWL_KeyFlag> dwFlags,
130 const CFX_PointF& point);
131 [[nodiscard]] virtual bool OnSetFocus(CXFA_FFWidget* pOldWidget);
132 [[nodiscard]] virtual bool OnKillFocus(CXFA_FFWidget* pNewWidget);
133 [[nodiscard]] virtual bool OnKeyDown(XFA_FWL_VKEYCODE dwKeyCode,
134 Mask<XFA_FWL_KeyFlag> dwFlags);
135 [[nodiscard]] virtual bool OnChar(uint32_t dwChar,
136 Mask<XFA_FWL_KeyFlag> dwFlags);
137
138 virtual FWL_WidgetHit HitTest(const CFX_PointF& point);
139 virtual bool CanUndo();
140 virtual bool CanRedo();
141 virtual bool CanCopy();
142 virtual bool CanCut();
143 virtual bool CanPaste();
144 virtual bool CanSelectAll();
145 virtual bool CanDelete();
146 virtual bool CanDeSelect();
147 virtual bool Undo();
148 virtual bool Redo();
149 virtual absl::optional<WideString> Copy();
150 virtual absl::optional<WideString> Cut();
151 virtual bool Paste(const WideString& wsPaste);
152 virtual void SelectAll();
153 virtual void Delete();
154 virtual void DeSelect();
155 virtual WideString GetText();
157
158 CXFA_Node* GetNode() const { return m_pNode; }
159 CXFA_ContentLayoutItem* GetLayoutItem() const { return m_pLayoutItem; }
160 void SetLayoutItem(CXFA_ContentLayoutItem* pItem) { m_pLayoutItem = pItem; }
161 CXFA_FFPageView* GetPageView() const { return m_pPageView; }
162 void SetPageView(CXFA_FFPageView* pPageView) { m_pPageView = pPageView; }
163 CXFA_FFDocView* GetDocView() const { return m_pDocView; }
164 void SetDocView(CXFA_FFDocView* pDocView) { m_pDocView = pDocView; }
165
167 const CFX_RectF& GetWidgetRect() const;
168 const CFX_RectF& RecacheWidgetRect() const;
169 void ModifyStatus(Mask<XFA_WidgetStatus> dwAdded,
170 Mask<XFA_WidgetStatus> dwRemoved);
171
173 CXFA_FFApp* GetApp();
174 CXFA_FFApp::CallbackIface* GetAppProvider();
175 CFWL_App* GetFWLApp() const;
176 void InvalidateRect();
180 CFX_PointF Rotate2Normal(const CFX_PointF& point);
181 bool IsLayoutRectEmpty();
183 bool IsAncestorOf(CXFA_FFWidget* pWidget);
184 bool HasEventUnderHandler(XFA_EVENTTYPE eEventType,
185 CXFA_FFWidgetHandler* pHandler);
187 CXFA_FFWidgetHandler* pHandler);
188
189 protected:
190 explicit CXFA_FFWidget(CXFA_Node* pNode);
191 virtual bool PtInActiveRect(const CFX_PointF& point);
192
194 CXFA_Box* box,
195 const CFX_RectF& rtBorder,
196 const CFX_Matrix& matrix);
198 CXFA_Box* box,
199 const CFX_RectF& rtBorder,
200 const CFX_Matrix& matrix,
201 bool forceRound);
202
204 bool HasVisibleStatus() const;
205 void EventKillFocus();
206 bool IsButtonDown();
207 void SetButtonDown(bool bSet);
208
214};
215
217 return widget ? widget->AsField() : nullptr;
218}
219
220#endif // XFA_FXFA_CXFA_FFWIDGET_H_
BC_TEXT_LOC
Definition BC_Library.h:12
BC_TYPE
Definition BC_Library.h:25
void BC_Library_Init()
void BC_Library_Destroy()
BC_CHAR_ENCODING
Definition BC_Library.h:20
size_t FXJS_GlobalIsolateRefCount()
void FXJS_Release()
FXJSOBJTYPE
@ FXJSOBJTYPE_DYNAMIC
@ FXJSOBJTYPE_STATIC
@ FXJSOBJTYPE_GLOBAL
static CFGAS_GEModule * Get()
static void Destroy()
CFGAS_FontMgr * GetFontMgr()
static void Create()
virtual CFWL_WidgetMgr::AdapterIface * GetWidgetMgrAdapter()=0
virtual cppgc::Heap * GetHeap()=0
virtual ~AdapterIface()=default
virtual CFX_Timer::HandlerIface * GetTimerHandler()=0
virtual IFWL_ThemeProvider * GetThemeProvider()=0
CFWL_NoteDriver * GetNoteDriver() const
Definition cfwl_app.h:47
CFWL_WidgetMgr * GetWidgetMgr() const
Definition cfwl_app.h:46
IFWL_ThemeProvider * GetThemeProvider() const
Definition cfwl_app.h:42
CFX_Timer::HandlerIface * GetTimerHandler() const
Definition cfwl_app.h:39
CFWL_WidgetMgr::AdapterIface * GetWidgetMgrAdapter() const
Definition cfwl_app.h:36
cppgc::Heap * GetHeap() const
Definition cfwl_app.h:45
virtual bool GetPopupPos(CFWL_Widget *pWidget, float fMinHeight, float fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect)=0
virtual ~AdapterIface()=default
virtual void RepaintWidget(CFWL_Widget *pWidget)=0
void OnProcessMessageToForm(CFWL_Message *pMessage)
CFWL_Widget * GetNextSiblingWidget(CFWL_Widget *pWidget) const
CFWL_Widget * GetWidgetAtPoint(CFWL_Widget *pParent, const CFX_PointF &point) const
CFWL_Widget * GetDefaultButton(CFWL_Widget *pParent) const
void OnDrawWidget(CFWL_Widget *pWidget, CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix)
CFWL_Widget * GetFirstChildWidget(CFWL_Widget *pWidget) const
void InsertWidget(CFWL_Widget *pParent, CFWL_Widget *pChild)
void GetAdapterPopupPos(CFWL_Widget *pWidget, float fMinHeight, float fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) const
void RepaintWidget(CFWL_Widget *pWidget, const CFX_RectF &pRect)
CFWL_Widget * GetParentWidget(const CFWL_Widget *pWidget) const
void RemoveWidget(CFWL_Widget *pWidget)
friend class EventParamScope
void DefineObjMethod(uint32_t nObjDefnID, const char *sMethodName, v8::FunctionCallback pMethodCall)
void DefineObjProperty(uint32_t nObjDefnID, const char *sPropName, v8::AccessorGetterCallback pPropGet, v8::AccessorSetterCallback pPropPut)
v8::Local< v8::Context > GetV8Context()
void DefineObjConst(uint32_t nObjDefnID, const char *sConstName, v8::Local< v8::Value > pDefault)
~CFXJS_Engine() override
v8::Local< v8::Object > GetThisObj()
void DefineObjAllProperties(uint32_t nObjDefnID, v8::GenericNamedPropertyQueryCallback pPropQurey, v8::GenericNamedPropertyGetterCallback pPropGet, v8::GenericNamedPropertySetterCallback pPropPut, v8::GenericNamedPropertyDeleterCallback pPropDel, v8::GenericNamedPropertyEnumeratorCallback pPropEnum)
absl::optional< IJS_Runtime::JS_Error > Execute(const WideString &script)
void SetConstArray(const WideString &name, v8::Local< v8::Array > array)
v8::Local< v8::Array > GetConstArray(const WideString &name)
static void SetObjectPrivate(v8::Local< v8::Object > pObj, std::unique_ptr< CJS_Object > p)
uint32_t DefineObj(const char *sObjName, FXJSOBJTYPE eObjType, Constructor pConstructor, Destructor pDestructor)
void Error(const WideString &message)
v8::Local< v8::Object > NewFXJSBoundObject(uint32_t nObjDefnID, FXJSOBJTYPE type)
void InitializeEngine()
void DefineGlobalConst(const wchar_t *sConstName, v8::FunctionCallback pConstGetter)
static uint32_t GetObjDefnID(v8::Local< v8::Object > pObj)
static void FreeObjectPrivate(v8::Local< v8::Object > pObj)
void DefineGlobalMethod(const char *sMethodName, v8::FunctionCallback pMethodCall)
bool ToBoolean(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:106
v8::Local< v8::Number > NewNumber(double number)
Definition cfx_v8.cpp:67
void PutObjectProperty(v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName, v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:28
v8::Local< v8::Number > NewNumber(float number)
Definition cfx_v8.cpp:71
double ToDouble(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:110
WideString ToWideString(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:114
std::vector< WideString > GetObjectPropertyNames(v8::Local< v8::Object > pObj)
Definition cfx_v8.cpp:23
v8::Isolate * GetIsolate() const
Definition cfx_v8.h:23
v8::Local< v8::Boolean > NewBoolean(bool b)
Definition cfx_v8.cpp:75
v8::Local< v8::Object > ToObject(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:122
ByteString ToByteString(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:118
v8::Local< v8::String > NewString(WideStringView str)
Definition cfx_v8.cpp:83
v8::Local< v8::Array > NewArray()
Definition cfx_v8.cpp:40
v8::Local< v8::Array > ToArray(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:126
v8::Local< v8::Date > NewDate(double d)
Definition cfx_v8.cpp:98
size_t GetArrayLength(v8::Local< v8::Array > pArray)
Definition cfx_v8.cpp:59
v8::Local< v8::Value > NewNull()
Definition cfx_v8.cpp:90
void DisposeIsolate()
Definition cfx_v8.cpp:35
int ToInt32(v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:102
v8::Local< v8::Object > NewObject()
Definition cfx_v8.cpp:44
virtual ~CFX_V8()
v8::Local< v8::Value > GetObjectProperty(v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName)
Definition cfx_v8.cpp:16
v8::Local< v8::Number > NewNumber(int number)
Definition cfx_v8.cpp:63
v8::Local< v8::Value > GetArrayElement(v8::Local< v8::Array > pArray, size_t index)
Definition cfx_v8.cpp:54
v8::Local< v8::String > NewString(ByteStringView str)
Definition cfx_v8.cpp:79
void PutArrayElement(v8::Local< v8::Array > pArray, size_t index, v8::Local< v8::Value > pValue)
Definition cfx_v8.cpp:48
v8::Local< v8::Value > NewUndefined()
Definition cfx_v8.cpp:94
CJS_Field * TargetField()
void OnPage_Close() override
void OnField_Keystroke(WideString *strChange, const WideString &strChangeEx, bool bKeyDown, bool bModifier, int *nSelEnd, int *nSelStart, bool bShift, CPDF_FormField *pTarget, WideString *Value, bool bWillCommit, bool bFieldFull, bool *bRc) override
void OnField_Blur(bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value) override
CJS_Runtime * GetJSRuntime() const
~CJS_EventContext() override
WideString ChangeEx() const
void OnPage_Open() override
void OnDoc_Open(const WideString &strTargetName) override
WideString SourceName() const
WideString TargetName() const
CJS_EventContext(CJS_Runtime *pRuntime)
void OnField_Focus(bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value) override
void OnField_MouseEnter(bool bModifier, bool bShift, CPDF_FormField *pTarget) override
void OnField_MouseDown(bool bModifier, bool bShift, CPDF_FormField *pTarget) override
ByteStringView Name() const
void OnExternal_Exec() override
void OnField_Validate(WideString *strChange, const WideString &strChangeEx, bool bKeyDown, bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value, bool *bRc) override
void OnDoc_DidSave() override
void OnField_Format(CPDF_FormField *pTarget, WideString *Value) override
void OnField_MouseExit(bool bModifier, bool bShift, CPDF_FormField *pTarget) override
void OnDoc_WillSave() override
ByteStringView Type() const
void OnDoc_WillClose() override
void SetStrChangeForTest(WideString *pStrChange)
void SetSelEnd(int value)
void OnPage_InView() override
CJS_Field * SourceField()
void OnField_Calculate(CPDF_FormField *pSource, CPDF_FormField *pTarget, WideString *pValue, bool *pRc) override
WideString & Value()
bool WillCommit() const
absl::optional< IJS_Runtime::JS_Error > RunScript(const WideString &script) override
void OnDoc_WillPrint() override
void OnDoc_DidPrint() override
void OnField_MouseUp(bool bModifier, bool bShift, CPDF_FormField *pTarget) override
void OnPage_OutView() override
void SetSelStart(int value)
void SetRCForTest(bool *pRC)
CPDFSDK_FormFillEnvironment * GetFormFillEnv() const
void SetValueForTest(WideString *pStr)
v8::Local< v8::Value > MaybeCoerceToNumber(v8::Local< v8::Value > value)
void BeginBlock()
Definition cjs_runtime.h:47
v8::Local< v8::Value > GetValueByNameFromGlobalObject(ByteStringView utf8Name)
bool AddEventToSet(const FieldEvent &event)
absl::optional< IJS_Runtime::JS_Error > ExecuteScript(const WideString &script) override
CJS_Runtime(CPDFSDK_FormFillEnvironment *pFormFillEnv)
~CJS_Runtime() override
CFX_Timer::HandlerIface * GetTimerHandler() const
void ReleaseEventContext(IJS_EventContext *pContext) override
void RemoveEventFromSet(const FieldEvent &event)
CJS_Runtime * AsCJSRuntime() override
void EndBlock()
Definition cjs_runtime.h:48
bool SetValueByNameInGlobalObject(ByteStringView utf8Name, v8::Local< v8::Value > pValue)
CJS_EventContext * GetCurrentEventContext() const
bool IsBlocking() const
Definition cjs_runtime.h:49
IJS_EventContext * NewEventContext() override
CPDFSDK_FormFillEnvironment * GetFormFillEnv() const override
WideString GetPlatform() override
RetainPtr< IFX_SeekableReadStream > DownloadURL(const WideString &wsURL) override
bool PostRequestURL(const WideString &wsURL, const WideString &wsData, const WideString &wsContentType, const WideString &wsEncode, const WideString &wsHeader, WideString &wsResponse) override
RetainPtr< CPDFXFA_Page > GetXFAPage(CXFA_FFPageView *pPage) const
void SetOriginalPageCount(int count)
FormType GetFormType() const
WideString GetAppTitle() const override
WideString Response(const WideString &wsQuestion, const WideString &wsTitle, const WideString &wsDefaultAnswer, bool bMark) override
bool SaveDatasetsPackage(const RetainPtr< IFX_SeekableStream > &pStream)
~CPDFXFA_Context() override
void SetFormFillEnv(CPDFSDK_FormFillEnvironment *pFormFillEnv)
bool PutRequestURL(const WideString &wsURL, const WideString &wsData, const WideString &wsEncode) override
void SendPreSaveToXFADoc(std::vector< RetainPtr< IFX_SeekableStream > > *fileList)
CPDFSDK_FormFillEnvironment * GetFormFillEnv() const
CXFA_FFDocView * GetXFADocView() const
WideString GetAppName() override
bool SaveFormPackage(const RetainPtr< IFX_SeekableStream > &pStream)
CFX_Timer::HandlerIface * GetTimerHandler() const override
CXFA_FFDoc * GetXFADoc()
void Beep(uint32_t dwType) override
bool ContainsExtensionForegroundForm() const override
CPDFXFA_Context(CPDF_Document *pPDFDoc)
RetainPtr< CPDFXFA_Page > GetOrCreateXFAPage(int page_index)
bool ContainsExtensionForm() const override
int GetOriginalPageCount() const
WideString GetLanguage() override
RetainPtr< CPDFXFA_Page > GetXFAPage(int page_index)
void DeletePage(int page_index) override
LoadStatus GetLoadStatus() const
bool ContainsExtensionFullForm() const override
int GetPageCount() const override
cppgc::Heap * GetGCHeap() const override
CFX_XMLDocument * GetXMLDoc()
int32_t MsgBox(const WideString &wsMessage, const WideString &wsTitle, uint32_t dwIconType, uint32_t dwButtonType) override
CPDF_Document * GetPDFDoc() const
bool IsValidationsEnabled(const CXFA_FFDoc *hDoc) const override
void DisplayCaret(CXFA_FFWidget *hWidget, bool bVisible, const CFX_RectF *pRtAnchor) override
~CPDFXFA_DocEnvironment() override
void InvalidateRect(CXFA_FFPageView *pPageView, const CFX_RectF &rt) override
void SetCalculationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled) override
bool IsCalculationsEnabled(const CXFA_FFDoc *hDoc) const override
void WidgetPostAdd(CXFA_FFWidget *hWidget) override
void Print(CXFA_FFDoc *hDoc, int32_t nStartPage, int32_t nEndPage, Mask< XFA_PrintOpt > dwOptions) override
void ExportData(CXFA_FFDoc *hDoc, const WideString &wsFilePath, bool bXDP) override
RetainPtr< IFX_SeekableReadStream > OpenLinkedFile(CXFA_FFDoc *hDoc, const WideString &wsLink) override
int32_t GetCurrentPage(const CXFA_FFDoc *hDoc) const override
void SetFocusWidget(CXFA_FFDoc *hDoc, CXFA_FFWidget *hWidget) override
FX_ARGB GetHighlightColor(const CXFA_FFDoc *hDoc) const override
void SetCurrentPage(CXFA_FFDoc *hDoc, int32_t iCurPage) override
IJS_Runtime * GetIJSRuntime(const CXFA_FFDoc *hDoc) const override
CFX_XMLDocument * GetXMLDoc() const override
void SetChangeMark(CXFA_FFDoc *hDoc) override
void GotoURL(CXFA_FFDoc *hDoc, const WideString &bsURL) override
void SetTitle(CXFA_FFDoc *hDoc, const WideString &wsTitle) override
int32_t CountPages(const CXFA_FFDoc *hDoc) const override
bool PopupMenu(CXFA_FFWidget *hWidget, const CFX_PointF &ptPopup) override
void SetValidationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled) override
void OnPageViewEvent(CXFA_FFPageView *pPageView, CXFA_FFDoc::PageViewEvent eEvent) override
WideString GetTitle(const CXFA_FFDoc *hDoc) const override
void WidgetPreRemove(CXFA_FFWidget *hWidget) override
bool GetPopupPos(CXFA_FFWidget *hWidget, float fMinPopup, float fMaxPopup, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) override
CPDFXFA_DocEnvironment(CPDFXFA_Context *)
absl::optional< CFX_PointF > PageToDevice(const FX_RECT &rect, int rotate, const CFX_PointF &page_point) const override
CXFA_FFPageView * GetXFAPageView() const
CPDF_Document * GetDocument() const override
CFX_Matrix GetDisplayMatrix(const FX_RECT &rect, int iRotate) const override
CPDFXFA_Page * AsXFAPage() override
CPDF_Page * AsPDFPage() override
float GetPageWidth() const override
~CPDFXFA_Page() override
CPDFSDK_Annot * GetLastXFAAnnot(CPDFSDK_PageView *page_view) const
int GetPageIndex() const
void SetXFAPageViewIndex(int index)
CPDFSDK_Annot * GetPrevXFAAnnot(CPDFSDK_Annot *pSDKAnnot) const
CPDFSDK_Annot * GetFirstXFAAnnot(CPDFSDK_PageView *page_view) const
CPDFSDK_Annot * GetNextXFAAnnot(CPDFSDK_Annot *pSDKAnnot) const
absl::optional< CFX_PointF > DeviceToPage(const FX_RECT &rect, int rotate, const CFX_PointF &device_point) const override
void DrawFocusAnnot(CFX_RenderDevice *pDevice, CPDFSDK_Annot *pAnnot, const CFX_Matrix &mtUser2Device, const FX_RECT &rtClip)
int HasFormFieldAtPoint(const CFX_PointF &point) const
float GetPageHeight() const override
void LoadPDFPageFromDict(RetainPtr< CPDF_Dictionary > pPageDict)
const CPDF_Dictionary * GetRoot() const
bool TestStatusBits(Mask< XFA_WidgetStatus > val) const
void SetDocument(CXFA_Document *pDocument)
virtual void Trace(cppgc::Visitor *visitor) const
CXFA_Document * GetDocument() const
cppgc::Heap * GetHeap() const
CXFA_Node * GetNodeByID(CXFA_Node *pRoot, WideStringView wsID) const
CXFA_FFNotify * GetNotify() const
void Trace(cppgc::Visitor *visitor) const
CFXJSE_Engine * InitScriptContext(CJS_Runtime *fxjs_runtime)
CXFA_Node * DataMerge_CopyContainer(CXFA_Node *pTemplateNode, CXFA_Node *pFormNode, CXFA_Node *pDataScope, bool bOneInstance, bool bDataMerge, bool bUpLevel)
void set_is_strict_scoping()
CXFA_LocaleMgr * GetLocaleMgr()
XFA_VERSION RecognizeXFAVersionNumber(const WideString &wsTemplateNS)
void AppendPendingNode(CXFA_Node *node)
CXFA_Node * GetNotBindNode(pdfium::span< cppgc::Member< CXFA_Object > > arrayNodes) const
void DataMerge_UpdateBindingRelations(CXFA_Node *pFormUpdateRoot)
bool HasScriptContext() const
void SetRoot(CXFA_Node *pNewRoot)
void set_is_scripting()
CXFA_Node * CreateNode(XFA_PacketType packet, XFA_Element eElement)
size_t GetPendingNodesCount() const
XFA_VERSION GetCurVersionMode() const
CFXJSE_Engine * GetScriptContext() const
bool is_scripting() const
CXFA_Object * GetXFAObject(XFA_HashCode wsNodeNameHash)
void SetPendingNodesUnusedAndUnbound()
CXFA_NodeOwner * GetNodeOwner()
void RegisterGlobalBinding(uint32_t dwNameHash, CXFA_Node *pDataNode)
CXFA_Node * GetPendingNodeAtIndex(size_t index) const
FormType GetFormType() const
CXFA_Node * GetGlobalBinding(uint32_t dwNameHash)
LayoutProcessorIface * GetLayoutProcessor() const
CXFA_Node * GetRoot() const
bool is_strict_scoping() const
WideString m_wsPrevText
WideString GetNewText() const
WideString m_wsPrevContentType
CXFA_EventParam & operator=(CXFA_EventParam &&other) noexcept
XFA_EVENTTYPE m_eType
WideString m_wsResult
CXFA_EventParam & operator=(const CXFA_EventParam &other)
WideString m_wsChange
WideString m_wsSoapFaultCode
WideString m_wsNewContentType
CXFA_EventParam(const CXFA_EventParam &other)
WideString m_wsFullText
CXFA_EventParam(XFA_EVENTTYPE type)
WideString m_wsSoapFaultString
virtual WideString GetAppName()=0
virtual ~CallbackIface()=default
virtual WideString GetAppTitle() const =0
virtual WideString GetPlatform()=0
virtual void Beep(uint32_t dwType)=0
virtual int32_t MsgBox(const WideString &wsMessage, const WideString &wsTitle, uint32_t dwIconType, uint32_t dwButtonType)=0
virtual CFX_Timer::HandlerIface * GetTimerHandler() const =0
virtual bool PostRequestURL(const WideString &wsURL, const WideString &wsData, const WideString &wsContentType, const WideString &wsEncode, const WideString &wsHeader, WideString &wsResponse)=0
virtual bool PutRequestURL(const WideString &wsURL, const WideString &wsData, const WideString &wsEncode)=0
virtual RetainPtr< IFX_SeekableReadStream > DownloadURL(const WideString &wsURL)=0
virtual WideString Response(const WideString &wsQuestion, const WideString &wsTitle, const WideString &wsDefaultAnswer, bool bMask)=0
virtual WideString GetLanguage()=0
virtual cppgc::Heap * GetGCHeap() const =0
CallbackIface * GetAppProvider() const
Definition cxfa_ffapp.h:144
void Trace(cppgc::Visitor *visitor) const override
bool LoadFWLTheme(CXFA_FFDoc *doc)
CFWL_WidgetMgr * GetFWLWidgetMgr() const
Definition cxfa_ffapp.h:143
CFX_Timer::HandlerIface * GetTimerHandler() override
CFWL_App * GetFWLApp() const
Definition cxfa_ffapp.h:145
CFWL_WidgetMgr::AdapterIface * GetWidgetMgrAdapter() override
IFWL_ThemeProvider * GetThemeProvider() override
~CXFA_FFApp() override
CXFA_FontMgr * GetXFAFontMgr() const
Definition cxfa_ffapp.h:146
cppgc::Heap * GetHeap() override
UpdateScope(CXFA_FFDocView *pDocView)
void InvalidateRect(CXFA_FFPageView *pPageView, const CFX_RectF &rtInvalidate)
CXFA_FFWidgetHandler * GetWidgetHandler()
LayoutStatus GetLayoutStatus() const
void AddValidateNode(CXFA_Node *node)
void ResetNode(CXFA_Node *pNode)
void AddCalculateNodeNotify(CXFA_Node *pNodeChange)
bool InLayoutStatus() const
CXFA_Node * GetFocusNode() const
CXFA_FFDoc * GetDoc() const
bool SetFocus(CXFA_FFWidget *pNewFocus)
void DeleteLayoutItem(CXFA_FFWidget *pWidget)
void AddNewFormNode(CXFA_Node *pNode)
void AddBindItem(CXFA_BindItems *item)
void OnPageViewEvent(CXFA_ViewLayoutItem *pSender, CXFA_FFDoc::PageViewEvent eEvent)
CXFA_FFWidget * GetWidgetByName(const WideString &wsName, CXFA_FFWidget *pRefWidget)
CXFA_FFPageView * GetPageView(int32_t nIndex) const
void SetFocusNode(CXFA_Node *pNode)
void Trace(cppgc::Visitor *visitor) const
void AddCalculateNode(CXFA_Node *node)
CXFA_LayoutProcessor * GetLayoutProcessor() const
int32_t CountPageViews() const
XFA_EventError ExecEventActivityByDeepFirst(CXFA_Node *pFormNode, XFA_EVENTTYPE eEventType, bool bIsFormReady, bool bRecursive)
CXFA_FFWidget * GetFocusWidget() const
CXFA_Node * GetRootSubform()
void AddNullTestMsg(const WideString &msg)
void ProcessValueChanged(CXFA_Node *node)
void UpdateUIDisplay(CXFA_Node *pNode, CXFA_FFWidget *pExcept)
CXFA_FFWidget * GetWidgetForNode(CXFA_Node *node)
void AddIndexChangedSubform(CXFA_Subform *pNode)
virtual void OnPageViewEvent(CXFA_FFPageView *pPageView, PageViewEvent eEvent)=0
virtual void SetValidationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled)=0
virtual int32_t CountPages(const CXFA_FFDoc *hDoc) const =0
virtual void SetCurrentPage(CXFA_FFDoc *hDoc, int32_t iCurPage)=0
virtual void SetFocusWidget(CXFA_FFDoc *hDoc, CXFA_FFWidget *hWidget)=0
virtual void GotoURL(CXFA_FFDoc *hDoc, const WideString &bsURL)=0
virtual int32_t GetCurrentPage(const CXFA_FFDoc *hDoc) const =0
virtual void WidgetPreRemove(CXFA_FFWidget *hWidget)=0
virtual IJS_Runtime * GetIJSRuntime(const CXFA_FFDoc *hDoc) const =0
virtual void SetCalculationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled)=0
virtual void SetTitle(CXFA_FFDoc *hDoc, const WideString &wsTitle)=0
virtual WideString GetTitle(const CXFA_FFDoc *hDoc) const =0
virtual bool PopupMenu(CXFA_FFWidget *hWidget, const CFX_PointF &ptPopup)=0
virtual void Print(CXFA_FFDoc *hDoc, int32_t nStartPage, int32_t nEndPage, Mask< XFA_PrintOpt > dwOptions)=0
virtual bool IsValidationsEnabled(const CXFA_FFDoc *hDoc) const =0
virtual void ExportData(CXFA_FFDoc *hDoc, const WideString &wsFilePath, bool bXDP)=0
virtual RetainPtr< IFX_SeekableReadStream > OpenLinkedFile(CXFA_FFDoc *hDoc, const WideString &wsLink)=0
virtual FX_ARGB GetHighlightColor(const CXFA_FFDoc *hDoc) const =0
virtual void InvalidateRect(CXFA_FFPageView *pPageView, const CFX_RectF &rt)=0
virtual CFX_XMLDocument * GetXMLDoc() const =0
virtual void WidgetPostAdd(CXFA_FFWidget *hWidget)=0
virtual void SetChangeMark(CXFA_FFDoc *hDoc)=0
virtual bool GetPopupPos(CXFA_FFWidget *hWidget, float fMinPopup, float fMaxPopup, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect)=0
virtual void DisplayCaret(CXFA_FFWidget *hWidget, bool bVisible, const CFX_RectF *pRtAnchor)=0
virtual ~CallbackIface()=default
virtual bool IsCalculationsEnabled(const CXFA_FFDoc *hDoc) const =0
CPDF_Document * GetPDFDoc() const
Definition cxfa_ffdoc.h:169
bool SavePackage(CXFA_Node *pNode, const RetainPtr< IFX_SeekableStream > &pFile)
CFX_XMLDocument * GetXMLDocument() const
void InvalidateRect(CXFA_FFPageView *pPageView, const CFX_RectF &rt)
CXFA_FFDocView * CreateDocView()
void WidgetPostAdd(CXFA_FFWidget *hWidget)
RetainPtr< CFGAS_GEFont > GetPDFFont(const WideString &family, uint32_t styles, bool strict)
cppgc::Heap * GetHeap() const
Definition cxfa_ffdoc.h:166
void Print(int32_t nStartPage, int32_t nEndPage, Mask< XFA_PrintOpt > dwOptions)
void Trace(cppgc::Visitor *visitor) const
CXFA_Document * GetXFADoc() const
Definition cxfa_ffdoc.h:167
FX_ARGB GetHighlightColor() const
void SetCurrentPage(int32_t iCurPage)
void SetCalculationsEnabled(bool bEnabled)
void OnPageViewEvent(CXFA_FFPageView *pPageView, PageViewEvent eEvent)
void PreFinalize()
FormType GetFormType() const
Definition cxfa_ffdoc.h:165
void DisplayCaret(CXFA_FFWidget *hWidget, bool bVisible, const CFX_RectF *pRtAnchor)
bool IsCalculationsEnabled() const
bool PopupMenu(CXFA_FFWidget *hWidget, const CFX_PointF &ptPopup)
CXFA_FFDocView * GetDocView(CXFA_LayoutProcessor *pLayout)
CXFA_FFDocView * GetDocView()
void SetFocusWidget(CXFA_FFWidget *hWidget)
void SetValidationsEnabled(bool bEnabled)
bool OpenDoc(CFX_XMLDocument *pXML)
void GotoURL(const WideString &bsURL)
WideString GetTitle() const
int32_t GetCurrentPage() const
bool IsValidationsEnabled() const
CXFA_FFApp * GetApp() const
Definition cxfa_ffdoc.h:168
void ExportData(const WideString &wsFilePath, bool bXDP)
void SetTitle(const WideString &wsTitle)
IJS_Runtime * GetIJSRuntime() const
void SetChangeMark()
void WidgetPreRemove(CXFA_FFWidget *hWidget)
RetainPtr< CFX_DIBitmap > GetPDFNamedImage(WideStringView wsName, int32_t &iImageXDpi, int32_t &iImageYDpi)
RetainPtr< IFX_SeekableReadStream > OpenLinkedFile(const WideString &wsLink)
bool GetPopupPos(CXFA_FFWidget *hWidget, float fMinPopup, float fMaxPopup, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) const
int32_t CountPages() const
XFA_EventError ProcessEvent(CXFA_Node *pNode, CXFA_EventParam *pParam)
virtual CXFA_FFWidget * MoveToLast()=0
virtual CXFA_FFWidget * MoveToFirst()=0
virtual CXFA_FFWidget * MoveToPrevious()=0
virtual CXFA_FFWidget * GetCurrentWidget()=0
virtual CXFA_FFWidget * MoveToNext()=0
virtual bool SetCurrentWidget(CXFA_FFWidget *hWidget)=0
virtual ~IteratorIface()=default
virtual bool PtInActiveRect(const CFX_PointF &point)
void DrawBorderWithFlag(CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix, bool forceRound)
static CXFA_FFWidget * FromLayoutItem(CXFA_LayoutItem *pLayoutItem)
CFX_Matrix GetRotateMatrix() override
virtual bool PerformLayout()
const CFX_RectF & RecacheWidgetRect() const
CXFA_FFWidget * GetNextFFWidget() const
cppgc::Member< CXFA_Node > const m_pNode
virtual absl::optional< WideString > Copy()
virtual bool Paste(const WideString &wsPaste)
virtual bool OnSetFocus(CXFA_FFWidget *pOldWidget)
virtual bool OnLButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
const CFX_RectF & GetWidgetRect() const
virtual void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight)
virtual bool OnMouseExit()
CXFA_LayoutItem * GetParent()
void DisplayCaret(bool bVisible, const CFX_RectF *pRtAnchor) override
CXFA_FFWidget(CXFA_Node *pNode)
void SetPageView(CXFA_FFPageView *pPageView)
virtual bool OnRButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
virtual bool Undo()
virtual bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command)
cppgc::Member< CXFA_FFDocView > m_pDocView
virtual bool Redo()
virtual bool CanUndo()
bool HasEventUnderHandler(XFA_EVENTTYPE eEventType, CXFA_FFWidgetHandler *pHandler)
virtual absl::optional< WideString > Cut()
virtual bool UpdateFWLData()
virtual void UpdateWidgetProperty()
virtual bool CanCopy()
bool IsFocused() const
bool IsAncestorOf(CXFA_FFWidget *pWidget)
virtual bool CanDeSelect()
virtual bool OnRButtonDblClk(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
bool HasVisibleStatus() const
virtual bool OnLButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
virtual bool CanPaste()
virtual bool IsLoaded()
CFWL_App * GetFWLApp() const
CXFA_FFApp::CallbackIface * GetAppProvider()
void SetDocView(CXFA_FFDocView *pDocView)
CXFA_Node * GetNode() const
cppgc::Member< CXFA_ContentLayoutItem > m_pLayoutItem
void Trace(cppgc::Visitor *visitor) const override
void DrawBorder(CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix)
virtual bool OnChar(uint32_t dwChar, Mask< XFA_FWL_KeyFlag > dwFlags)
virtual FormFieldType GetFormFieldType()
void GetBorderColorAndThickness(FX_ARGB *cr, float *fWidth) override
virtual void Delete()
virtual bool LoadWidget()
void SetButtonDown(bool bSet)
void SetLayoutItem(CXFA_ContentLayoutItem *pItem)
bool ProcessEventUnderHandler(CXFA_EventParam *params, CXFA_FFWidgetHandler *pHandler)
virtual bool OnMouseMove(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
virtual bool CanCut()
virtual CFX_RectF GetBBox(FocusOption focus)
CXFA_FFDoc * GetDoc()
CXFA_FFApp * GetApp()
cppgc::Member< CXFA_FFPageView > m_pPageView
virtual bool OnKeyDown(XFA_FWL_VKEYCODE dwKeyCode, Mask< XFA_FWL_KeyFlag > dwFlags)
void ModifyStatus(Mask< XFA_WidgetStatus > dwAdded, Mask< XFA_WidgetStatus > dwRemoved)
virtual bool OnLButtonDblClk(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
virtual void DeSelect()
CFX_RectF GetRectWithoutRotate()
CXFA_ContentLayoutItem * GetLayoutItem() const
virtual bool OnKillFocus(CXFA_FFWidget *pNewWidget)
CFX_PointF Rotate2Normal(const CFX_PointF &point)
virtual void SelectAll()
virtual bool OnMouseWheel(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, const CFX_Vector &delta)
virtual bool CanDelete()
virtual FWL_WidgetHit HitTest(const CFX_PointF &point)
virtual bool CanSelectAll()
CFX_RectF m_WidgetRect
~CXFA_FFWidget() override
CXFA_FFPageView * GetPageView() const
CXFA_FFDocView * GetDocView() const
virtual CXFA_FFField * AsField()
virtual bool CanRedo()
virtual bool OnRButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point)
virtual bool OnMouseEnter()
virtual WideString GetText()
void Trace(cppgc::Visitor *visitor) const
void SetDefLocale(GCedLocaleIface *pLocale)
absl::optional< WideString > GetConfigLocaleName(CXFA_Node *pConfig) const
~CXFA_LocaleMgr() override
GCedLocaleIface * GetDefLocale() override
GCedLocaleIface * GetLocaleByName(const WideString &wsLocaleName) override
void PersistList(CXFA_List *list)
void Trace(cppgc::Visitor *visitor) const
CXFA_ReadyNodeIterator(CXFA_Node *pTravelRoot)
ExtensionIface * GetExtension()
void SetExtension(std::unique_ptr< ExtensionIface > extension)
uint32_t CurrentMaxObjDefinitionID() const
CFXJS_ObjDefinition * ObjDefinitionForID(uint32_t id) const
V8TemplateMap * GetDynamicObjsMap()
uint32_t AssignIDForObjDefinition(std::unique_ptr< CFXJS_ObjDefinition > pDefn)
virtual void Trace(cppgc::Visitor *visitor) const
virtual WideString GetDayName(int32_t nWeek, bool bAbbr) const =0
virtual WideString GetDecimalSymbol() const =0
virtual WideString GetMonthName(int32_t nMonth, bool bAbbr) const =0
virtual WideString GetNumPattern(NumSubcategory eType) const =0
virtual WideString GetDatePattern(DateTimeSubcategory eType) const =0
virtual int GetTimeZoneInMinutes() const =0
virtual WideString GetMeridiemName(bool bAM) const =0
virtual WideString GetName() const =0
virtual WideString GetCurrencySymbol() const =0
virtual WideString GetDateTimeSymbols() const =0
virtual ~LocaleIface()=default
virtual WideString GetTimePattern(DateTimeSubcategory eType) const =0
virtual WideString GetPercentSymbol() const =0
virtual WideString GetGroupingSymbol() const =0
virtual WideString GetEraName(bool bAD) const =0
virtual WideString GetMinusSymbol() const =0
virtual ~LocaleMgrIface()=default
virtual LocaleIface * GetLocaleByName(const WideString &wsLCID)=0
virtual LocaleIface * GetDefLocale()=0
static WideString FromUTF16LE(pdfium::span< const uint8_t > data)
GCedTreeNode & operator=(const GCedTreeNode &that)=delete
GCedTreeNode()=default
virtual void Trace(cppgc::Visitor *visitor) const
GCedTreeNode(const GCedTreeNode &that)=delete
FormFieldType
void CPDFXFA_ModuleInit()
void CPDFXFA_ModuleDestroy()
XFA_VERSION
@ XFA_VERSION_UNKNOWN
@ XFA_VERSION_207
@ XFA_VERSION_306
@ XFA_VERSION_206
@ XFA_VERSION_MAX
@ XFA_VERSION_205
@ XFA_VERSION_300
@ XFA_VERSION_208
@ XFA_VERSION_200
@ XFA_VERSION_204
@ XFA_VERSION_202
@ XFA_VERSION_301
@ XFA_VERSION_303
@ XFA_VERSION_MIN
@ XFA_VERSION_DEFAULT
XFA_EVENTTYPE
@ XFA_EVENT_PostOpen
@ XFA_EVENT_Click
@ XFA_EVENT_MouseDown
@ XFA_EVENT_InitCalculate
@ XFA_EVENT_InitVariables
@ XFA_EVENT_MouseEnter
@ XFA_EVENT_Initialize
@ XFA_EVENT_PostSave
@ XFA_EVENT_PreOpen
@ XFA_EVENT_PostPrint
@ XFA_EVENT_PostExecute
@ XFA_EVENT_PreSign
@ XFA_EVENT_PreSubmit
@ XFA_EVENT_Exit
@ XFA_EVENT_Change
@ XFA_EVENT_DocReady
@ XFA_EVENT_Unknown
@ XFA_EVENT_PreSave
@ XFA_EVENT_Calculate
@ XFA_EVENT_PrePrint
@ XFA_EVENT_PostSign
@ XFA_EVENT_MouseUp
@ XFA_EVENT_Validate
@ XFA_EVENT_Ready
@ XFA_EVENT_IndexChange
@ XFA_EVENT_PreExecute
@ XFA_EVENT_DocClose
@ XFA_EVENT_PostSubmit
@ XFA_EVENT_Full
@ XFA_EVENT_MouseExit
@ XFA_EVENT_Enter
const XFA_AttributeValue kXFAEventActivity[]
float XFA_UnitPx2Pt(float fPx, float fDpi)
CXFA_FFField * ToField(CXFA_FFWidget *widget)
constexpr float kXFAWidgetPrecision
RetainPtr< CFX_DIBitmap > XFA_LoadImageFromBuffer(RetainPtr< IFX_SeekableReadStream > pImageFileRead, FXCODEC_IMAGE_TYPE type, int32_t &iImageXDpi, int32_t &iImageYDpi)
void XFA_RectWithoutMargin(CFX_RectF *rt, const CXFA_Margin *margin)
void XFA_DrawImage(CFGAS_GEGraphics *pGS, const CFX_RectF &rtImage, const CFX_Matrix &matrix, RetainPtr< CFX_DIBitmap > pDIBitmap, XFA_AttributeValue iAspect, const CFX_Size &dpi, XFA_AttributeValue iHorzAlign, XFA_AttributeValue iVertAlign)
CXFA_Node * ToNode(CXFA_Object *pObj)
#define JSPLATFORM_ALERT_BUTTON_DEFAULT
#define JSPLATFORM_ALERT_ICON_ASTERISK
#define JSPLATFORM_ALERT_BUTTON_OKCANCEL
#define JSPLATFORM_ALERT_ICON_ERROR
#define JSPLATFORM_ALERT_BUTTON_YESNO
#define JSPLATFORM_ALERT_ICON_DEFAULT
#define JSPLATFORM_ALERT_ICON_WARNING
#define JSPLATFORM_ALERT_BUTTON_OK
#define JSPLATFORM_ALERT_ICON_QUESTION
#define JSPLATFORM_ALERT_ICON_STATUS
#define JSPLATFORM_ALERT_BUTTON_YESNOCANCEL
XFA_FWL_KeyFlag
XFA_FWL_VKEYCODE
FWL_WidgetHit
AlertIcon
Definition fxfa.h:20
XFA_PrintOpt
Definition fxfa.h:45
AlertButton
Definition fxfa.h:11
XFA_EventError
Definition fxfa.h:54
AlertReturn
Definition fxfa.h:30
XFA_WidgetStatus
Definition fxfa.h:61
FormType
Definition fxfa.h:38
@ kXFAForeground
XFA_Unit
Definition fxfa_basic.h:91
XFA_AttributeType
Definition fxfa_basic.h:83
XFA_Attribute
Definition fxfa_basic.h:67
XFA_XDPPACKET
Definition fxfa_basic.h:51
XFA_HashCode
Definition fxfa_basic.h:12
@ XFA_HASHCODE_Host
Definition fxfa_basic.h:24
@ XFA_HASHCODE_Log
Definition fxfa_basic.h:27
@ XFA_HASHCODE_Config
Definition fxfa_basic.h:15
@ XFA_HASHCODE_LocaleSet
Definition fxfa_basic.h:26
@ XFA_HASHCODE_Stylesheet
Definition fxfa_basic.h:34
@ XFA_HASHCODE_Xfdf
Definition fxfa_basic.h:40
@ XFA_HASHCODE_Name
Definition fxfa_basic.h:28
@ XFA_HASHCODE_XDP
Definition fxfa_basic.h:38
@ XFA_HASHCODE_DataWindow
Definition fxfa_basic.h:20
@ XFA_HASHCODE_Xfa
Definition fxfa_basic.h:39
@ XFA_HASHCODE_Template
Definition fxfa_basic.h:35
@ XFA_HASHCODE_None
Definition fxfa_basic.h:13
@ XFA_HASHCODE_Signature
Definition fxfa_basic.h:32
@ XFA_HASHCODE_Xdc
Definition fxfa_basic.h:37
@ XFA_HASHCODE_Data
Definition fxfa_basic.h:17
@ XFA_HASHCODE_Datasets
Definition fxfa_basic.h:19
@ XFA_HASHCODE_Form
Definition fxfa_basic.h:22
@ XFA_HASHCODE_Event
Definition fxfa_basic.h:21
@ XFA_HASHCODE_Pdf
Definition fxfa_basic.h:30
@ XFA_HASHCODE_ConnectionSet
Definition fxfa_basic.h:16
@ XFA_HASHCODE_Group
Definition fxfa_basic.h:23
@ XFA_HASHCODE_SourceSet
Definition fxfa_basic.h:33
@ XFA_HASHCODE_Record
Definition fxfa_basic.h:31
@ XFA_HASHCODE_Xmpmeta
Definition fxfa_basic.h:41
@ XFA_HASHCODE_This
Definition fxfa_basic.h:36
@ XFA_HASHCODE_DataDescription
Definition fxfa_basic.h:18
@ XFA_HASHCODE_Occur
Definition fxfa_basic.h:29
@ XFA_HASHCODE_Layout
Definition fxfa_basic.h:25
XFA_Element
Definition fxfa_basic.h:75
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
XFA_ScriptType
Definition fxfa_basic.h:104
FXGCScopedHeap FXGC_CreateHeap()
Definition heap.cpp:66
void FXGC_Release()
Definition heap.cpp:59
void FXGC_Initialize(v8::Platform *platform, v8::Isolate *isolate)
Definition heap.cpp:51
void FXGC_ForceGarbageCollection(cppgc::Heap *heap)
Definition heap.cpp:86
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12
#define CONSTRUCT_VIA_MAKE_RETAIN
Definition retain_ptr.h:224
void operator()(cppgc::Heap *heap)
Definition heap.cpp:91
FX_IMAGEDIB_AND_DPI(const FX_IMAGEDIB_AND_DPI &that)
FX_IMAGEDIB_AND_DPI(const RetainPtr< CFX_DIBBase > &pDib, int32_t xDpi, int32_t yDpi)
RetainPtr< CFX_DIBBase > pDibSource
Definition cxfa_ffdoc.h:50