Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_node.h>
Inherits CXFA_Object, and fxjs::GCedTreeNodeMixin< T >.
Inherited by CXFA_ADBE_JSConsole, CXFA_ADBE_JSDebugger, CXFA_AccessibleContent, CXFA_Acrobat, CXFA_Acrobat7, CXFA_AddSilentPrint, CXFA_AddViewerPreferences, CXFA_AdjustData, CXFA_AdobeExtensionLevel, CXFA_Agent, CXFA_AlwaysEmbed, CXFA_Amd, CXFA_AppearanceFilter, CXFA_Area, CXFA_Assist, CXFA_Attributes, CXFA_AutoSave, CXFA_Barcode, CXFA_Base, CXFA_BatchOutput, CXFA_BehaviorOverride, CXFA_Bind, CXFA_BindItems, CXFA_Bookend, CXFA_Boolean, CXFA_Box, CXFA_Break, CXFA_BreakAfter, CXFA_BreakBefore, CXFA_Button, CXFA_Cache, CXFA_Calculate, CXFA_CalendarSymbols, CXFA_Caption, CXFA_Certificate, CXFA_Certificates, CXFA_Change, CXFA_CheckButton, CXFA_ChoiceList, CXFA_Color, CXFA_Comb, CXFA_Command, CXFA_Common, CXFA_Compress, CXFA_CompressLogicalStructure, CXFA_CompressObjectStream, CXFA_Compression, CXFA_Config, CXFA_Conformance, CXFA_Connect, CXFA_ConnectString, CXFA_ConnectionSet, CXFA_ContentArea, CXFA_ContentCopy, CXFA_Copies, CXFA_Creator, CXFA_CurrencySymbol, CXFA_CurrencySymbols, CXFA_CurrentPage, CXFA_DSigData, CXFA_Data, CXFA_DataGroup, CXFA_DataModel, CXFA_DataValue, CXFA_Date, CXFA_DatePattern, CXFA_DatePatterns, CXFA_DateTime, CXFA_DateTimeEdit, CXFA_DateTimeSymbols, CXFA_Day, CXFA_DayNames, CXFA_Debug, CXFA_Decimal, CXFA_DefaultTypeface, CXFA_DefaultUi, CXFA_Delete, CXFA_Delta, CXFA_Desc, CXFA_Destination, CXFA_DigestMethod, CXFA_DigestMethods, CXFA_DocumentAssembly, CXFA_Draw, CXFA_Driver, CXFA_DuplexOption, CXFA_DynamicRender, CXFA_EffectiveInputPolicy, CXFA_EffectiveOutputPolicy, CXFA_Embed, CXFA_Encoding, CXFA_Encodings, CXFA_Encrypt, CXFA_Encryption, CXFA_EncryptionLevel, CXFA_EncryptionMethod, CXFA_EncryptionMethods, CXFA_Enforce, CXFA_Equate, CXFA_EquateRange, CXFA_Era, CXFA_EraNames, CXFA_Event, CXFA_ExData, CXFA_ExObject, CXFA_ExclGroup, CXFA_Exclude, CXFA_ExcludeNS, CXFA_Execute, CXFA_Extras, CXFA_Field, CXFA_Fill, CXFA_Filter, CXFA_FlipLabel, CXFA_Float, CXFA_Font, CXFA_FontInfo, CXFA_Form, CXFA_FormFieldFilling, CXFA_Format, CXFA_GroupParent, CXFA_Handler, CXFA_Hyphenation, CXFA_IfEmpty, CXFA_Image, CXFA_ImageEdit, CXFA_IncludeXDPContent, CXFA_IncrementalLoad, CXFA_IncrementalMerge, CXFA_Insert, CXFA_InstanceManager, CXFA_Integer, CXFA_Interactive, CXFA_Issuers, CXFA_Items, CXFA_Jog, CXFA_Keep, CXFA_KeyUsage, CXFA_LabelPrinter, CXFA_Layout, CXFA_Level, CXFA_Line, CXFA_Linear, CXFA_Linearized, CXFA_Locale, CXFA_LocaleSet, CXFA_LockDocument, CXFA_Log, CXFA_Manifest, CXFA_Map, CXFA_Margin, CXFA_Mdp, CXFA_Medium, CXFA_MediumInfo, CXFA_Meridiem, CXFA_MeridiemNames, CXFA_Message, CXFA_Messaging, CXFA_Mode, CXFA_ModifyAnnots, CXFA_Month, CXFA_MonthNames, CXFA_MsgId, CXFA_NameAttr, CXFA_NeverEmbed, CXFA_NumberOfCopies, CXFA_NumberPattern, CXFA_NumberPatterns, CXFA_NumberSymbol, CXFA_NumberSymbols, CXFA_NumericEdit, CXFA_Occur, CXFA_Oid, CXFA_Oids, CXFA_OpenAction, CXFA_Operation, CXFA_Output, CXFA_OutputBin, CXFA_OutputXSL, CXFA_Overflow, CXFA_Overprint, CXFA_Packet, CXFA_Packets, CXFA_PageArea, CXFA_PageOffset, CXFA_PageRange, CXFA_PageSet, CXFA_Pagination, CXFA_PaginationOverride, CXFA_Para, CXFA_Part, CXFA_Password, CXFA_PasswordEdit, CXFA_Pattern, CXFA_Pcl, CXFA_Pdf, CXFA_Pdfa, CXFA_Permissions, CXFA_PickTrayByPDFSize, CXFA_Picture, CXFA_PlaintextMetadata, CXFA_Presence, CXFA_Present, CXFA_Print, CXFA_PrintHighQuality, CXFA_PrintScaling, CXFA_PrinterName, CXFA_Producer, CXFA_Proto, CXFA_Ps, CXFA_PsMap, CXFA_Query, CXFA_Radial, CXFA_Range, CXFA_Reason, CXFA_Reasons, CXFA_Record, CXFA_RecordSet, CXFA_Ref, CXFA_Relevant, CXFA_Rename, CXFA_RenderPolicy, CXFA_RootElement, CXFA_RunScripts, CXFA_Script, CXFA_ScriptModel, CXFA_Select, CXFA_SetProperty, CXFA_Severity, CXFA_Sharptext, CXFA_SharpxHTML, CXFA_Sharpxml, CXFA_SignData, CXFA_Signature, CXFA_SignatureProperties, CXFA_Signing, CXFA_SilentPrint, CXFA_SoapAction, CXFA_SoapAddress, CXFA_Solid, CXFA_Source, CXFA_SourceSet, CXFA_Speak, CXFA_Staple, CXFA_StartNode, CXFA_StartPage, CXFA_Stipple, CXFA_Stroke, CXFA_Subform, CXFA_SubformSet, CXFA_SubjectDN, CXFA_SubjectDNs, CXFA_Submit, CXFA_SubmitFormat, CXFA_SubmitUrl, CXFA_SubsetBelow, CXFA_SuppressBanner, CXFA_Tagged, CXFA_Template, CXFA_TemplateCache, CXFA_Text, CXFA_TextEdit, CXFA_Threshold, CXFA_Time, CXFA_TimePattern, CXFA_TimePatterns, CXFA_TimeStamp, CXFA_To, CXFA_ToolTip, CXFA_Trace, CXFA_Transform, CXFA_Traversal, CXFA_Traverse, CXFA_Type, CXFA_Typeface, CXFA_Typefaces, CXFA_Ui, CXFA_Update, CXFA_Uri, CXFA_User, CXFA_Validate, CXFA_ValidateApprovalSignatures, CXFA_ValidationMessaging, CXFA_Value, CXFA_Variables, CXFA_Version, CXFA_VersionControl, CXFA_ViewerPreferences, CXFA_WebClient, CXFA_Whitespace, CXFA_Window, CXFA_WsdlAddress, CXFA_WsdlConnection, CXFA_Xdc, CXFA_Xdp, CXFA_Xfa, CXFA_XmlConnection, CXFA_XsdConnection, CXFA_Xsl, and CXFA_Zpl.
Classes | |
struct | AttributeData |
struct | BoolScriptResult |
struct | PropertyData |
Static Public Member Functions | |
static CXFA_Node * | Create (CXFA_Document *doc, XFA_Element element, XFA_PacketType packet) |
Protected Member Functions | |
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 | |
GCedTreeNodeMixin & | operator= (const GCedTreeNodeMixin &that)=delete |
Additional Inherited Members | |
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_Document > | m_pDocument |
cppgc::Member< CJX_Object > | m_pJSObject |
Definition at line 93 of file cxfa_node.h.
|
overridedefault |
|
protected |
Definition at line 988 of file cxfa_node.cpp.
References CXFA_Node(), and CXFA_Object::CXFA_Object().
Referenced by CXFA_Node().
Definition at line 1314 of file cxfa_node.cpp.
References SetBindingNode().
void CXFA_Node::ClearAllSelections | ( | ) |
Definition at line 4413 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), GetBindData(), IsChoiceListMultiSelect(), and RemoveChildAndNotify().
Referenced by ResetData().
void CXFA_Node::ClearFlag | ( | XFA_NodeFlag | dwFlag | ) |
Definition at line 1824 of file cxfa_node.cpp.
Referenced by CXFA_Document::DoDataMerge(), InsertChildAndNotify(), ProcessValidate(), and XFA_NodeMerge_CloneOrMergeContainer().
CXFA_Node * CXFA_Node::Clone | ( | bool | bRecursive | ) |
Definition at line 1015 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), Clone(), InsertChildAndNotify(), IsAttributeInXML(), fxcrt::WideString::IsEmpty(), IsNeedSavingXMLNode(), SetBindingNode(), SetInitializedFlagAndNotify(), SetXMLMappingNode(), and UpdateNameHash().
Referenced by Clone().
CXFA_Node * CXFA_Node::CloneTemplateToForm | ( | bool | bRecursive | ) |
Definition at line 1276 of file cxfa_node.cpp.
References CloneTemplateToForm(), GetXMLMappingNode(), InsertChildAndNotify(), SetInitializedFlagAndNotify(), SetTemplateNode(), SetXMLMappingNode(), and UpdateNameHash().
Referenced by CloneTemplateToForm(), and XFA_NodeMerge_CloneOrMergeContainer().
size_t CXFA_Node::CountChildren | ( | XFA_Element | eType, |
bool | bOnlyChild ) |
Definition at line 1567 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), HasProperty(), and Unknown.
size_t CXFA_Node::CountChoiceListItems | ( | bool | bSaveValue | ) |
Definition at line 4194 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and Unknown.
int32_t CXFA_Node::CountSelectedItems | ( | ) |
Definition at line 4286 of file cxfa_node.cpp.
References IsChoiceListAllowTextEntry(), and IsListBox().
|
static |
Definition at line 5117 of file cxfa_node.cpp.
References Unknown.
Referenced by CXFA_Document::CreateNode(), and TEST_F().
CXFA_Node * CXFA_Node::CreateInstanceIfPossible | ( | bool | bDataMerge | ) |
Definition at line 2016 of file cxfa_node.cpp.
References CXFA_Document::DataMerge_CopyContainer(), CXFA_Document::DataMerge_UpdateBindingRelations(), GetBindData(), CXFA_Object::GetDocument(), GetTemplateNodeIfExists(), CXFA_Document::GetXFAObject(), CXFA_Object::IsContainerNode(), RemoveChildAndNotify(), ToNode(), and XFA_HASHCODE_Record.
CXFA_Node * CXFA_Node::CreateSamePacketNode | ( | XFA_Element | eType | ) |
Definition at line 1267 of file cxfa_node.cpp.
References SetInitializedFlagAndNotify().
Referenced by InsertItem(), CJX_Object::SetContent(), and CJX_Object::TryContent().
CFX_XMLNode * CXFA_Node::CreateXMLMappingNode | ( | ) |
Definition at line 1847 of file cxfa_node.cpp.
Referenced by CFXJSE_NodeHelper::CreateNode(), and CJX_Object::SetContent().
bool CXFA_Node::DeleteItem | ( | int32_t | nIndex, |
bool | bNotify, | ||
bool | bScriptModify ) |
Definition at line 4563 of file cxfa_node.cpp.
References CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), RemoveChildAndNotify(), and SetItemState().
CXFA_Node::BoolScriptResult CXFA_Node::ExecuteBoolScript | ( | CXFA_FFDocView * | pDocView, |
CXFA_Script * | script, | ||
CXFA_EventParam * | pEventParam ) |
Definition at line 2746 of file cxfa_node.cpp.
References CFXJSE_Engine::EventParamScope::EventParamScope(), CXFA_FFDocView::AddValidateNode(), CFXJSE_Engine::EventParamScope, CXFA_Script::GetContentType(), CXFA_FFDocView::GetDoc(), CXFA_Script::GetExpression(), CFX_V8::GetIsolate(), GetRawValue(), CXFA_Script::GetRunAt(), CXFA_Document::GetScriptContext(), CXFA_FFDoc::GetXFADoc(), fxcrt::WideString::IsEmpty(), kDisabled, kError, kNotExist, kRaw, kSuccess, CXFA_EventParam::m_bTargeted, CXFA_EventParam::m_eType, CFXJSE_Engine::RunScript(), CFXJSE_Engine::SetRunAtType(), SetValue(), CFXJSE_Context::ExecutionResult::status, CXFA_Script::Unknown, XFA_EVENT_Calculate, and XFA_EVENT_InitCalculate.
Referenced by ExecuteScript(), ProcessValidate(), and CXFA_FFNotify::RunScript().
XFA_EventError CXFA_Node::ExecuteScript | ( | CXFA_FFDocView * | pDocView, |
CXFA_Script * | script, | ||
CXFA_EventParam * | pEventParam ) |
Definition at line 2740 of file cxfa_node.cpp.
References ExecuteBoolScript(), and CXFA_Node::BoolScriptResult::xfa_event_result.
Referenced by ProcessCalculate(), and XFA_ProcessEvent().
absl::optional< float > CXFA_Node::FindSplitPos | ( | CXFA_FFDocView * | pDocView, |
size_t | szBlockIndex, | ||
float | fCalcHeight ) |
Definition at line 3589 of file cxfa_node.cpp.
References CXFA_Margin::GetBottomInset(), GetCaptionIfExists(), CXFA_Document::GetCurVersionMode(), CXFA_FFDocView::GetDoc(), GetFFWidgetType(), GetFontSize(), GetLineHeight(), GetMarginIfExists(), GetParaIfExists(), CXFA_Caption::GetPlacementType(), CXFA_Caption::GetReserve(), CXFA_Para::GetSpaceAbove(), CXFA_Para::GetSpaceBelow(), CXFA_Margin::GetTopInset(), GetUIMargin(), GetValue(), CXFA_Para::GetVerticalAlign(), CXFA_FFDoc::GetXFADoc(), fxcrt::WideString::IsEmpty(), CXFA_Caption::IsHidden(), kDisplay, kNumericEdit, kPasswordEdit, kText, kTextEdit, kXFAWidgetPrecision, CFX_RectF::top, CFX_RectF::width, and XFA_VERSION_208.
XFA_Attribute CXFA_Node::GetAttribute | ( | size_t | i | ) | const |
Definition at line 1191 of file cxfa_node.cpp.
XFA_AttributeType CXFA_Node::GetAttributeType | ( | XFA_Attribute | type | ) | const |
Definition at line 1196 of file cxfa_node.cpp.
References CData, and CXFA_Node::AttributeData::type.
Referenced by CJX_Object::SetAttributeByEnum(), and CJX_Object::TryAttribute().
CXFA_Node * CXFA_Node::GetBindData | ( | ) |
Definition at line 1305 of file cxfa_node.cpp.
References GetPacketType().
Referenced by ClearAllSelections(), CreateInstanceIfPossible(), GetContainerNode(), InsertItem(), RemoveItem(), CJX_Object::SetContent(), and XFA_DataMerge_FindDataScope().
std::vector< CXFA_Node * > CXFA_Node::GetBindItemsCopy | ( | ) | const |
Definition at line 1310 of file cxfa_node.cpp.
CXFA_Border * CXFA_Node::GetBorderIfExists | ( | ) | const |
Definition at line 2265 of file cxfa_node.cpp.
CXFA_Calculate * CXFA_Node::GetCalculateIfExists | ( | ) | const |
Definition at line 2335 of file cxfa_node.cpp.
Referenced by CXFA_FFField::CalculateNode(), CXFA_FFWidgetHandler::HasEvent(), ProcessCalculate(), CXFA_FFWidgetHandler::ProcessEvent(), and XFA_ProcessEvent().
CXFA_Caption * CXFA_Node::GetCaptionIfExists | ( | ) | const |
Definition at line 2273 of file cxfa_node.cpp.
Referenced by FindSplitPos(), and CXFA_FieldLayoutData::LoadCaption().
CXFA_TextLayout * CXFA_Node::GetCaptionTextLayout | ( | ) |
Definition at line 3895 of file cxfa_node.cpp.
Referenced by CXFA_FFNotify::OnValueChanged().
float CXFA_Node::GetCheckButtonSize | ( | ) |
Definition at line 3980 of file cxfa_node.cpp.
References CXFA_Measurement::CXFA_Measurement(), GetUIChildNode(), Pt, and CXFA_Measurement::ToUnit().
XFA_CheckState CXFA_Node::GetCheckState | ( | ) |
Definition at line 3989 of file cxfa_node.cpp.
References GetRawValue(), fxcrt::WideString::IsEmpty(), and kOff.
Referenced by GetSelectedMember().
|
inline |
Definition at line 198 of file cxfa_node.h.
|
inline |
Definition at line 203 of file cxfa_node.h.
absl::optional< WideString > CXFA_Node::GetChoiceListItem | ( | int32_t | nIndex, |
bool | bSaveValue ) |
Definition at line 4221 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and Unknown.
std::vector< WideString > CXFA_Node::GetChoiceListItems | ( | bool | bSaveValue | ) |
Definition at line 4258 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
CXFA_Node * CXFA_Node::GetContainerNode | ( | ) |
Definition at line 1363 of file cxfa_node.cpp.
References GetBindData(), GetContainerNode(), CXFA_Object::GetElementType(), GetPacketType(), GetPictureContent(), IsChoiceListMultiSelect(), fxcrt::WideString::IsEmpty(), and kDataBind.
Referenced by GetContainerNode().
CXFA_Node * CXFA_Node::GetContainerParent | ( | ) | const |
Definition at line 1080 of file cxfa_node.cpp.
References ContainerNode.
Referenced by CXFA_TraverseStrategy_XFAContainerNode::GetParent(), and IsOpenAccess().
int32_t CXFA_Node::GetCount | ( | ) |
Definition at line 1891 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), GetNameHash(), and fxcrt::WideString::operator[]().
Referenced by testing.tools.safetynet_conclusions.ComparisonSummary::GetOutputDict(), and InsertItem().
CXFA_Node * CXFA_Node::GetDataDescriptionNode | ( | ) |
Definition at line 1531 of file cxfa_node.cpp.
absl::optional< bool > CXFA_Node::GetDefaultBoolean | ( | XFA_Attribute | attr | ) | const |
Definition at line 2045 of file cxfa_node.cpp.
absl::optional< WideString > CXFA_Node::GetDefaultCData | ( | XFA_Attribute | attr | ) | const |
Definition at line 2072 of file cxfa_node.cpp.
absl::optional< XFA_AttributeValue > CXFA_Node::GetDefaultEnum | ( | XFA_Attribute | attr | ) | const |
Definition at line 2081 of file cxfa_node.cpp.
|
protectedvirtual |
Reimplemented in CXFA_Barcode, CXFA_Button, CXFA_CheckButton, CXFA_ChoiceList, CXFA_DateTimeEdit, CXFA_DefaultUi, CXFA_ImageEdit, CXFA_NumericEdit, CXFA_PasswordEdit, CXFA_Signature, and CXFA_TextEdit.
Definition at line 2933 of file cxfa_node.cpp.
absl::optional< int32_t > CXFA_Node::GetDefaultInteger | ( | XFA_Attribute | attr | ) | const |
Definition at line 2053 of file cxfa_node.cpp.
absl::optional< CXFA_Measurement > CXFA_Node::GetDefaultMeasurement | ( | XFA_Attribute | attr | ) | const |
Definition at line 2061 of file cxfa_node.cpp.
RetainPtr< CFX_DIBitmap > CXFA_Node::GetEditImage | ( | ) |
Definition at line 3910 of file cxfa_node.cpp.
CFX_Size CXFA_Node::GetEditImageDpi | ( | ) | const |
Definition at line 3449 of file cxfa_node.cpp.
std::vector< CXFA_Event * > CXFA_Node::GetEventByActivity | ( | XFA_AttributeValue | iActivity, |
bool | bIsFormReady ) |
Definition at line 3036 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetExclGroupFirstMember | ( | ) |
Definition at line 4136 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
Referenced by CXFA_FFField::CalculateOverride().
CXFA_Node * CXFA_Node::GetExclGroupIfExists | ( | ) |
Definition at line 2417 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
Referenced by SetCheckState().
Definition at line 4147 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
Referenced by CXFA_FFField::CalculateOverride().
XFA_FFWidgetType CXFA_Node::GetFFWidgetType | ( | ) |
Definition at line 2984 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by FindSplitPos(), CPDFXFA_Widget::GetViewBBox(), CXFA_FFNotify::OnCreateContentLayoutItem(), CXFA_FFNotify::OnWidgetListItemAdded(), CXFA_FFNotify::OnWidgetListItemRemoved(), CXFA_FFNotify::OpenDropDownList(), ResetData(), StartWidgetLayout(), and CXFA_FFDocView::UpdateUIDisplay().
RetainPtr< CFGAS_GEFont > CXFA_Node::GetFGASFont | ( | CXFA_FFDoc * | doc | ) |
Definition at line 3930 of file cxfa_node.cpp.
References CXFA_FFDoc::GetApp(), CXFA_FontMgr::GetFont(), GetFontIfExists(), CXFA_Font::GetTypeface(), CXFA_FFApp::GetXFAFontMgr(), CXFA_Font::IsBold(), CXFA_Font::IsItalic(), and fxcrt::WideString::operator=().
Referenced by CXFA_FWLTheme::GetFont().
|
inline |
Definition at line 244 of file cxfa_node.h.
CXFA_Node * CXFA_Node::GetFirstChildByName | ( | uint32_t | dwNodeNameHash | ) | const |
Definition at line 1673 of file cxfa_node.cpp.
References GetNameHash().
CXFA_Node * CXFA_Node::GetFirstChildByName | ( | WideStringView | wsNodeName | ) | const |
Definition at line 1669 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetFirstContainerChild | ( | ) | const |
Definition at line 1072 of file cxfa_node.cpp.
References ContainerNode.
Referenced by CXFA_FFDocView::ExecEventActivityByDeepFirst(), CXFA_TraverseStrategy_XFAContainerNode::GetFirstChild(), and ResetData().
CXFA_Font * CXFA_Node::GetFontIfExists | ( | ) | const |
Definition at line 2281 of file cxfa_node.cpp.
Referenced by GetFGASFont(), GetFontSize(), and GetTextColor().
float CXFA_Node::GetFontSize | ( | ) | const |
Definition at line 2285 of file cxfa_node.cpp.
References GetFontIfExists(), and CXFA_Font::GetFontSize().
Referenced by FindSplitPos(), CXFA_FWLTheme::GetFontSize(), and GetLineHeight().
WideString CXFA_Node::GetFormatDataValue | ( | const WideString & | wsValue | ) |
Definition at line 4903 of file cxfa_node.cpp.
References CXFA_LocaleValue::CXFA_LocaleValue(), fxcrt::WideString::WideString(), CXFA_LocaleValue::FormatPatterns(), CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), GetLocale(), GetPictureContent(), CXFA_LocaleValue::GetType(), fxcrt::WideString::IsEmpty(), kDataBind, CXFA_LocaleValue::kDate, and CXFA_LocaleValue::kTime.
Referenced by SetItemState(), and SetSelectedItems().
CXFA_Value * CXFA_Node::GetFormValueIfExists | ( | ) | const |
Definition at line 2331 of file cxfa_node.cpp.
Referenced by CXFA_ImageEditData::LoadImageData(), and CXFA_ImageLayoutData::LoadImageData().
int32_t CXFA_Node::GetFracDigits | ( | ) | const |
Definition at line 4652 of file cxfa_node.cpp.
Referenced by NormalizeNumStr(), and NumericLimit().
size_t CXFA_Node::GetIndex | ( | bool | bIsProperty, |
bool | bIsClassIndex ) |
Definition at line 1742 of file cxfa_node.cpp.
References CXFA_Object::GetClassHashCode(), and GetNameHash().
size_t CXFA_Node::GetIndexByClassName | ( | ) |
Definition at line 1766 of file cxfa_node.cpp.
size_t CXFA_Node::GetIndexByName | ( | ) |
Definition at line 1762 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetInstanceMgrOfSubform | ( | ) |
Definition at line 1770 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and fxcrt::WideString::operator[]().
XFA_AttributeValue CXFA_Node::GetIntact | ( | ) |
Definition at line 1465 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), GetIntact(), and XFA_VERSION_208.
Referenced by GetIntact().
CXFA_Node * CXFA_Node::GetItemIfExists | ( | int32_t | iIndex | ) |
Definition at line 1860 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), GetNameHash(), and fxcrt::WideString::operator[]().
Referenced by InsertItem().
bool CXFA_Node::GetItemState | ( | int32_t | nIndex | ) |
Definition at line 4337 of file cxfa_node.cpp.
WideString CXFA_Node::GetItemValue | ( | WideStringView | wsLabel | ) |
Definition at line 4521 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), CXFA_Object::GetElementType(), and Unknown.
RetainPtr< CFX_DIBitmap > CXFA_Node::GetLayoutImage | ( | ) |
Definition at line 3905 of file cxfa_node.cpp.
CFX_Size CXFA_Node::GetLayoutImageDpi | ( | ) | const |
Definition at line 3445 of file cxfa_node.cpp.
int32_t CXFA_Node::GetLeadDigits | ( | ) | const |
Definition at line 4667 of file cxfa_node.cpp.
Referenced by NumericLimit().
float CXFA_Node::GetLineHeight | ( | ) | const |
Definition at line 2291 of file cxfa_node.cpp.
References GetFontSize(), CXFA_Para::GetLineHeight(), and GetParaIfExists().
Referenced by FindSplitPos(), and CXFA_FWLTheme::GetLineHeight().
GCedLocaleIface * CXFA_Node::GetLocale | ( | ) |
Definition at line 1416 of file cxfa_node.cpp.
References CXFA_Object::GetDocument().
Referenced by CFXJSE_FormCalcContext::Format(), GetFormatDataValue(), GetNormalizeDataValue(), GetPictureContent(), GetValue(), CFXJSE_FormCalcContext::Parse(), SetValue(), and CFXJSE_FormCalcContext::Time2Num().
absl::optional< WideString > CXFA_Node::GetLocaleName | ( | ) |
Definition at line 1425 of file cxfa_node.cpp.
References CXFA_Object::GetDocument(), LocaleIface::GetName(), XFA_HASHCODE_Config, and XFA_HASHCODE_Form.
CXFA_Margin * CXFA_Node::GetMarginIfExists | ( | ) | const |
Definition at line 2307 of file cxfa_node.cpp.
Referenced by CXFA_FFField::CapPlacement(), FindSplitPos(), CXFA_FFCheckButton::PerformLayout(), and CXFA_FFWidget::RenderWidget().
std::pair< XFA_Element, int32_t > CXFA_Node::GetMaxChars | ( | ) | const |
Definition at line 4631 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and Unknown.
CXFA_Node * CXFA_Node::GetModelNode | ( | ) |
Definition at line 1542 of file cxfa_node.cpp.
References GetPacketType().
Referenced by CJX_Object::TryNamespace().
WideString CXFA_Node::GetNameExpression | ( | ) |
Definition at line 1518 of file cxfa_node.cpp.
References fxcrt::WideString::operator+=(), and fxcrt::WideString::operator+=().
Referenced by CXFA_Object::GetSOMExpression().
|
inline |
Definition at line 190 of file cxfa_node.h.
Referenced by CXFA_Document::DoDataMerge(), GetCount(), GetFirstChildByName(), GetIndex(), GetItemIfExists(), GetNextSameNameSibling(), GetSiblings(), CXFA_Document::GetXFAObject(), CXFA_TreeList::NamedItem(), SetSelectedMember(), XFA_DataMerge_FindFormDOMInstance(), and XFA_NodeMerge_CloneOrMergeContainer().
CXFA_Node * CXFA_Node::GetNextContainerSibling | ( | ) | const |
Definition at line 1056 of file cxfa_node.cpp.
References ContainerNode.
Referenced by CXFA_FFDocView::ExecEventActivityByDeepFirst(), CXFA_TraverseStrategy_XFAContainerNode::GetNextSibling(), and ResetData().
|
inline |
Definition at line 253 of file cxfa_node.h.
CXFA_Node * CXFA_Node::GetNextSameNameSibling | ( | uint32_t | dwNodeNameHash | ) | const |
Definition at line 1691 of file cxfa_node.cpp.
References GetNameHash().
|
inline |
Definition at line 249 of file cxfa_node.h.
std::vector< CXFA_Node * > CXFA_Node::GetNodeListForType | ( | XFA_Element | eTypeFilter | ) |
Definition at line 1201 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
std::vector< CXFA_Node * > CXFA_Node::GetNodeListWithFilter | ( | Mask< XFA_NodeFilter > | dwFilter | ) |
Definition at line 1211 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), HasProperty(), HasPropertyFlag(), InsertChildAndNotify(), kChildren, kOneOf, kOneOfProperty, kProperties, and SetInitializedFlagAndNotify().
WideString CXFA_Node::GetNormalizeDataValue | ( | const WideString & | wsValue | ) |
Definition at line 4884 of file cxfa_node.cpp.
References CXFA_LocaleValue::CXFA_LocaleValue(), fxcrt::WideString::WideString(), CXFA_Object::GetDocument(), GetLocale(), GetPictureContent(), CXFA_LocaleValue::GetType(), CXFA_LocaleValue::GetValue(), fxcrt::WideString::IsEmpty(), kDataBind, CXFA_LocaleValue::operator=(), CXFA_LocaleValue::ValidateValue(), and XFA_GetLocaleValue().
absl::optional< int32_t > CXFA_Node::GetNumberOfCells | ( | ) |
Definition at line 4614 of file cxfa_node.cpp.
References GetUIChildNode().
CXFA_Occur * CXFA_Node::GetOccurIfExists | ( | ) |
Definition at line 1799 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetOneChildNamed | ( | WideStringView | wsName | ) |
Definition at line 1714 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetOneChildOfClass | ( | WideStringView | wsClass | ) |
Definition at line 1718 of file cxfa_node.cpp.
References Unknown.
CXFA_Border * CXFA_Node::GetOrCreateBorderIfPossible | ( | ) |
Definition at line 2269 of file cxfa_node.cpp.
CXFA_Font * CXFA_Node::GetOrCreateFontIfPossible | ( | ) |
Definition at line 2277 of file cxfa_node.cpp.
CXFA_Node * CXFA_Node::GetOrCreateProperty | ( | int32_t | index, |
XFA_Element | eProperty ) |
Definition at line 1136 of file cxfa_node.cpp.
References CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), GetPacketType(), HasPropertyFlag(), InsertChildAndNotify(), kOneOf, PropertyOccurrenceCount(), and SetInitializedFlagAndNotify().
CXFA_Validate * CXFA_Node::GetOrCreateValidateIfPossible | ( | ) |
Definition at line 2343 of file cxfa_node.cpp.
|
inline |
Definition at line 146 of file cxfa_node.h.
Referenced by CXFA_DocumentBuilder::ConstructXFANode(), CXFA_DataExporter::Export(), GetBindData(), GetContainerNode(), GetModelNode(), GetOrCreateProperty(), HasBindItem(), CXFA_ViewLayoutProcessor::InitLayoutPage(), CXFA_FFNotify::OnValueChanged(), CXFA_FFNotify::OnValueChanging(), SendAttributeChangeMessage(), CJX_Object::SetContent(), SetToXML(), and CJX_Object::TryNamespace().
CXFA_Para * CXFA_Node::GetParaIfExists | ( | ) | const |
Definition at line 2311 of file cxfa_node.cpp.
Referenced by FindSplitPos(), GetLineHeight(), CXFA_FWLTheme::GetSpaceAboveBelow(), and CXFA_FWLTheme::GetUIMargin().
WideString CXFA_Node::GetPictureContent | ( | XFA_ValuePicture | ePicture | ) |
Definition at line 4728 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), LocaleIface::GetDatePattern(), GetLocale(), CXFA_Bind::GetPicture(), LocaleIface::GetTimePattern(), CXFA_LocaleValue::GetType(), kDataBind, CXFA_LocaleValue::kDate, CXFA_LocaleValue::kDateTime, CXFA_LocaleValue::kDecimal, kDisplay, kEdit, CXFA_LocaleValue::kFloat, LocaleIface::kMedium, kRaw, LocaleIface::kShort, CXFA_LocaleValue::kTime, fxcrt::operator+(), fxcrt::operator+(), and XFA_GetLocaleValue().
Referenced by GetContainerNode(), GetFormatDataValue(), GetNormalizeDataValue(), GetValue(), and SetValue().
CXFA_Node * CXFA_Node::GetPrevContainerSibling | ( | ) | const |
Definition at line 1064 of file cxfa_node.cpp.
References ContainerNode.
std::pair< CXFA_Node *, int32_t > CXFA_Node::GetProperty | ( | int32_t | index, |
XFA_Element | eProperty ) const |
Definition at line 1118 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and PropertyOccurrenceCount().
WideString CXFA_Node::GetRawValue | ( | ) | const |
Definition at line 2255 of file cxfa_node.cpp.
Referenced by ExecuteBoolScript(), GetCheckState(), GetSelectedItemsValue(), GetSelectedMember(), ProcessCalculate(), ProcessValidate(), SetItemState(), and XFA_GetLocaleValue().
int32_t CXFA_Node::GetRotate | ( | ) | const |
Definition at line 2259 of file cxfa_node.cpp.
Referenced by CPDFXFA_DocEnvironment::GetPopupPos().
int32_t CXFA_Node::GetSelectedItem | ( | int32_t | nIndex | ) |
Definition at line 4300 of file cxfa_node.cpp.
Referenced by GetValue().
std::vector< int32_t > CXFA_Node::GetSelectedItems | ( | ) |
Definition at line 4313 of file cxfa_node.cpp.
std::vector< WideString > CXFA_Node::GetSelectedItemsValue | ( | ) |
Definition at line 4327 of file cxfa_node.cpp.
References GetRawValue(), and IsChoiceListMultiSelect().
CXFA_Node * CXFA_Node::GetSelectedMember | ( | ) |
Definition at line 4072 of file cxfa_node.cpp.
References GetCheckState(), GetRawValue(), fxcrt::WideString::IsEmpty(), and kOn.
std::vector< CXFA_Node * > CXFA_Node::GetSiblings | ( | bool | bIsClassName | ) |
Definition at line 1726 of file cxfa_node.cpp.
References CXFA_Object::GetClassHashCode(), CXFA_Object::GetElementType(), GetNameHash(), and HasProperty().
CXFA_Node * CXFA_Node::GetTemplateNodeIfExists | ( | ) | const |
Definition at line 1297 of file cxfa_node.cpp.
Referenced by CreateInstanceIfPossible(), and CXFA_ViewLayoutProcessor::InitLayoutPage().
FX_ARGB CXFA_Node::GetTextColor | ( | ) | const |
Definition at line 2302 of file cxfa_node.cpp.
References CXFA_Font::GetColor(), and GetFontIfExists().
Referenced by CXFA_FWLTheme::GetTextColor().
CXFA_TextLayout * CXFA_Node::GetTextLayout | ( | ) |
Definition at line 3900 of file cxfa_node.cpp.
CXFA_Border * CXFA_Node::GetUIBorder | ( | ) |
Definition at line 2989 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by CXFA_FFWidget::GetBorderColorAndThickness(), and GetUIMargin().
CXFA_Node * CXFA_Node::GetUIChildNode | ( | ) |
Definition at line 2965 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), kExclGroup, and kSubform.
Referenced by GetCheckButtonSize(), GetFFWidgetType(), GetNumberOfCells(), GetUIBorder(), GetUIMargin(), GetValue(), IsChoiceListAllowTextEntry(), IsChoiceListCommitOnSelect(), IsChoiceListMultiSelect(), IsHorizontalScrollPolicyOff(), IsListBox(), IsMultiLine(), IsVerticalScrollPolicyOff(), CXFA_FFNotify::OnCreateContentLayoutItem(), and SetValue().
CFX_RectF CXFA_Node::GetUIMargin | ( | ) |
Definition at line 2996 of file cxfa_node.cpp.
References CFX_RectF::CFX_RectF(), CXFA_Box::Get3DStyle(), CXFA_Box::GetPresence(), GetUIBorder(), and GetUIChildNode().
Referenced by FindSplitPos(), and CXFA_FWLTheme::GetUIMargin().
CXFA_Validate * CXFA_Node::GetValidateIfExists | ( | ) | const |
Definition at line 2339 of file cxfa_node.cpp.
Referenced by CXFA_FFWidgetHandler::HasEvent(), and ProcessValidate().
WideString CXFA_Node::GetValue | ( | XFA_ValuePicture | eValueType | ) |
Definition at line 4815 of file cxfa_node.cpp.
References CXFA_LocaleValue::CXFA_LocaleValue(), fxcrt::WideString::clear(), CXFA_LocaleValue::FormatPatterns(), CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), GetLocale(), GetPictureContent(), GetSelectedItem(), CXFA_LocaleValue::GetType(), GetUIChildNode(), fxcrt::WideString::IsEmpty(), CXFA_LocaleValue::kDate, kDisplay, kRaw, CXFA_LocaleValue::kTime, NormalizeNumStr(), fxcrt::WideString::operator=(), and XFA_GetLocaleValue().
Referenced by FindSplitPos(), and CXFA_TextProvider::GetEmbeddedObj().
|
protectedvirtual |
Reimplemented in CXFA_ChoiceList, CXFA_DateTimeEdit, CXFA_ImageEdit, and CXFA_NumericEdit.
Definition at line 2961 of file cxfa_node.cpp.
|
inline |
Definition at line 184 of file cxfa_node.h.
Referenced by CloneTemplateToForm(), CXFA_DataExporter::Export(), CJX_Object::SetCDataImpl(), SetToXML(), CJX_Object::TryNamespace(), and XFA_DataExporter_DealWithDataGroupNode().
bool CXFA_Node::HasAttribute | ( | XFA_Attribute | attr | ) | const |
Definition at line 1187 of file cxfa_node.cpp.
bool CXFA_Node::HasBindItem | ( | ) | const |
Definition at line 1359 of file cxfa_node.cpp.
References GetPacketType().
|
inline |
Definition at line 229 of file cxfa_node.h.
Referenced by SetToXML().
bool CXFA_Node::HasButtonDown | ( | ) | const |
Definition at line 3961 of file cxfa_node.cpp.
bool CXFA_Node::HasButtonRollover | ( | ) | const |
Definition at line 3945 of file cxfa_node.cpp.
bool CXFA_Node::HasProperty | ( | XFA_Element | property | ) | const |
Definition at line 1103 of file cxfa_node.cpp.
Referenced by CountChildren(), GetNodeListWithFilter(), GetSiblings(), and IsProperty().
bool CXFA_Node::HasPropertyFlag | ( | XFA_Element | property, |
XFA_PropertyFlag | flag ) const |
Definition at line 1107 of file cxfa_node.cpp.
Referenced by GetNodeListWithFilter(), and GetOrCreateProperty().
|
inline |
Definition at line 174 of file cxfa_node.h.
References kHasRemovedChildren.
Definition at line 1611 of file cxfa_node.cpp.
References ClearFlag(), IsNeedSavingXMLNode(), kHasRemovedChildren, and CXFA_FFNotify::OnChildAdded().
Referenced by Clone(), CloneTemplateToForm(), CXFA_DocumentBuilder::ConstructXFANode(), CXFA_Document::DoDataMerge(), GetNodeListWithFilter(), GetOrCreateProperty(), CJX_Object::SetContent(), CJX_Object::TryContent(), and XFA_NodeMerge_CloneOrMergeContainer().
Definition at line 1607 of file cxfa_node.cpp.
Referenced by InsertItem(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
void CXFA_Node::InsertItem | ( | const WideString & | wsLabel, |
const WideString & | wsValue, | ||
bool | bNotify ) |
Definition at line 4424 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), CreateSamePacketNode(), CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), InsertChildAndNotify(), fxcrt::WideString::IsEmpty(), and fxcrt::WideString::operator=().
void CXFA_Node::InsertItem | ( | CXFA_Node * | pNewInstance, |
int32_t | iPos, | ||
int32_t | iCount, | ||
bool | bMoveDataBindingNodes ) |
Definition at line 1920 of file cxfa_node.cpp.
References GetBindData(), GetCount(), and GetItemIfExists().
bool CXFA_Node::IsAncestorOf | ( | const CXFA_Node * | that | ) | const |
Definition at line 1598 of file cxfa_node.cpp.
Referenced by TEST_F().
bool CXFA_Node::IsAttributeInXML | ( | ) |
Definition at line 1828 of file cxfa_node.cpp.
Referenced by Clone(), RemoveChildAndNotify(), and SetToXML().
bool CXFA_Node::IsChoiceListAllowTextEntry | ( | ) |
Definition at line 4170 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by CountSelectedItems().
bool CXFA_Node::IsChoiceListCommitOnSelect | ( | ) |
Definition at line 4161 of file cxfa_node.cpp.
References GetUIChildNode().
bool CXFA_Node::IsChoiceListMultiSelect | ( | ) |
Definition at line 4175 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by ClearAllSelections(), GetContainerNode(), GetSelectedItemsValue(), SetItemState(), and SetSelectedItems().
|
inline |
Definition at line 179 of file cxfa_node.h.
References CXFA_Object::IsContainerNode().
Referenced by CXFA_FFNotify::OnChildAdded(), and CXFA_FFNotify::OnValueChanging().
bool CXFA_Node::IsHorizontalScrollPolicyOff | ( | ) |
Definition at line 4596 of file cxfa_node.cpp.
References GetUIChildNode().
|
inline |
Definition at line 161 of file cxfa_node.h.
References kInitialized.
Referenced by SetInitializedFlagAndNotify().
|
inline |
Definition at line 166 of file cxfa_node.h.
References kLayoutGeneratedNode.
bool CXFA_Node::IsListBox | ( | ) |
Definition at line 4184 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by CountSelectedItems(), and CXFA_FFNotify::OnCreateContentLayoutItem().
bool CXFA_Node::IsMultiLine | ( | ) |
Definition at line 4626 of file cxfa_node.cpp.
References GetUIChildNode().
Referenced by CXFA_FWLTheme::GetUIMargin().
bool CXFA_Node::IsNeedSavingXMLNode | ( | ) | const |
Definition at line 1855 of file cxfa_node.cpp.
Referenced by Clone(), InsertChildAndNotify(), RemoveChildAndNotify(), CJX_Object::SetAttributeValueImpl(), and CJX_Object::SetCDataImpl().
|
inline |
Definition at line 323 of file cxfa_node.h.
Referenced by SetValue().
bool CXFA_Node::IsOpenAccess | ( | ) | const |
Definition at line 2315 of file cxfa_node.cpp.
References GetContainerParent().
bool CXFA_Node::IsProperty | ( | ) | const |
Definition at line 5037 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and HasProperty().
bool CXFA_Node::IsRadioButton | ( | ) |
Definition at line 3975 of file cxfa_node.cpp.
References CXFA_Object::GetElementType().
bool CXFA_Node::IsTransparent | ( | ) | const |
Definition at line 5031 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), CXFA_Object::IsContainerNode(), and IsUnnamed().
|
inline |
Definition at line 191 of file cxfa_node.h.
Referenced by IsTransparent().
|
inline |
Definition at line 165 of file cxfa_node.h.
References kUnusedNode.
Referenced by CXFA_Document::DoDataMerge(), and XFA_DataMerge_FindFormDOMInstance().
|
inline |
Definition at line 162 of file cxfa_node.h.
References kUserInteractive.
Referenced by CXFA_FFField::CalculateNode(), ProcessCalculate(), CXFA_FFWidgetHandler::ProcessEvent(), and XFA_ProcessEvent().
bool CXFA_Node::IsVerticalScrollPolicyOff | ( | ) |
Definition at line 4605 of file cxfa_node.cpp.
References GetUIChildNode().
|
inline |
Definition at line 327 of file cxfa_node.h.
Referenced by CXFA_FFField::CalculateOverride(), CXFA_FFDocView::ExecEventActivityByDeepFirst(), CXFA_FFDocView::GetWidgetByName(), CXFA_FFWidget::HasEventUnderHandler(), CXFA_FFWidget::ProcessEventUnderHandler(), and ResetData().
bool CXFA_Node::LoadCaption | ( | CXFA_FFDoc * | doc | ) |
Definition at line 3890 of file cxfa_node.cpp.
bool CXFA_Node::LoadEditImage | ( | CXFA_FFDoc * | doc | ) |
Definition at line 3439 of file cxfa_node.cpp.
bool CXFA_Node::LoadLayoutImage | ( | CXFA_FFDoc * | doc | ) |
Definition at line 3434 of file cxfa_node.cpp.
WideString CXFA_Node::NormalizeNumStr | ( | const WideString & | wsValue | ) |
Definition at line 4960 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), GetFracDigits(), fxcrt::WideString::IsEmpty(), fxcrt::WideString::operator[](), and fxcrt::WideString::TrimLeft().
Referenced by GetValue().
WideString CXFA_Node::NumericLimit | ( | const WideString & | wsValue | ) |
Definition at line 4985 of file cxfa_node.cpp.
References FXSYS_IsDecimalDigit(), GetFracDigits(), GetLeadDigits(), fxcrt::WideString::operator+=(), fxcrt::WideString::operator=(), fxcrt::WideString::operator[](), CFGAS_Decimal::SetScale(), and CFGAS_Decimal::ToWideString().
Referenced by SetValue().
bool CXFA_Node::PresenceRequiresSpace | ( | ) | const |
Definition at line 5042 of file cxfa_node.cpp.
Referenced by CXFA_ViewLayoutProcessor::PrepareFirstPage().
XFA_EventError CXFA_Node::ProcessCalculate | ( | CXFA_FFDocView * | pDocView | ) |
Definition at line 2481 of file cxfa_node.cpp.
References CXFA_EventParam::CXFA_EventParam(), ExecuteScript(), GetCalculateIfExists(), CXFA_Object::GetElementType(), GetRawValue(), CXFA_Calculate::GetScriptIfExists(), IsUserInteractive(), kDisabled, kNotExist, kRaw, kSuccess, CXFA_EventParam::m_bTargeted, SetValue(), CXFA_FFDocView::UpdateUIDisplay(), and XFA_EVENT_Calculate.
Referenced by XFA_ProcessEvent().
XFA_EventError CXFA_Node::ProcessEvent | ( | CXFA_FFDocView * | pDocView, |
XFA_AttributeValue | iActivity, | ||
CXFA_EventParam * | pEventParam ) |
Definition at line 2424 of file cxfa_node.cpp.
References CXFA_Object::GetElementType(), and kNotExist.
Referenced by CXFA_FFCheckButton::OnProcessEvent(), and XFA_ProcessEvent().
XFA_EventError CXFA_Node::ProcessValidate | ( | CXFA_FFDocView * | pDocView, |
int32_t | iFlags ) |
Definition at line 2664 of file cxfa_node.cpp.
References CXFA_EventParam::CXFA_EventParam(), ClearFlag(), ExecuteBoolScript(), CXFA_Document::GetCurVersionMode(), CXFA_FFDocView::GetDoc(), CXFA_Object::GetElementType(), CXFA_FFDocView::GetLayoutStatus(), GetRawValue(), CXFA_Validate::GetScriptIfExists(), GetValidateIfExists(), CXFA_FFDoc::GetXFADoc(), CXFA_Document::is_scripting(), fxcrt::WideString::IsEmpty(), CXFA_FFDocView::kEnd, kNeedsInitApp, kNotExist, kSuccess, CXFA_Node::BoolScriptResult::script_result, CXFA_Node::BoolScriptResult::xfa_event_result, XFA_EVENT_Validate, XFA_EventErrorAccumulate(), and XFA_VERSION_208.
Referenced by XFA_ProcessEvent().
uint8_t CXFA_Node::PropertyOccurrenceCount | ( | XFA_Element | property | ) | const |
Definition at line 1113 of file cxfa_node.cpp.
References CXFA_Node::PropertyData::occurrence_count.
Referenced by GetOrCreateProperty(), and GetProperty().
bool CXFA_Node::RemoveBindItem | ( | CXFA_Node * | pFormNode | ) |
Definition at line 1337 of file cxfa_node.cpp.
References SetBindingNode().
Referenced by RemoveItem().
Definition at line 1629 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), IsAttributeInXML(), fxcrt::WideString::IsEmpty(), IsNeedSavingXMLNode(), kHasRemovedChildren, CFX_XMLElement::RemoveAttribute(), and SetFlag().
Referenced by CXFA_AttachNodeList::Append(), ClearAllSelections(), CreateInstanceIfPossible(), DeleteItem(), CXFA_Document::DoDataMerge(), CXFA_Document::DoDataRemerge(), CXFA_AttachNodeList::Insert(), RemoveItem(), CJX_Object::SetContent(), and XFA_NodeMerge_CloneOrMergeContainer().
Definition at line 1993 of file cxfa_node.cpp.
References GetBindData(), RemoveBindItem(), RemoveChildAndNotify(), and SetBindingNode().
void CXFA_Node::ResetData | ( | ) |
Definition at line 3063 of file cxfa_node.cpp.
References ClearAllSelections(), CXFA_Value::GetChildValueContent(), CXFA_Image::GetContent(), CXFA_Image::GetContentType(), GetFFWidgetType(), GetFirstContainerChild(), CXFA_Image::GetHref(), CXFA_Value::GetImageIfExists(), GetNextContainerSibling(), fxcrt::WideString::IsEmpty(), IsWidgetReady(), kChoiceList, kExclGroup, kImageEdit, kRaw, fxcrt::WideString::operator=(), SetValue(), and Unknown.
void CXFA_Node::SendAttributeChangeMessage | ( | XFA_Attribute | eAttribute, |
bool | bScriptModify ) |
Definition at line 2099 of file cxfa_node.cpp.
References CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), GetPacketType(), CXFA_Object::IsContainerNode(), CXFA_FFNotify::OnContainerChanged(), and CXFA_FFNotify::OnValueChanged().
Definition at line 5049 of file cxfa_node.cpp.
Referenced by AddBindItem(), Clone(), CXFA_Document::DoDataRemerge(), RemoveBindItem(), and RemoveItem().
void CXFA_Node::SetCheckState | ( | XFA_CheckState | eCheckState | ) |
Definition at line 4012 of file cxfa_node.cpp.
References fxcrt::WideString::clear(), CXFA_Object::GetElementType(), GetExclGroupIfExists(), kOff, and fxcrt::WideString::operator!=().
Referenced by SetSelectedMember().
Definition at line 1537 of file cxfa_node.cpp.
void CXFA_Node::SetEditImage | ( | RetainPtr< CFX_DIBitmap > | newImage | ) |
Definition at line 3923 of file cxfa_node.cpp.
References CXFA_ImageEditData::SetBitmap().
void CXFA_Node::SetFlag | ( | XFA_NodeFlag | dwFlag | ) |
Definition at line 1820 of file cxfa_node.cpp.
Referenced by CXFA_FFField::CalculateNode(), CXFA_DocumentBuilder::ConstructXFANode(), CXFA_Document::DoDataMerge(), CXFA_FFNotify::OnNodeReady(), RemoveChildAndNotify(), and SetNodeAndDescendantsUnused().
void CXFA_Node::SetInitializedFlagAndNotify | ( | ) |
Definition at line 1811 of file cxfa_node.cpp.
References IsInitialized(), and CXFA_FFNotify::OnNodeReady().
Referenced by Clone(), CloneTemplateToForm(), CreateSamePacketNode(), CXFA_Document::DoDataMerge(), GetNodeListWithFilter(), GetOrCreateProperty(), CXFA_ViewLayoutProcessor::InitLayoutPage(), and XFA_NodeMerge_CloneOrMergeContainer().
|
inline |
Definition at line 324 of file cxfa_node.h.
Referenced by SetValue().
void CXFA_Node::SetItemState | ( | int32_t | nIndex, |
bool | bSelected, | ||
bool | bNotify, | ||
bool | bScriptModify ) |
Definition at line 4343 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), GetFormatDataValue(), GetRawValue(), IsChoiceListMultiSelect(), fxcrt::WideString::IsEmpty(), and fxcrt::WideString::operator+=().
Referenced by DeleteItem().
void CXFA_Node::SetLayoutImage | ( | RetainPtr< CFX_DIBitmap > | newImage | ) |
Definition at line 3917 of file cxfa_node.cpp.
References CXFA_ImageLayoutData::SetBitmap().
void CXFA_Node::SetNodeAndDescendantsUnused | ( | ) |
Definition at line 5055 of file cxfa_node.cpp.
References kUnusedNode, and SetFlag().
|
inline |
Definition at line 322 of file cxfa_node.h.
Referenced by SetValue().
void CXFA_Node::SetSelectedItems | ( | const std::vector< int32_t > & | iSelArray, |
bool | bNotify, | ||
bool | bScriptModify, | ||
bool | bSyncData ) |
Definition at line 4391 of file cxfa_node.cpp.
References fxcrt::WideString::WideString(), GetFormatDataValue(), IsChoiceListMultiSelect(), fxcrt::WideString::operator+=(), and fxcrt::WideString::operator=().
CXFA_Node * CXFA_Node::SetSelectedMember | ( | WideStringView | wsName | ) |
Definition at line 4088 of file cxfa_node.cpp.
References GetNameHash(), kOn, and SetCheckState().
void CXFA_Node::SetSelectedMemberByValue | ( | WideStringView | wsValue, |
bool | bNotify, | ||
bool | bScriptModify, | ||
bool | bSyncData ) |
Definition at line 4100 of file cxfa_node.cpp.
References fxcrt::WideString::clear(), and CXFA_Object::GetElementType().
Definition at line 1301 of file cxfa_node.cpp.
Referenced by CloneTemplateToForm(), and XFA_NodeMerge_CloneOrMergeContainer().
void CXFA_Node::SetToXML | ( | const WideString & | value | ) |
Definition at line 5063 of file cxfa_node.cpp.
References GetPacketType(), CFX_XMLNode::GetType(), GetXMLMappingNode(), HasBindItems(), IsAttributeInXML(), CFX_XMLNode::kElement, CFX_XMLNode::kText, CFX_XMLElement::SetAttribute(), CFX_XMLText::SetText(), and ToXMLText().
Referenced by CJX_Object::SetAttributeValueImpl(), and CJX_Object::SetCDataImpl().
bool CXFA_Node::SetValue | ( | XFA_ValuePicture | eValueType, |
const WideString & | wsValue ) |
Definition at line 4682 of file cxfa_node.cpp.
References CXFA_LocaleValue::CXFA_LocaleValue(), fxcrt::WideString::WideString(), fxcrt::WideString::EqualsASCII(), CXFA_Object::GetDocument(), CXFA_Object::GetElementType(), GetLocale(), GetPictureContent(), CXFA_LocaleValue::GetType(), GetUIChildNode(), CXFA_LocaleValue::GetValue(), fxcrt::WideString::IsEmpty(), IsNull(), NumericLimit(), CXFA_LocaleValue::operator=(), fxcrt::WideString::operator=(), fxcrt::WideString::operator=(), SetIsNull(), SetPreNull(), CXFA_LocaleValue::ValidateValue(), and XFA_GetLocaleValue().
Referenced by ExecuteBoolScript(), ProcessCalculate(), and ResetData().
|
inline |
Definition at line 326 of file cxfa_node.h.
Referenced by CXFA_FFNotify::OnNodeReady().
|
inline |
Definition at line 183 of file cxfa_node.h.
Referenced by Clone(), CloneTemplateToForm(), CXFA_DocumentBuilder::ConstructXFANode(), and CXFA_Document::DoDataMerge().
void CXFA_Node::StartWidgetLayout | ( | CXFA_FFDoc * | doc, |
float * | pCalcWidth, | ||
float * | pCalcHeight ) |
Definition at line 3501 of file cxfa_node.cpp.
References GetFFWidgetType(), and kText.
|
overridevirtual |
Reimplemented from CXFA_Object.
Definition at line 1006 of file cxfa_node.cpp.
References CXFA_Object::Trace().
absl::optional< float > CXFA_Node::TryWidth | ( | ) |
Definition at line 2393 of file cxfa_node.cpp.
void CXFA_Node::UpdateNameHash | ( | ) |
Definition at line 1842 of file cxfa_node.cpp.
Referenced by Clone(), CloneTemplateToForm(), and CJX_Object::SetCDataImpl().