/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_document.cpp | 74 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 …]
|
D | cxfa_document.h | 130 CXFA_Node* pFormNode,
|
D | cxfa_node.cpp | 1314 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 …]
|
D | cxfa_node.h | 225 void AddBindItem(CXFA_Node* pFormNode); 227 bool RemoveBindItem(CXFA_Node* pFormNode);
|
/external/pdfium/xfa/fxfa/layout/ |
D | cxfa_contentlayoutprocessor.cpp | 85 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 …]
|
D | cxfa_viewlayoutprocessor.cpp | 371 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 …]
|
D | cxfa_layoutprocessor.cpp | 85 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()
|
D | cxfa_contentlayoutprocessor.h | 108 CXFA_Node* pFormNode); 110 bool JudgeLeaderOrTrailerForOccur(CXFA_Node* pFormNode); 113 CXFA_ContentLayoutItem* CreateContentLayoutItem(CXFA_Node* pFormNode); 134 void ProcessUnUseBinds(CXFA_Node* pFormNode);
|
D | cxfa_viewlayoutprocessor.h | 55 bool InitLayoutPage(CXFA_Node* pFormNode); 71 absl::optional<OverflowData> ProcessOverflow(CXFA_Node* pFormNode, 73 CXFA_Node* QueryOverflow(CXFA_Node* pFormNode);
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdocview.cpp | 290 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 …]
|
D | cxfa_ffnotify.h | 66 XFA_EventError ExecEventByDeepFirst(CXFA_Node* pFormNode,
|
D | cxfa_ffdocview.h | 96 XFA_EventError ExecEventActivityByDeepFirst(CXFA_Node* pFormNode,
|
D | cxfa_ffnotify.cpp | 229 XFA_EventError CXFA_FFNotify::ExecEventByDeepFirst(CXFA_Node* pFormNode, in ExecEventByDeepFirst() argument 236 return pDocView->ExecEventActivityByDeepFirst(pFormNode, eEventType, in ExecEventByDeepFirst()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_object.cpp | 1306 for (auto* pFormNode : GetXFANode()->GetBindItemsCopy()) { in ScriptSomDefaultValue() local 1307 if (!pFormNode || pFormNode->HasRemovedChildren()) in ScriptSomDefaultValue() 1310 pContainerNode = pFormNode->GetContainerNode(); in ScriptSomDefaultValue()
|