Home
last modified time | relevance | path

Searched refs:pFormNode (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_document.cpp71 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() argument
72 ASSERT(pFormNode->IsWidgetReady()); in FormValueNode_MatchNoneCreateChild()
74 pFormNode->GetUIChildNode(); in FormValueNode_MatchNoneCreateChild()
487 void CreateDataBinding(CXFA_Node* pFormNode, in CreateDataBinding() argument
490 pFormNode->SetBindingNode(pDataNode); in CreateDataBinding()
491 pDataNode->AddBindItem(pFormNode); in CreateDataBinding()
492 XFA_Element eType = pFormNode->GetElementType(); in CreateDataBinding()
496 ASSERT(pFormNode->IsWidgetReady()); in CreateDataBinding()
497 auto* defValue = pFormNode->JSObject()->GetOrCreateProperty<CXFA_Value>( in CreateDataBinding()
501 switch (pFormNode->GetFFWidgetType()) { in CreateDataBinding()
[all …]
Dcxfa_document.h110 CXFA_Node* pFormNode,
Dcxfa_node.cpp1255 int32_t CXFA_Node::AddBindItem(CXFA_Node* pFormNode) { in AddBindItem() argument
1256 ASSERT(pFormNode); in AddBindItem()
1261 if (v == pFormNode) { in AddBindItem()
1267 binding_nodes_.emplace_back(pFormNode); in AddBindItem()
1273 SetBindingNode(pFormNode); in AddBindItem()
1276 if (pOldFormItem == pFormNode) in AddBindItem()
1281 items.push_back(pFormNode); in AddBindItem()
1288 int32_t CXFA_Node::RemoveBindItem(CXFA_Node* pFormNode) { in RemoveBindItem() argument
1291 std::find(binding_nodes_.begin(), binding_nodes_.end(), pFormNode); in RemoveBindItem()
1303 if (pOldFormItem != pFormNode) in RemoveBindItem()
[all …]
Dcxfa_node.h190 int32_t AddBindItem(CXFA_Node* pFormNode);
191 int32_t RemoveBindItem(CXFA_Node* pFormNode);
/external/pdfium/xfa/fxfa/
Dcxfa_ffdocview.cpp250 CXFA_Node* pFormNode = nullptr; in ResetNode() local
253 pFormNode = pNode; in ResetNode()
255 pFormNode = GetRootSubform(); in ResetNode()
257 if (!pFormNode) in ResetNode()
260 if (pFormNode->GetElementType() != XFA_Element::Field && in ResetNode()
261 pFormNode->GetElementType() != XFA_Element::ExclGroup) { in ResetNode()
262 CXFA_ReadyNodeIterator it(pFormNode); in ResetNode()
385 CXFA_Node* pFormNode, in ExecEventActivityByDeepFirst() argument
389 if (!pFormNode) in ExecEventActivityByDeepFirst()
392 XFA_Element elementType = pFormNode->GetElementType(); in ExecEventActivityByDeepFirst()
[all …]
Dcxfa_ffnotify.h60 XFA_EventError ExecEventByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffdocview.h93 XFA_EventError ExecEventActivityByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffnotify.cpp211 XFA_EventError CXFA_FFNotify::ExecEventByDeepFirst(CXFA_Node* pFormNode, in ExecEventByDeepFirst() argument
218 return pDocView->ExecEventActivityByDeepFirst(pFormNode, eEventType, in ExecEventByDeepFirst()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_contentlayoutprocessor.cpp85 CFX_SizeF CalculateContainerSpecifiedSize(CXFA_Node* pFormNode, in CalculateContainerSpecifiedSize() argument
91 XFA_Element eType = pFormNode->GetElementType(); in CalculateContainerSpecifiedSize()
96 pFormNode->JSObject()->TryMeasure(XFA_Attribute::W, false); in CalculateContainerSpecifiedSize()
103 pFormNode->JSObject()->TryMeasure(XFA_Attribute::H, false); in CalculateContainerSpecifiedSize()
112 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxW, false); in CalculateContainerSpecifiedSize()
119 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxH, false); in CalculateContainerSpecifiedSize()
129 CXFA_Node* pFormNode, in CalculateContainerComponentSizeFromContentSize() argument
137 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in CalculateContainerComponentSizeFromContentSize()
332 XFA_AttributeValue GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { in GetLayout() argument
335 pFormNode->JSObject()->TryEnum(XFA_Attribute::Layout, false); in GetLayout()
[all …]
Dcxfa_viewlayoutprocessor.cpp351 bool CXFA_ViewLayoutProcessor::InitLayoutPage(CXFA_Node* pFormNode) { in InitLayoutPage() argument
353 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in InitLayoutPage()
789 CXFA_Node* pFormNode = pCurNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter() local
790 CXFA_Node* pContainer = pFormNode->GetTemplateNodeIfExists(); in ExecuteBreakBeforeOrAfter()
814 CXFA_Node* pParentNode = pFormNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter()
816 pFormNode != pParentNode->GetFirstContainerChild()) { in ExecuteBreakBeforeOrAfter()
861 CXFA_Node* pFormNode = pBreakNode->GetContainerParent(); in ProcessBreakBeforeOrAfter() local
862 if (!pFormNode->PresenceRequiresSpace()) in ProcessBreakBeforeOrAfter()
868 pFormNode = pFormNode->GetContainerParent(); in ProcessBreakBeforeOrAfter()
873 pDataScope = XFA_DataMerge_FindDataScope(pFormNode); in ProcessBreakBeforeOrAfter()
[all …]
Dcxfa_layoutprocessor.cpp72 CXFA_Node* pFormNode = m_pContentLayoutProcessor->GetFormNode(); in DoLayout() local
74 pFormNode->JSObject()->GetMeasureInUnit(XFA_Attribute::X, XFA_Unit::Pt); in DoLayout()
76 pFormNode->JSObject()->GetMeasureInUnit(XFA_Attribute::Y, XFA_Unit::Pt); in DoLayout()
Dcxfa_contentlayoutprocessor.h97 CXFA_Node* pFormNode);
99 bool JudgeLeaderOrTrailerForOccur(CXFA_Node* pFormNode);
102 CXFA_Node* pFormNode);
122 void ProcessUnUseBinds(CXFA_Node* pFormNode);
Dcxfa_viewlayoutprocessor.h39 bool InitLayoutPage(CXFA_Node* pFormNode);
56 Optional<OverflowData> ProcessOverflow(CXFA_Node* pFormNode,
58 CXFA_Node* QueryOverflow(CXFA_Node* pFormNode);
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp1377 for (auto* pFormNode : ToNode(GetXFAObject())->GetBindItemsCopy()) { in ScriptSomDefaultValue() local
1378 if (!pFormNode || pFormNode->HasRemovedChildren()) in ScriptSomDefaultValue()
1381 pContainerNode = pFormNode->GetContainerNode(); in ScriptSomDefaultValue()