Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdfxfa_docenvironment.h>
Public Member Functions | |
CPDFXFA_DocEnvironment (CPDFXFA_Context *) | |
~CPDFXFA_DocEnvironment () override | |
void | SetChangeMark (CXFA_FFDoc *hDoc) override |
void | InvalidateRect (CXFA_FFPageView *pPageView, const CFX_RectF &rt) override |
void | DisplayCaret (CXFA_FFWidget *hWidget, bool bVisible, const CFX_RectF *pRtAnchor) override |
bool | GetPopupPos (CXFA_FFWidget *hWidget, float fMinPopup, float fMaxPopup, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) override |
bool | PopupMenu (CXFA_FFWidget *hWidget, const CFX_PointF &ptPopup) override |
void | OnPageViewEvent (CXFA_FFPageView *pPageView, CXFA_FFDoc::PageViewEvent eEvent) override |
void | WidgetPostAdd (CXFA_FFWidget *hWidget) override |
void | WidgetPreRemove (CXFA_FFWidget *hWidget) override |
int32_t | CountPages (const CXFA_FFDoc *hDoc) const override |
int32_t | GetCurrentPage (const CXFA_FFDoc *hDoc) const override |
void | SetCurrentPage (CXFA_FFDoc *hDoc, int32_t iCurPage) override |
bool | IsCalculationsEnabled (const CXFA_FFDoc *hDoc) const override |
void | SetCalculationsEnabled (CXFA_FFDoc *hDoc, bool bEnabled) override |
WideString | GetTitle (const CXFA_FFDoc *hDoc) const override |
void | SetTitle (CXFA_FFDoc *hDoc, const WideString &wsTitle) override |
void | ExportData (CXFA_FFDoc *hDoc, const WideString &wsFilePath, bool bXDP) override |
void | GotoURL (CXFA_FFDoc *hDoc, const WideString &bsURL) override |
bool | IsValidationsEnabled (const CXFA_FFDoc *hDoc) const override |
void | SetValidationsEnabled (CXFA_FFDoc *hDoc, bool bEnabled) override |
void | SetFocusWidget (CXFA_FFDoc *hDoc, CXFA_FFWidget *hWidget) override |
void | Print (CXFA_FFDoc *hDoc, int32_t nStartPage, int32_t nEndPage, Mask< XFA_PrintOpt > dwOptions) override |
FX_ARGB | GetHighlightColor (const CXFA_FFDoc *hDoc) const override |
IJS_Runtime * | GetIJSRuntime (const CXFA_FFDoc *hDoc) const override |
CFX_XMLDocument * | GetXMLDoc () const override |
RetainPtr< IFX_SeekableReadStream > | OpenLinkedFile (CXFA_FFDoc *hDoc, const WideString &wsLink) override |
Public Member Functions inherited from CXFA_FFDoc::CallbackIface | |
virtual | ~CallbackIface ()=default |
Definition at line 19 of file cpdfxfa_docenvironment.h.
|
explicit |
Definition at line 55 of file cpdfxfa_docenvironment.cpp.
References CPDFXFA_DocEnvironment().
Referenced by CPDFXFA_DocEnvironment().
|
overridedefault |
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 350 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 86 of file cpdfxfa_docenvironment.cpp.
References CFX_FloatRect::bottom, CXFA_FFWidget::GetPageView(), CFX_FloatRect::left, CFX_FloatRect::right, CFX_RectF::ToFloatRect(), and CFX_FloatRect::top.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 428 of file cpdfxfa_docenvironment.cpp.
References fxcrt::ByteString::c_str(), fxcrt::ByteString::Format(), fxcrt::WideString::FromUTF16LE(), CPDFSDK_FormFillEnvironment::GetFormFillInfo(), CXFA_FFDoc::GetXFADoc(), CXFA_Document::GetXFAObject(), fxcrt::WideString::IsEmpty(), _FPDF_FORMFILLINFO::m_pJsPlatform, fxcrt::ByteString::operator=(), CXFA_FFDoc::SavePackage(), ToNode(), fxcrt::WideString::ToUTF16LE(), fxcrt::WideString::ToUTF8(), XFA_HASHCODE_Data, XFA_HASHCODE_Datasets, and XFA_HASHCODE_Form.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 356 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 604 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 615 of file cpdfxfa_docenvironment.cpp.
References CPDFSDK_FormFillEnvironment::GetIJSRuntime().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 118 of file cpdfxfa_docenvironment.cpp.
References CFX_RectF::bottom(), CXFA_FFWidget::GetNode(), CXFA_FFWidget::GetPageView(), CXFA_Node::GetRotate(), CFX_RectF::height, CFX_RectF::left, CFX_RectF::right(), CFX_RectF::top, and CFX_RectF::width.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 398 of file cpdfxfa_docenvironment.cpp.
References fxcrt::WideString::WideString(), and fxcrt::WideString::FromDefANSI().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 624 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 521 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 67 of file cpdfxfa_docenvironment.cpp.
References CPDFSDK_FormFillEnvironment::Invalidate(), CFX_RectF::ToFloatRect(), and CFX_FloatRect::ToFxRect().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 382 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 536 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 281 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 628 of file cpdfxfa_docenvironment.cpp.
References AsFPDFWideString(), and fxcrt::WideString::ToUTF16LE().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 247 of file cpdfxfa_docenvironment.cpp.
References CXFA_FFWidget::GetPageView().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 580 of file cpdfxfa_docenvironment.cpp.
References _IPDF_JsPlatform::Doc_print, CPDFSDK_FormFillEnvironment::GetFormFillInfo(), kAsImage, kCanCancel, kPrintAnnot, kReverseOrder, kShowDialog, kShrinkPage, and _FPDF_FORMFILLINFO::m_pJsPlatform.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 390 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 62 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 367 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 554 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 414 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 545 of file cpdfxfa_docenvironment.cpp.
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 317 of file cpdfxfa_docenvironment.cpp.
References CXFA_FFWidget::GetPageView().
|
overridevirtual |
Implements CXFA_FFDoc::CallbackIface.
Definition at line 333 of file cpdfxfa_docenvironment.cpp.
References CXFA_FFWidget::GetPageView().