Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dxfa_document_datamerger_imp.cpp72 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() argument
73 CXFA_WidgetAcc* pWidgetAcc = pFormNode->GetWidgetAcc(); in FormValueNode_MatchNoneCreateChild()
126 void CreateDataBinding(CXFA_Node* pFormNode, in CreateDataBinding() argument
129 pFormNode->SetBindingNode(pDataNode); in CreateDataBinding()
130 pDataNode->AddBindItem(pFormNode); in CreateDataBinding()
131 XFA_Element eType = pFormNode->GetElementType(); in CreateDataBinding()
135 CXFA_WidgetAcc* pWidgetAcc = pFormNode->GetWidgetAcc(); in CreateDataBinding()
138 auto* defValue = pFormNode->JSObject()->GetOrCreateProperty<CXFA_Value>( in CreateDataBinding()
202 CXFA_Node* pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
230 pFormNode->JSObject()->SetCData(XFA_Attribute::Value, wsContent, in CreateDataBinding()
[all …]
Dcxfa_itemlayoutprocessor.cpp86 CFX_SizeF CalculateContainerSpecifiedSize(CXFA_Node* pFormNode, in CalculateContainerSpecifiedSize() argument
92 XFA_Element eType = pFormNode->GetElementType(); in CalculateContainerSpecifiedSize()
97 pFormNode->JSObject()->TryMeasure(XFA_Attribute::W, false); in CalculateContainerSpecifiedSize()
104 pFormNode->JSObject()->TryMeasure(XFA_Attribute::H, false); in CalculateContainerSpecifiedSize()
113 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxW, false); in CalculateContainerSpecifiedSize()
120 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxH, false); in CalculateContainerSpecifiedSize()
130 CXFA_Node* pFormNode, in CalculateContainerComponentSizeFromContentSize() argument
138 pFormNode->GetFirstChildByClass<CXFA_Margin>(XFA_Element::Margin); in CalculateContainerComponentSizeFromContentSize()
506 XFA_AttributeEnum GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { in GetLayout() argument
509 pFormNode->JSObject()->TryEnum(XFA_Attribute::Layout, false); in GetLayout()
[all …]
Dcxfa_itemlayoutprocessor.h88 CXFA_Node* pFormNode);
90 bool JudgeLeaderOrTrailerForOccur(CXFA_Node* pFormNode);
92 CXFA_ContentLayoutItem* CreateContentLayoutItem(CXFA_Node* pFormNode);
127 void ProcessUnUseBinds(CXFA_Node* pFormNode);
Dcxfa_layoutpagemgr.cpp287 bool CXFA_LayoutPageMgr::InitLayoutPage(CXFA_Node* pFormNode) { in InitLayoutPage() argument
289 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in InitLayoutPage()
817 CXFA_Node* pFormNode = pCurNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter() local
818 CXFA_Node* pContainer = pFormNode->GetTemplateNodeIfExists(); in ExecuteBreakBeforeOrAfter()
844 CXFA_Node* pParentNode = pFormNode->GetContainerParent(); in ExecuteBreakBeforeOrAfter()
846 pFormNode != pParentNode->GetFirstContainerChild()) { in ExecuteBreakBeforeOrAfter()
887 CXFA_Node* pFormNode = pBreakNode->GetContainerParent(); in ProcessBreakBeforeOrAfter() local
888 if (XFA_ItemLayoutProcessor_IsTakingSpace(pFormNode)) { in ProcessBreakBeforeOrAfter()
893 pFormNode = pFormNode->GetContainerParent(); in ProcessBreakBeforeOrAfter()
896 pDataScope = XFA_DataMerge_FindDataScope(pFormNode); in ProcessBreakBeforeOrAfter()
[all …]
Dcxfa_layoutprocessor.cpp67 CXFA_Node* pFormNode = m_pRootItemLayoutProcessor->GetFormNode(); in DoLayout() local
69 pFormNode->JSObject()->GetMeasure(XFA_Attribute::X).ToUnit(XFA_Unit::Pt); in DoLayout()
71 pFormNode->JSObject()->GetMeasure(XFA_Attribute::Y).ToUnit(XFA_Unit::Pt); in DoLayout()
Dcxfa_layoutpagemgr.h26 bool InitLayoutPage(CXFA_Node* pFormNode);
45 bool ProcessOverflow(CXFA_Node* pFormNode,
50 CXFA_Node* QueryOverflow(CXFA_Node* pFormNode);
Dcxfa_node.cpp499 int32_t CXFA_Node::AddBindItem(CXFA_Node* pFormNode) { in AddBindItem() argument
500 ASSERT(pFormNode); in AddBindItem()
505 if (v.Get() == pFormNode) { in AddBindItem()
511 binding_nodes_.emplace_back(pFormNode); in AddBindItem()
517 SetBindingNode(pFormNode); in AddBindItem()
520 if (pOldFormItem == pFormNode) in AddBindItem()
525 items.emplace_back(pFormNode); in AddBindItem()
532 int32_t CXFA_Node::RemoveBindItem(CXFA_Node* pFormNode) { in RemoveBindItem() argument
535 [&pFormNode](const UnownedPtr<CXFA_Node>& node) { in RemoveBindItem()
536 return node.Get() == pFormNode; in RemoveBindItem()
[all …]
Dcxfa_node.h194 int32_t AddBindItem(CXFA_Node* pFormNode);
195 int32_t RemoveBindItem(CXFA_Node* pFormNode);
Dcxfa_document.h96 CXFA_Node* pFormNode,
/external/pdfium/xfa/fxfa/
Dcxfa_ffdocview.cpp244 CXFA_Node* pFormNode = nullptr; in ResetWidgetAcc() local
247 pFormNode = pWidgetAcc->GetNode(); in ResetWidgetAcc()
249 pFormNode = GetRootSubform(); in ResetWidgetAcc()
251 if (!pFormNode) in ResetWidgetAcc()
254 if (pFormNode->GetElementType() != XFA_Element::Field && in ResetWidgetAcc()
255 pFormNode->GetElementType() != XFA_Element::ExclGroup) { in ResetWidgetAcc()
256 CXFA_WidgetAccIterator Iterator(pFormNode); in ResetWidgetAcc()
445 int32_t CXFA_FFDocView::ExecEventActivityByDeepFirst(CXFA_Node* pFormNode, in ExecEventActivityByDeepFirst() argument
450 if (pFormNode == pExclude) in ExecEventActivityByDeepFirst()
453 XFA_Element elementType = pFormNode->GetElementType(); in ExecEventActivityByDeepFirst()
[all …]
Dcxfa_ffnotify.h57 int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffdocview.h104 int32_t ExecEventActivityByDeepFirst(CXFA_Node* pFormNode,
Dcxfa_ffnotify.cpp227 int32_t CXFA_FFNotify::ExecEventByDeepFirst(CXFA_Node* pFormNode, in ExecEventByDeepFirst() argument
236 pFormNode, eEventType, bIsFormReady, bRecursive, in ExecEventByDeepFirst()
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp1521 for (const auto& pFormNode : *(ToNode(GetXFAObject())->GetBindItems())) { in Script_Som_DefaultValue()
1522 if (!pFormNode || pFormNode->HasRemovedChildren()) in Script_Som_DefaultValue()
1525 pContainerWidgetAcc = pFormNode->GetContainerWidgetAcc(); in Script_Som_DefaultValue()