Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dcxfa_document.cpp74 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() argument
75 DCHECK(pFormNode->IsWidgetReady()); in FormValueNode_MatchNoneCreateChild()
77 pFormNode->GetUIChildNode(); in FormValueNode_MatchNoneCreateChild()
496 void CreateDataBinding(CXFA_Node* pFormNode, in CreateDataBinding() argument
499 pFormNode->SetBindingNode(pDataNode); in CreateDataBinding()
500 pDataNode->AddBindItem(pFormNode); in CreateDataBinding()
501 XFA_Element eType = pFormNode->GetElementType(); in CreateDataBinding()
505 DCHECK(pFormNode->IsWidgetReady()); in CreateDataBinding()
506 auto* defValue = pFormNode->JSObject()->GetOrCreateProperty<CXFA_Value>( in CreateDataBinding()
510 switch (pFormNode->GetFFWidgetType()) { in CreateDataBinding()
[all …]
Dcxfa_document.h130 CXFA_Node* pFormNode,
Dcxfa_node.cpp1314 void CXFA_Node::AddBindItem(CXFA_Node* pFormNode) { in AddBindItem() argument
1315 DCHECK(pFormNode); in AddBindItem()
1318 if (!pdfium::Contains(binding_nodes_, pFormNode)) in AddBindItem()
1319 binding_nodes_.emplace_back(pFormNode); in AddBindItem()
1325 SetBindingNode(pFormNode); in AddBindItem()
1328 if (pOldFormItem == pFormNode) in AddBindItem()
1333 binding_nodes_.push_back(pFormNode); in AddBindItem()
1337 bool CXFA_Node::RemoveBindItem(CXFA_Node* pFormNode) { in RemoveBindItem() argument
1340 std::find(binding_nodes_.begin(), binding_nodes_.end(), pFormNode); in RemoveBindItem()
1352 if (pOldFormItem != pFormNode) in RemoveBindItem()
[all …]
Dcxfa_node.h225 void AddBindItem(CXFA_Node* pFormNode);
227 bool RemoveBindItem(CXFA_Node* pFormNode);
/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()
338 XFA_AttributeValue GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { in GetLayout() argument
341 pFormNode->JSObject()->TryEnum(XFA_Attribute::Layout, false); in GetLayout()
[all …]
Dcxfa_viewlayoutprocessor.cpp371 bool CXFA_ViewLayoutProcessor::InitLayoutPage(CXFA_Node* pFormNode) { in InitLayoutPage() argument
373 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in InitLayoutPage()
797 CXFA_Node* pFormNode = pCurNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter() local
798 CXFA_Node* pContainer = pFormNode->GetTemplateNodeIfExists(); in ExecuteBreakBeforeOrAfter()
822 CXFA_Node* pParentNode = pFormNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter()
824 pFormNode != pParentNode->GetFirstContainerChild()) { in ExecuteBreakBeforeOrAfter()
869 CXFA_Node* pFormNode = pBreakNode->GetContainerParent(); in ProcessBreakBeforeOrAfter() local
870 if (!pFormNode->PresenceRequiresSpace()) in ProcessBreakBeforeOrAfter()
876 pFormNode = pFormNode->GetContainerParent(); in ProcessBreakBeforeOrAfter()
881 pDataScope = XFA_DataMerge_FindDataScope(pFormNode); in ProcessBreakBeforeOrAfter()
[all …]
Dcxfa_layoutprocessor.cpp85 CXFA_Node* pFormNode = m_pContentLayoutProcessor->GetFormNode(); in DoLayout() local
87 pFormNode->JSObject()->GetMeasureInUnit(XFA_Attribute::X, XFA_Unit::Pt); in DoLayout()
89 pFormNode->JSObject()->GetMeasureInUnit(XFA_Attribute::Y, XFA_Unit::Pt); in DoLayout()
Dcxfa_contentlayoutprocessor.h108 CXFA_Node* pFormNode);
110 bool JudgeLeaderOrTrailerForOccur(CXFA_Node* pFormNode);
113 CXFA_ContentLayoutItem* CreateContentLayoutItem(CXFA_Node* pFormNode);
134 void ProcessUnUseBinds(CXFA_Node* pFormNode);
Dcxfa_viewlayoutprocessor.h55 bool InitLayoutPage(CXFA_Node* pFormNode);
71 absl::optional<OverflowData> ProcessOverflow(CXFA_Node* pFormNode,
73 CXFA_Node* QueryOverflow(CXFA_Node* pFormNode);
/external/pdfium/xfa/fxfa/
Dcxfa_ffdocview.cpp290 CXFA_Node* pFormNode = nullptr; in ResetNode() local
293 pFormNode = pNode; in ResetNode()
295 pFormNode = GetRootSubform(); in ResetNode()
297 if (!pFormNode) in ResetNode()
300 if (pFormNode->GetElementType() != XFA_Element::Field && in ResetNode()
301 pFormNode->GetElementType() != XFA_Element::ExclGroup) { in ResetNode()
302 CXFA_ReadyNodeIterator it(pFormNode); in ResetNode()
415 CXFA_Node* pFormNode, in ExecEventActivityByDeepFirst() argument
419 if (!pFormNode) in ExecEventActivityByDeepFirst()
422 XFA_Element elementType = pFormNode->GetElementType(); in ExecEventActivityByDeepFirst()
[all …]
Dcxfa_ffnotify.h66 XFA_EventError ExecEventByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffdocview.h96 XFA_EventError ExecEventActivityByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffnotify.cpp229 XFA_EventError CXFA_FFNotify::ExecEventByDeepFirst(CXFA_Node* pFormNode, in ExecEventByDeepFirst() argument
236 return pDocView->ExecEventActivityByDeepFirst(pFormNode, eEventType, in ExecEventByDeepFirst()
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp1306 for (auto* pFormNode : GetXFANode()->GetBindItemsCopy()) { in ScriptSomDefaultValue() local
1307 if (!pFormNode || pFormNode->HasRemovedChildren()) in ScriptSomDefaultValue()
1310 pContainerNode = pFormNode->GetContainerNode(); in ScriptSomDefaultValue()