/external/pdfium/xfa/fxfa/layout/ |
D | cxfa_viewlayoutprocessor.h | 21 class CXFA_Node; variable 26 CXFA_Node* pLeader; 27 CXFA_Node* pTrailer; 32 CXFA_Node* pLeader; 33 CXFA_Node* pTrailer; 39 bool InitLayoutPage(CXFA_Node* pFormNode); 40 bool PrepareFirstPage(CXFA_Node* pRootSubform); 54 Optional<BreakData> ProcessBreakBefore(const CXFA_Node* pBreakNode); 55 Optional<BreakData> ProcessBreakAfter(const CXFA_Node* pBreakNode); 56 Optional<OverflowData> ProcessOverflow(CXFA_Node* pFormNode, [all …]
|
D | cxfa_contentlayoutprocessor.h | 28 class CXFA_Node; variable 52 CXFA_ContentLayoutProcessor(CXFA_Node* pNode, 59 CXFA_Node* GetFormNode() { return m_pFormNode; } in GetFormNode() 71 UnownedPtr<CXFA_Node> m_pOverflowNode; 94 CXFA_Node* pLeaderNode, 95 CXFA_Node* pTrailerNode, 97 CXFA_Node* pFormNode); 99 bool JudgeLeaderOrTrailerForOccur(CXFA_Node* pFormNode); 102 CXFA_Node* pFormNode); 122 void ProcessUnUseBinds(CXFA_Node* pFormNode); [all …]
|
D | cxfa_viewlayoutprocessor.cpp | 108 uint32_t GetRelevant(CXFA_Node* pFormItem, uint32_t dwParentRelvant) { in GetRelevant() 170 CXFA_Node* ResolveBreakTarget(CXFA_Node* pPageSetRoot, in ResolveBreakTarget() 200 CXFA_Node* pNode = pDocument->GetNodeByID( in ResolveBreakTarget() 225 void SetLayoutGeneratedNodeFlag(CXFA_Node* pNode) { in SetLayoutGeneratedNodeFlag() 233 CXFA_Node* pContentArea) { in CheckContentAreaNotUsed() 307 bool ContentAreasFitInPageAreas(const CXFA_Node* pNode, in ContentAreasFitInPageAreas() 310 for (const CXFA_Node* pContentAreaNode = pNode->GetFirstChild(); in ContentAreasFitInPageAreas() 351 bool CXFA_ViewLayoutProcessor::InitLayoutPage(CXFA_Node* pFormNode) { in InitLayoutPage() 353 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in InitLayoutPage() 376 CXFA_Node* pPageArea = nullptr; in InitLayoutPage() [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffnotify.h | 30 void OnWidgetListItemAdded(CXFA_Node* pSender, 33 void OnWidgetListItemRemoved(CXFA_Node* pSender, int32_t iIndex); 36 void OnNodeReady(CXFA_Node* pNode); 37 void OnValueChanging(CXFA_Node* pSender, XFA_Attribute eAttr); 38 void OnValueChanged(CXFA_Node* pSender, 40 CXFA_Node* pParentNode, 41 CXFA_Node* pWidgetNode); 42 void OnContainerChanged(CXFA_Node* pNode); 43 void OnChildAdded(CXFA_Node* pSender); 46 std::unique_ptr<CXFA_FFPageView> OnCreateViewLayoutItem(CXFA_Node* pNode); [all …]
|
D | cxfa_ffdocview.h | 24 class CXFA_Node; variable 59 void UpdateUIDisplay(CXFA_Node* pNode, CXFA_FFWidget* pExcept); 64 void ResetNode(CXFA_Node* pNode); 69 CXFA_FFWidget* GetWidgetForNode(CXFA_Node* node); 80 void ProcessValueChanged(CXFA_Node* node); 83 void AddValidateNode(CXFA_Node* node); 84 void AddCalculateNodeNotify(CXFA_Node* pNodeChange); 85 void AddCalculateNode(CXFA_Node* node); 88 void AddNewFormNode(CXFA_Node* pNode); 89 void AddIndexChangedSubform(CXFA_Node* pNode); [all …]
|
D | cxfa_ffdocview.cpp | 66 void CXFA_FFDocView::InitLayout(CXFA_Node* pNode) { in InitLayout() 82 CXFA_Node* pRootItem = in StartLayout() 106 CXFA_Node* pRootItem = in StopLayout() 175 CXFA_Node* pNode = m_NewAddedNodes.front(); in UpdateDocView() 196 void CXFA_FFDocView::UpdateUIDisplay(CXFA_Node* pNode, CXFA_FFWidget* pExcept) { in UpdateUIDisplay() 231 bool CXFA_FFDocView::ResetSingleNodeData(CXFA_Node* pNode) { in ResetSingleNodeData() 247 void CXFA_FFDocView::ResetNode(CXFA_Node* pNode) { in ResetNode() 250 CXFA_Node* pFormNode = nullptr; in ResetNode() 263 while (CXFA_Node* next_node = it.MoveToNext()) { in ResetNode() 273 CXFA_FFWidget* CXFA_FFDocView::GetWidgetForNode(CXFA_Node* node) { in GetWidgetForNode() [all …]
|
D | cxfa_ffnotify.cpp | 57 void CXFA_FFNotify::OnWidgetListItemAdded(CXFA_Node* pSender, in OnWidgetListItemAdded() 70 void CXFA_FFNotify::OnWidgetListItemRemoved(CXFA_Node* pSender, in OnWidgetListItemRemoved() 83 CXFA_Node* pNode) { in OnCreateViewLayoutItem() 93 CXFA_Node* pNode) { in OnCreateContentLayoutItem() 104 CXFA_Node* child = pNode->GetUIChildNode(); in OnCreateContentLayoutItem() 113 CXFA_Node* child = pNode->GetUIChildNode(); in OnCreateContentLayoutItem() 122 CXFA_Node* child = pNode->GetUIChildNode(); in OnCreateContentLayoutItem() 147 CXFA_Node* child = pNode->GetUIChildNode(); in OnCreateContentLayoutItem() 191 void CXFA_FFNotify::StartFieldDrawLayout(CXFA_Node* pItem, in StartFieldDrawLayout() 197 bool CXFA_FFNotify::RunScript(CXFA_Script* script, CXFA_Node* item) { in RunScript() [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_document_parser.h | 20 class CXFA_Node; variable 33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode); 36 CXFA_Node* GetRootNode() const; 42 CXFA_Node* ParseAsXDPPacket(CFX_XMLNode* pXMLDocumentNode, 44 CXFA_Node* ParseAsXDPPacket_XDP(CFX_XMLNode* pXMLDocumentNode); 45 CXFA_Node* ParseAsXDPPacket_Config(CFX_XMLNode* pXMLDocumentNode); 46 CXFA_Node* ParseAsXDPPacket_Template(CFX_XMLNode* pXMLDocumentNode); 47 CXFA_Node* ParseAsXDPPacket_Form(CFX_XMLNode* pXMLDocumentNode); 48 CXFA_Node* ParseAsXDPPacket_Data(CFX_XMLNode* pXMLDocumentNode); 49 CXFA_Node* ParseAsXDPPacket_LocaleConnectionSourceSet( [all …]
|
D | cxfa_node.h | 76 class CXFA_Node : public CXFA_Object, public TreeNode<CXFA_Node> { 90 static std::unique_ptr<CXFA_Node> Create(CXFA_Document* doc, 94 ~CXFA_Node() override; 100 std::pair<CXFA_Node*, int32_t> GetProperty(int32_t index, 102 CXFA_Node* GetOrCreateProperty(int32_t index, XFA_Element eProperty); 118 CXFA_Node* CreateInstanceIfPossible(bool bDataMerge); 120 CXFA_Node* GetItemIfExists(int32_t iIndex); 121 void RemoveItem(CXFA_Node* pRemoveInstance, bool bRemoveDataBinding); 122 void InsertItem(CXFA_Node* pNewInstance, 137 void SetBindingNode(CXFA_Node* node); [all …]
|
D | cxfa_document.cpp | 54 CXFA_Node* pTemplateChild; 55 CXFA_Node* pDataChild; 60 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { in GetFirstChild() 63 static CXFA_Node* GetNextSibling(CXFA_Node* pDDGroupNode) { in GetNextSibling() 66 static CXFA_Node* GetParent(CXFA_Node* pDDGroupNode) { in GetParent() 71 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() 77 CXFA_Node* FormValueNode_CreateChild(CXFA_Node* pValueNode, XFA_Element iType) { in FormValueNode_CreateChild() 78 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in FormValueNode_CreateChild() 84 pValueNode->JSObject()->GetOrCreateProperty<CXFA_Node>(0, iType); in FormValueNode_CreateChild() 89 void FormValueNode_SetChildContent(CXFA_Node* pValueNode, in FormValueNode_SetChildContent() [all …]
|
D | cxfa_node.cpp | 545 std::vector<CXFA_Node*> NodesSortedByDocumentIdx( in NodesSortedByDocumentIdx() 546 const std::set<CXFA_Node*>& rgNodeSet) { in NodesSortedByDocumentIdx() 548 return std::vector<CXFA_Node*>(); in NodesSortedByDocumentIdx() 550 std::vector<CXFA_Node*> rgNodeArray; in NodesSortedByDocumentIdx() 551 CXFA_Node* pCommonParent = (*rgNodeSet.begin())->GetParent(); in NodesSortedByDocumentIdx() 552 for (CXFA_Node* pNode = pCommonParent->GetFirstChild(); pNode; in NodesSortedByDocumentIdx() 560 using CXFA_NodeSetPair = std::pair<std::set<CXFA_Node*>, std::set<CXFA_Node*>>; 564 std::map<CXFA_Node*, std::unique_ptr<CXFA_NodeSetPairMap>>; 566 CXFA_NodeSetPair* NodeSetPairForNode(CXFA_Node* pNode, in NodeSetPairForNode() 568 CXFA_Node* pParentNode = pNode->GetParent(); in NodeSetPairForNode() [all …]
|
D | xfa_document_datamerger_imp.cpp | 12 bool XFA_DataMerge_NeedGenerateForm(CXFA_Node* pTemplateChild, in XFA_DataMerge_NeedGenerateForm() 27 CXFA_Node* XFA_DataMerge_FindFormDOMInstance(CXFA_Document* pDocument, in XFA_DataMerge_FindFormDOMInstance() 30 CXFA_Node* pFormParent) { in XFA_DataMerge_FindFormDOMInstance() 31 CXFA_Node* pFormChild = pFormParent->GetFirstChild(); in XFA_DataMerge_FindFormDOMInstance() 41 CXFA_Node* XFA_NodeMerge_CloneOrMergeContainer( in XFA_NodeMerge_CloneOrMergeContainer() 43 CXFA_Node* pFormParent, in XFA_NodeMerge_CloneOrMergeContainer() 44 CXFA_Node* pTemplateNode, in XFA_NodeMerge_CloneOrMergeContainer() 46 std::vector<CXFA_Node*>* pSubformArray) { in XFA_NodeMerge_CloneOrMergeContainer() 47 CXFA_Node* pExistingNode = nullptr; in XFA_NodeMerge_CloneOrMergeContainer() 66 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in XFA_NodeMerge_CloneOrMergeContainer() [all …]
|
D | cxfa_node_unittest.cpp | 14 class TestNode final : public CXFA_Node { 17 : CXFA_Node(doc, in TestNode() 44 CXFA_Node* GetNode() const { return node_.get(); } in GetNode() 55 CXFA_Node* child = in TEST_F() 67 CXFA_Node* child0 = in TEST_F() 71 CXFA_Node* child = in TEST_F() 86 CXFA_Node* child0 = in TEST_F() 90 CXFA_Node* child1 = in TEST_F() 94 CXFA_Node* child2 = in TEST_F() 98 CXFA_Node* child3 = in TEST_F() [all …]
|
D | cxfa_document.h | 47 class CXFA_Node; variable 57 virtual void AddChangedContainer(CXFA_Node* pContainer) = 0; 82 CXFA_Node* GetNodeByID(CXFA_Node* pRoot, WideStringView wsID) const; 83 CXFA_Node* GetNotBindNode( 90 CXFA_Node* GetRoot() const { return m_pRootNode; } in GetRoot() 91 void SetRoot(CXFA_Node* pNewRoot) { m_pRootNode = pNewRoot; } in SetRoot() 104 CXFA_Node* CreateNode(XFA_PacketType packet, XFA_Element eElement); 109 CXFA_Node* DataMerge_CopyContainer(CXFA_Node* pTemplateNode, 110 CXFA_Node* pFormNode, 111 CXFA_Node* pDataScope, [all …]
|
D | xfa_document_datamerger_imp.h | 15 class CXFA_Node; variable 17 bool XFA_DataMerge_NeedGenerateForm(CXFA_Node* pTemplateChild, 19 CXFA_Node* XFA_NodeMerge_CloneOrMergeContainer( 21 CXFA_Node* pFormParent, 22 CXFA_Node* pTemplateNode, 24 std::vector<CXFA_Node*>* pSubformArray); 25 CXFA_Node* XFA_DataMerge_FindDataScope(CXFA_Node* pParentFormNode); 26 CXFA_Node* XFA_DataMerge_FindFormDOMInstance(CXFA_Document* pDocument, 29 CXFA_Node* pFormParent);
|
D | cxfa_attachnodelist.h | 13 class CXFA_Node; variable 17 CXFA_AttachNodeList(CXFA_Document* pDocument, CXFA_Node* pAttachNode); 22 void Append(CXFA_Node* pNode) override; 23 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override; 24 void Remove(CXFA_Node* pNode) override; 25 CXFA_Node* Item(size_t iIndex) override; 28 UnownedPtr<CXFA_Node> const m_pAttachNode;
|
D | cxfa_attachnodelist.cpp | 13 CXFA_Node* pAttachNode) in CXFA_AttachNodeList() 24 void CXFA_AttachNodeList::Append(CXFA_Node* pNode) { in Append() 25 CXFA_Node* pParent = pNode->GetParent(); in Append() 32 bool CXFA_AttachNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) { in Insert() 36 CXFA_Node* pParent = pNewNode->GetParent(); in Insert() 44 void CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { in Remove() 48 CXFA_Node* CXFA_AttachNodeList::Item(size_t index) { in Item() 49 return m_pAttachNode->GetChild<CXFA_Node>( in Item()
|
D | cxfa_arraynodelist.h | 15 class CXFA_Node; variable 24 void Append(CXFA_Node* pNode) override; 25 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override; 26 void Remove(CXFA_Node* pNode) override; 27 CXFA_Node* Item(size_t iIndex) override; 29 void SetArrayNodeList(std::vector<CXFA_Node*> srcArray); 32 std::vector<CXFA_Node*> m_array;
|
D | cxfa_traversestrategy_xfacontainernode.h | 15 static CXFA_Node* GetFirstChild(CXFA_Node* pTemplateNode) { in GetFirstChild() 18 static CXFA_Node* GetNextSibling(CXFA_Node* pTemplateNode) { in GetNextSibling() 21 static CXFA_Node* GetParent(CXFA_Node* pTemplateNode) { in GetParent() 27 CXFA_NodeIteratorTemplate<CXFA_Node,
|
D | cxfa_traversestrategy_xfanode.h | 14 static inline CXFA_Node* GetFirstChild(CXFA_Node* pTemplateNode) { in GetFirstChild() 17 static inline CXFA_Node* GetNextSibling(CXFA_Node* pTemplateNode) { in GetNextSibling() 20 static inline CXFA_Node* GetParent(CXFA_Node* pTemplateNode) { in GetParent() 26 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFANode>;
|
D | cxfa_thisproxy.h | 13 class CXFA_Node; variable 17 CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode); 20 CXFA_Node* GetThisNode() const { return m_pThisNode.Get(); } in GetThisNode() 21 CXFA_Node* GetScriptNode() const { return m_pScriptNode.Get(); } in GetScriptNode() 24 UnownedPtr<CXFA_Node> m_pThisNode; 25 UnownedPtr<CXFA_Node> m_pScriptNode;
|
D | cxfa_value.cpp | 20 const CXFA_Node::PropertyData kValuePropertyData[] = { 36 const CXFA_Node::AttributeData kValueAttributeData[] = { 47 : CXFA_Node(doc, in CXFA_Value() 59 CXFA_Node* pNode = GetFirstChild(); in GetChildValueClassID() 64 CXFA_Node* pNode = GetFirstChild(); in GetChildValueContent() 71 CXFA_Node* node = GetFirstChild(); in GetArcIfExists() 78 CXFA_Node* node = GetFirstChild(); in GetLineIfExists() 85 CXFA_Node* node = GetFirstChild(); in GetRectangleIfExists() 92 CXFA_Node* node = GetFirstChild(); in GetTextIfExists() 99 CXFA_Node* node = GetFirstChild(); in GetExDataIfExists() [all …]
|
D | cxfa_nodelocale.cpp | 43 CXFA_NodeLocale::CXFA_NodeLocale(CXFA_Node* pLocale) : m_pLocale(pLocale) {} in CXFA_NodeLocale() 137 CXFA_Node* CXFA_NodeLocale::GetNodeByName(CXFA_Node* pParent, in GetNodeByName() 139 CXFA_Node* pChild = pParent ? pParent->GetFirstChild() : nullptr; in GetNodeByName() 151 CXFA_Node* pSymbols = in GetSymbol() 152 m_pLocale ? m_pLocale->GetChild<CXFA_Node>(0, eElement, false) : nullptr; in GetSymbol() 153 CXFA_Node* pSymbol = GetNodeByName(pSymbols, symbol_type); in GetSymbol() 167 for (CXFA_Node* pNode = pCalendar->GetFirstChildByClass<CXFA_Node>(eElement); in GetCalendarSymbol() 168 pNode; pNode = pNode->GetNextSameClassSibling<CXFA_Node>(eElement)) { in GetCalendarSymbol() 170 CXFA_Node* pSymbol = in GetCalendarSymbol() 171 pNode->GetChild<CXFA_Node>(index, XFA_Element::Unknown, false); in GetCalendarSymbol()
|
D | xfa_utils.cpp | 98 bool AttributeSaveInDataModel(CXFA_Node* pNode, XFA_Attribute eAttribute) { in AttributeSaveInDataModel() 103 CXFA_Node* pValueNode = pNode->GetParent(); in AttributeSaveInDataModel() 107 CXFA_Node* pFieldNode = pValueNode->GetParent(); in AttributeSaveInDataModel() 115 bool ContentNodeNeedtoExport(CXFA_Node* pContentNode) { in ContentNodeNeedtoExport() 122 CXFA_Node* pParentNode = pContentNode->GetParent(); in ContentNodeNeedtoExport() 126 CXFA_Node* pGrandParentNode = pParentNode->GetParent(); in ContentNodeNeedtoExport() 136 void SaveAttribute(CXFA_Node* pNode, in SaveAttribute() 155 void RegenerateFormFile_Changed(CXFA_Node* pNode, in RegenerateFormFile_Changed() 180 CXFA_Node* pRawValueNode = pNode->GetFirstChild(); in RegenerateFormFile_Changed() 218 CXFA_Node* pParentNode = pNode->GetParent(); in RegenerateFormFile_Changed() [all …]
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_engine.h | 82 CXFA_Node* bindNode); 90 void SetNodesOfRunScript(std::vector<CXFA_Node*>* pArray); 91 void AddNodesOfRunScript(CXFA_Node* pNode); 98 std::vector<CXFA_Node*>* GetUpObjectArray() { return &m_upObjectArray; } in GetUpObjectArray() 106 CFXJSE_Context* CreateVariablesContext(CXFA_Node* pScriptNode, 107 CXFA_Node* pSubform); 109 bool QueryNodeByFlag(CXFA_Node* refNode, 116 bool QueryVariableValue(CXFA_Node* pScriptNode, 120 bool RunVariablesScript(CXFA_Node* pScriptNode); 131 std::vector<CXFA_Node*> m_upObjectArray; [all …]
|