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_Calculate Class Referencefinal

#include <cxfa_calculate.h>

+ Inheritance diagram for CXFA_Calculate:
+ Collaboration diagram for CXFA_Calculate:

Public Member Functions

 ~CXFA_Calculate () override
 
XFA_AttributeValue GetOverride ()
 
CXFA_ScriptGetScriptIfExists ()
 
WideString GetMessageText () const
 
- Public Member Functions inherited from CXFA_Node
 ~CXFA_Node () override
 
void Trace (cppgc::Visitor *visitor) const override
 
bool HasProperty (XFA_Element property) const
 
bool HasPropertyFlag (XFA_Element property, XFA_PropertyFlag flag) const
 
uint8_t PropertyOccurrenceCount (XFA_Element property) const
 
std::pair< CXFA_Node *, int32_t > GetProperty (int32_t index, XFA_Element eProperty) const
 
CXFA_NodeGetOrCreateProperty (int32_t index, XFA_Element eProperty)
 
void SendAttributeChangeMessage (XFA_Attribute eAttribute, bool bScriptModify)
 
bool HasAttribute (XFA_Attribute attr) const
 
XFA_AttributeType GetAttributeType (XFA_Attribute type) const
 
XFA_Attribute GetAttribute (size_t i) const
 
XFA_PacketType GetPacketType () const
 
void SetInitializedFlagAndNotify ()
 
void SetFlag (XFA_NodeFlag dwFlag)
 
void ClearFlag (XFA_NodeFlag dwFlag)
 
CXFA_NodeCreateInstanceIfPossible (bool bDataMerge)
 
int32_t GetCount ()
 
CXFA_NodeGetItemIfExists (int32_t iIndex)
 
void RemoveItem (CXFA_Node *pRemoveInstance, bool bRemoveDataBinding)
 
void InsertItem (CXFA_Node *pNewInstance, int32_t iPos, int32_t iCount, bool bMoveDataBindingNodes)
 
bool IsInitialized () const
 
bool IsUserInteractive () const
 
bool IsUnusedNode () const
 
bool IsLayoutGeneratedNode () const
 
bool PresenceRequiresSpace () const
 
void SetBindingNode (CXFA_Node *node)
 
void SetNodeAndDescendantsUnused ()
 
bool HasRemovedChildren () const
 
bool IsAttributeInXML ()
 
bool IsFormContainer () const
 
void SetXMLMappingNode (CFX_XMLNode *node)
 
CFX_XMLNodeGetXMLMappingNode () const
 
CFX_XMLNodeCreateXMLMappingNode ()
 
bool IsNeedSavingXMLNode () const
 
void SetToXML (const WideString &value)
 
uint32_t GetNameHash () const
 
bool IsUnnamed () const
 
CXFA_NodeGetModelNode ()
 
void UpdateNameHash ()
 
size_t CountChildren (XFA_Element eType, bool bOnlyChild)
 
template<typename T >
T * GetChild (size_t index, XFA_Element eType, bool bOnlyChild)
 
template<typename T >
const T * GetChild (size_t index, XFA_Element eType, bool bOnlyChild) const
 
bool IsAncestorOf (const CXFA_Node *that) const
 
void InsertChildAndNotify (int32_t index, CXFA_Node *pNode)
 
void InsertChildAndNotify (CXFA_Node *pNode, CXFA_Node *pBeforeNode)
 
void RemoveChildAndNotify (CXFA_Node *pNode, bool bNotify)
 
CXFA_NodeClone (bool bRecursive)
 
CXFA_NodeGetNextContainerSibling () const
 
CXFA_NodeGetPrevContainerSibling () const
 
CXFA_NodeGetFirstContainerChild () const
 
CXFA_NodeGetContainerParent () const
 
std::vector< CXFA_Node * > GetNodeListForType (XFA_Element eTypeFilter)
 
std::vector< CXFA_Node * > GetNodeListWithFilter (Mask< XFA_NodeFilter > dwFilter)
 
CXFA_NodeCreateSamePacketNode (XFA_Element eType)
 
CXFA_NodeCloneTemplateToForm (bool bRecursive)
 
CXFA_NodeGetTemplateNodeIfExists () const
 
void SetTemplateNode (CXFA_Node *pTemplateNode)
 
CXFA_NodeGetDataDescriptionNode ()
 
void SetDataDescriptionNode (CXFA_Node *pDataDescriptionNode)
 
CXFA_NodeGetBindData ()
 
bool HasBindItems () const
 
std::vector< CXFA_Node * > GetBindItemsCopy () const
 
void AddBindItem (CXFA_Node *pFormNode)
 
bool RemoveBindItem (CXFA_Node *pFormNode)
 
bool HasBindItem () const
 
CXFA_NodeGetContainerNode ()
 
GCedLocaleIfaceGetLocale ()
 
absl::optional< WideStringGetLocaleName ()
 
XFA_AttributeValue GetIntact ()
 
WideString GetNameExpression ()
 
CXFA_NodeGetFirstChildByName (WideStringView wsNodeName) const
 
CXFA_NodeGetFirstChildByName (uint32_t dwNodeNameHash) const
 
template<typename T >
T * GetFirstChildByClass (XFA_Element eType) const
 
CXFA_NodeGetNextSameNameSibling (uint32_t dwNodeNameHash) const
 
template<typename T >
T * GetNextSameNameSibling (WideStringView wsNodeName) const
 
template<typename T >
T * GetNextSameClassSibling (XFA_Element eType) const
 
CXFA_NodeGetOneChildNamed (WideStringView wsName)
 
CXFA_NodeGetOneChildOfClass (WideStringView wsClass)
 
std::vector< CXFA_Node * > GetSiblings (bool bIsClassName)
 
size_t GetIndex (bool bIsProperty, bool bIsClassIndex)
 
size_t GetIndexByName ()
 
size_t GetIndexByClassName ()
 
CXFA_NodeGetInstanceMgrOfSubform ()
 
absl::optional< bool > GetDefaultBoolean (XFA_Attribute attr) const
 
absl::optional< int32_t > GetDefaultInteger (XFA_Attribute attr) const
 
absl::optional< CXFA_MeasurementGetDefaultMeasurement (XFA_Attribute attr) const
 
absl::optional< WideStringGetDefaultCData (XFA_Attribute attr) const
 
absl::optional< XFA_AttributeValueGetDefaultEnum (XFA_Attribute attr) const
 
bool IsOpenAccess () const
 
CXFA_OccurGetOccurIfExists ()
 
CXFA_BorderGetBorderIfExists () const
 
CXFA_BorderGetOrCreateBorderIfPossible ()
 
CXFA_CaptionGetCaptionIfExists () const
 
CXFA_FontGetFontIfExists () const
 
CXFA_FontGetOrCreateFontIfPossible ()
 
float GetFontSize () const
 
FX_ARGB GetTextColor () const
 
float GetLineHeight () const
 
CXFA_MarginGetMarginIfExists () const
 
CXFA_ParaGetParaIfExists () const
 
CXFA_CalculateGetCalculateIfExists () const
 
CXFA_ValidateGetValidateIfExists () const
 
CXFA_ValidateGetOrCreateValidateIfPossible ()
 
CXFA_ValueGetFormValueIfExists () const
 
WideString GetRawValue () const
 
int32_t GetRotate () const
 
absl::optional< float > TryWidth ()
 
CXFA_NodeGetExclGroupIfExists ()
 
XFA_EventError ProcessEvent (CXFA_FFDocView *pDocView, XFA_AttributeValue iActivity, CXFA_EventParam *pEventParam)
 
XFA_EventError ProcessCalculate (CXFA_FFDocView *pDocView)
 
XFA_EventError ProcessValidate (CXFA_FFDocView *pDocView, int32_t iFlags)
 
XFA_EventError ExecuteScript (CXFA_FFDocView *pDocView, CXFA_Script *script, CXFA_EventParam *pEventParam)
 
BoolScriptResult ExecuteBoolScript (CXFA_FFDocView *pDocView, CXFA_Script *script, CXFA_EventParam *pEventParam)
 
CXFA_NodeGetUIChildNode ()
 
XFA_FFWidgetType GetFFWidgetType ()
 
CFX_RectF GetUIMargin ()
 
CXFA_BorderGetUIBorder ()
 
void SetPreNull (bool val)
 
bool IsNull () const
 
void SetIsNull (bool val)
 
void SetWidgetReady ()
 
bool IsWidgetReady () const
 
std::vector< CXFA_Event * > GetEventByActivity (XFA_AttributeValue iActivity, bool bIsFormReady)
 
void ResetData ()
 
void StartWidgetLayout (CXFA_FFDoc *doc, float *pCalcWidth, float *pCalcHeight)
 
absl::optional< float > FindSplitPos (CXFA_FFDocView *pDocView, size_t szBlockIndex, float fCalcHeight)
 
bool LoadCaption (CXFA_FFDoc *doc)
 
CXFA_TextLayoutGetCaptionTextLayout ()
 
CXFA_TextLayoutGetTextLayout ()
 
bool LoadLayoutImage (CXFA_FFDoc *doc)
 
bool LoadEditImage (CXFA_FFDoc *doc)
 
CFX_Size GetLayoutImageDpi () const
 
CFX_Size GetEditImageDpi () const
 
RetainPtr< CFX_DIBitmapGetLayoutImage ()
 
RetainPtr< CFX_DIBitmapGetEditImage ()
 
void SetLayoutImage (RetainPtr< CFX_DIBitmap > newImage)
 
void SetEditImage (RetainPtr< CFX_DIBitmap > newImage)
 
RetainPtr< CFGAS_GEFontGetFGASFont (CXFA_FFDoc *doc)
 
bool IsListBox ()
 
bool IsRadioButton ()
 
bool IsMultiLine ()
 
bool HasButtonRollover () const
 
bool HasButtonDown () const
 
float GetCheckButtonSize ()
 
XFA_CheckState GetCheckState ()
 
void SetCheckState (XFA_CheckState eCheckState)
 
CXFA_NodeGetSelectedMember ()
 
CXFA_NodeSetSelectedMember (WideStringView wsName)
 
void SetSelectedMemberByValue (WideStringView wsValue, bool bNotify, bool bScriptModify, bool bSyncData)
 
CXFA_NodeGetExclGroupFirstMember ()
 
CXFA_NodeGetExclGroupNextMember (CXFA_Node *pNode)
 
bool IsChoiceListAllowTextEntry ()
 
size_t CountChoiceListItems (bool bSaveValue)
 
absl::optional< WideStringGetChoiceListItem (int32_t nIndex, bool bSaveValue)
 
bool IsChoiceListMultiSelect ()
 
bool IsChoiceListCommitOnSelect ()
 
std::vector< WideStringGetChoiceListItems (bool bSaveValue)
 
int32_t CountSelectedItems ()
 
int32_t GetSelectedItem (int32_t nIndex)
 
std::vector< int32_t > GetSelectedItems ()
 
std::vector< WideStringGetSelectedItemsValue ()
 
void SetSelectedItems (const std::vector< int32_t > &iSelArray, bool bNotify, bool bScriptModify, bool bSyncData)
 
void InsertItem (const WideString &wsLabel, const WideString &wsValue, bool bNotify)
 
bool DeleteItem (int32_t nIndex, bool bNotify, bool bScriptModify)
 
void ClearAllSelections ()
 
bool GetItemState (int32_t nIndex)
 
void SetItemState (int32_t nIndex, bool bSelected, bool bNotify, bool bScriptModify)
 
WideString GetItemValue (WideStringView wsLabel)
 
bool IsHorizontalScrollPolicyOff ()
 
bool IsVerticalScrollPolicyOff ()
 
absl::optional< int32_t > GetNumberOfCells ()
 
bool SetValue (XFA_ValuePicture eValueType, const WideString &wsValue)
 
WideString GetValue (XFA_ValuePicture eValueType)
 
WideString GetPictureContent (XFA_ValuePicture ePicture)
 
WideString GetNormalizeDataValue (const WideString &wsValue)
 
WideString GetFormatDataValue (const WideString &wsValue)
 
WideString NormalizeNumStr (const WideString &wsValue)
 
std::pair< XFA_Element, int32_t > GetMaxChars () const
 
int32_t GetFracDigits () const
 
int32_t GetLeadDigits () const
 
WideString NumericLimit (const WideString &wsValue)
 
bool IsTransparent () const
 
bool IsProperty () const
 
- Public Member Functions inherited from CXFA_Object
virtual ~CXFA_Object ()
 
CXFA_DocumentGetDocument () const
 
XFA_ObjectType GetObjectType () const
 
bool IsList () const
 
bool IsNode () const
 
bool IsTreeList () const
 
bool IsContentNode () const
 
bool IsContainerNode () const
 
bool IsModelNode () const
 
bool IsNodeV () const
 
bool IsThisProxy () const
 
CXFA_ListAsList ()
 
CXFA_NodeAsNode ()
 
CXFA_TreeListAsTreeList ()
 
CXFA_ThisProxyAsThisProxy ()
 
CJX_ObjectJSObject ()
 
const CJX_ObjectJSObject () const
 
bool HasCreatedUIWidget () const
 
XFA_Element GetElementType () const
 
ByteStringView GetClassName () const
 
uint32_t GetClassHashCode () const
 
WideString GetSOMExpression ()
 
- Public Member Functions inherited from fxjs::GCedTreeNodeMixin< T >
- Public Member Functions inherited from fxcrt::TreeNodeBase< T >
 TreeNodeBase ()=default
 
virtual ~TreeNodeBase ()=default
 
T * GetParent () const
 
T * GetFirstChild () const
 
T * GetLastChild () const
 
T * GetNextSibling () const
 
T * GetPrevSibling () const
 
bool HasChild (const T *child) const
 
T * GetNthChild (int32_t n)
 
void AppendFirstChild (T *child)
 
void AppendLastChild (T *child)
 
void InsertBefore (T *child, T *other)
 
void InsertAfter (T *child, T *other)
 
void RemoveChild (T *child)
 
void RemoveAllChildren ()
 
void RemoveSelfIfParented ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Additional Inherited Members

- Static Public Member Functions inherited from CXFA_Node
static CXFA_NodeCreate (CXFA_Document *doc, XFA_Element element, XFA_PacketType packet)
 
- Protected Member Functions inherited from CXFA_Node
 CXFA_Node (CXFA_Document *pDoc, XFA_PacketType ePacket, Mask< XFA_XDPPACKET > validPackets, XFA_ObjectType oType, XFA_Element eType, pdfium::span< const PropertyData > properties, pdfium::span< const AttributeData > attributes, CJX_Object *js_object)
 
virtual XFA_Element GetValueNodeType () const
 
virtual XFA_FFWidgetType GetDefaultFFWidgetType () const
 
- Protected Member Functions inherited from CXFA_Object
 CXFA_Object (CXFA_Document *pDocument, XFA_ObjectType objectType, XFA_Element eType, CJX_Object *jsObject)
 
- Protected Member Functions inherited from fxjs::GCedTreeNodeMixin< T >
 GCedTreeNodeMixin ()=default
 
 GCedTreeNodeMixin (const GCedTreeNodeMixin &that)=delete
 
GCedTreeNodeMixinoperator= (const GCedTreeNodeMixin &that)=delete
 
- Protected Attributes inherited from CXFA_Object
const XFA_ObjectType m_objectType
 
const XFA_Element m_elementType
 
const ByteStringView m_elementName
 
const uint32_t m_elementNameHash
 
cppgc::WeakMember< CXFA_Documentm_pDocument
 
cppgc::Member< CJX_Objectm_pJSObject
 

Detailed Description

Definition at line 14 of file cxfa_calculate.h.

Constructor & Destructor Documentation

◆ ~CXFA_Calculate()

CXFA_Calculate::~CXFA_Calculate ( )
overridedefault

Member Function Documentation

◆ GetMessageText()

WideString CXFA_Calculate::GetMessageText ( ) const

Definition at line 57 of file cxfa_calculate.cpp.

References fxcrt::WideString::WideString().

Referenced by CXFA_FFField::CalculateNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetOverride()

XFA_AttributeValue CXFA_Calculate::GetOverride ( )

Definition at line 47 of file cxfa_calculate.cpp.

Referenced by CXFA_FFField::CalculateNode().

+ Here is the caller graph for this function:

◆ GetScriptIfExists()

CXFA_Script * CXFA_Calculate::GetScriptIfExists ( )

Definition at line 53 of file cxfa_calculate.cpp.

Referenced by CXFA_FFField::CalculateNode(), CXFA_FFWidgetHandler::HasEvent(), CXFA_Node::ProcessCalculate(), and XFA_ProcessEvent().

+ Here is the caller graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_Calculate::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 16 of file cxfa_calculate.h.


The documentation for this class was generated from the following files: