/external/pdfium/xfa/fxfa/ |
D | cxfa_ffwidgethandler.h | 73 CXFA_Node* CreateWidgetFormItem(XFA_WIDGETTYPE eType, 74 CXFA_Node* pParent, 75 CXFA_Node* pBefore) const; 77 CXFA_Node* CreatePushButton(CXFA_Node* pParent, CXFA_Node* pBefore) const; 78 CXFA_Node* CreateCheckButton(CXFA_Node* pParent, CXFA_Node* pBefore) const; 79 CXFA_Node* CreateExclGroup(CXFA_Node* pParent, CXFA_Node* pBefore) const; 80 CXFA_Node* CreateRadioButton(CXFA_Node* pParent, CXFA_Node* pBefore) const; 81 CXFA_Node* CreateDatetimeEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const; 82 CXFA_Node* CreateDecimalField(CXFA_Node* pParent, CXFA_Node* pBefore) const; 83 CXFA_Node* CreateNumericField(CXFA_Node* pParent, CXFA_Node* pBefore) const; [all …]
|
D | cxfa_ffwidgethandler.cpp | 192 CXFA_Node* node = pWidgetAcc->GetNode(); in HasEvent() 219 CXFA_Node* node = pWidgetAcc->GetNode(); in ProcessEvent() 251 CXFA_Node* pParentFormItem = hParent ? hParent->GetNode() : nullptr; in CreateWidget() 252 CXFA_Node* pBeforeFormItem = hBefore ? hBefore->GetNode() : nullptr; in CreateWidget() 253 CXFA_Node* pNewFormItem = in CreateWidget() 258 CXFA_Node* templateNode = pNewFormItem->GetTemplateNodeIfExists(); in CreateWidget() 270 CXFA_Node* CXFA_FFWidgetHandler::CreateWidgetFormItem( in CreateWidgetFormItem() 272 CXFA_Node* pParent, in CreateWidgetFormItem() 273 CXFA_Node* pBefore) const { in CreateWidgetFormItem() 320 CXFA_Node* CXFA_FFWidgetHandler::CreatePushButton(CXFA_Node* pParent, in CreatePushButton() [all …]
|
D | cxfa_ffnotify.h | 31 void OnNodeReady(CXFA_Node* pNode); 32 void OnValueChanging(CXFA_Node* pSender, XFA_Attribute eAttr); 33 void OnValueChanged(CXFA_Node* pSender, 35 CXFA_Node* pParentNode, 36 CXFA_Node* pWidgetNode); 37 void OnChildAdded(CXFA_Node* pSender); 40 CXFA_ContainerLayoutItem* OnCreateContainerLayoutItem(CXFA_Node* pNode); 41 CXFA_ContentLayoutItem* OnCreateContentLayoutItem(CXFA_Node* pNode); 50 void StartFieldDrawLayout(CXFA_Node* pItem, 53 bool FindSplitPos(CXFA_Node* pItem, [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_layoutpagemgr.h | 19 class CXFA_Node; variable 26 bool InitLayoutPage(CXFA_Node* pFormNode); 27 bool PrepareFirstPage(CXFA_Node* pRootSubform); 40 bool ProcessBreakBeforeOrAfter(CXFA_Node* pBreakNode, 42 CXFA_Node*& pBreakLeaderNode, 43 CXFA_Node*& pBreakTrailerNode, 45 bool ProcessOverflow(CXFA_Node* pFormNode, 46 CXFA_Node*& pLeaderNode, 47 CXFA_Node*& pTrailerNode, 50 CXFA_Node* QueryOverflow(CXFA_Node* pFormNode); [all …]
|
D | cxfa_node.cpp | 63 std::vector<CXFA_Node*> NodesSortedByDocumentIdx( in NodesSortedByDocumentIdx() 64 const std::set<CXFA_Node*>& rgNodeSet) { in NodesSortedByDocumentIdx() 66 return std::vector<CXFA_Node*>(); in NodesSortedByDocumentIdx() 68 std::vector<CXFA_Node*> rgNodeArray; in NodesSortedByDocumentIdx() 69 CXFA_Node* pCommonParent = (*rgNodeSet.begin())->GetParent(); in NodesSortedByDocumentIdx() 70 for (CXFA_Node* pNode = pCommonParent->GetFirstChild(); pNode; in NodesSortedByDocumentIdx() 78 using CXFA_NodeSetPair = std::pair<std::set<CXFA_Node*>, std::set<CXFA_Node*>>; 82 std::map<CXFA_Node*, std::unique_ptr<CXFA_NodeSetPairMap>>; 84 CXFA_NodeSetPair* NodeSetPairForNode(CXFA_Node* pNode, in NodeSetPairForNode() 86 CXFA_Node* pParentNode = pNode->GetParent(); in NodeSetPairForNode() [all …]
|
D | cxfa_node.h | 56 class CXFA_Node : public CXFA_Object { 80 static std::unique_ptr<CXFA_Node> Create(CXFA_Document* doc, 84 ~CXFA_Node() override; 103 CXFA_Node* CreateInstanceIfPossible(bool bDataMerge); 105 CXFA_Node* GetItemIfExists(int32_t iIndex); 106 void RemoveItem(CXFA_Node* pRemoveInstance, bool bRemoveDataBinding); 107 void InsertItem(CXFA_Node* pNewInstance, 122 void SetBindingNodes(std::vector<UnownedPtr<CXFA_Node>> nodes) { in SetBindingNodes() 125 std::vector<UnownedPtr<CXFA_Node>>* GetBindingNodes() { in GetBindingNodes() 128 void SetBindingNode(CXFA_Node* node) { in SetBindingNode() [all …]
|
D | cxfa_itemlayoutprocessor.h | 20 #define XFA_LAYOUT_INVALIDNODE ((CXFA_Node*)(intptr_t)-1) 29 class CXFA_Node; variable 49 bool XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); 54 CXFA_Node* pNode, 55 CXFA_Node* pParentNode); 57 CXFA_ItemLayoutProcessor(CXFA_Node* pNode, CXFA_LayoutPageMgr* pPageMgr); 67 CXFA_Node* GetFormNode() { return m_pFormNode; } in GetFormNode() 85 void ProcessUnUseOverFlow(CXFA_Node* pLeaderNode, 86 CXFA_Node* pTrailerNode, 88 CXFA_Node* pFormNode); [all …]
|
D | xfa_document_datamerger_imp.cpp | 44 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { in GetFirstChild() 47 static CXFA_Node* GetNextSibling(CXFA_Node* pDDGroupNode) { in GetNextSibling() 50 static CXFA_Node* GetParent(CXFA_Node* pDDGroupNode) { in GetParent() 56 CXFA_Node* pTemplateChild; 57 CXFA_Node* pDataChild; 60 CXFA_Node* FormValueNode_CreateChild(CXFA_Node* pValueNode, XFA_Element iType) { in FormValueNode_CreateChild() 61 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in FormValueNode_CreateChild() 67 pValueNode->JSObject()->GetOrCreateProperty<CXFA_Node>(0, iType); in FormValueNode_CreateChild() 72 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() 78 bool FormValueNode_SetChildContent(CXFA_Node* pValueNode, in FormValueNode_SetChildContent() [all …]
|
D | cxfa_simple_parser.h | 15 class CXFA_Node; variable 33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode); 34 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_nodehelper.h | 26 CXFA_Node* ResolveNodes_GetOneChild(CXFA_Node* parent, 29 CXFA_Node* ResolveNodes_GetParent( 30 CXFA_Node* pNode, 33 int32_t NodeAcc_TraverseSiblings(CXFA_Node* parent, 35 std::vector<CXFA_Node*>* pSiblings, 39 int32_t NodeAcc_TraverseAnySiblings(CXFA_Node* parent, 41 std::vector<CXFA_Node*>* pSiblings, 43 int32_t CountSiblings(CXFA_Node* pNode, 45 std::vector<CXFA_Node*>* pSiblings, 47 int32_t GetIndex(CXFA_Node* pNode, [all …]
|
D | cxfa_document.h | 56 class CXFA_Node; variable 66 CXFA_Node* GetRoot() const { return m_pRootNode; } in GetRoot() 72 CXFA_Node* GetNodeByID(CXFA_Node* pRoot, const WideStringView& wsID); 73 CXFA_Node* GetNotBindNode(const std::vector<CXFA_Object*>& arrayNodes); 78 void SetRoot(CXFA_Node* pNewRoot); 80 void AddPurgeNode(CXFA_Node* pNode); 81 bool RemovePurgeNode(CXFA_Node* pNode); 90 CXFA_Node* CreateNode(XFA_PacketType packet, XFA_Element eElement); 95 CXFA_Node* DataMerge_CopyContainer(CXFA_Node* pTemplateNode, 96 CXFA_Node* pFormNode, [all …]
|
D | cxfa_layoutpagemgr.cpp | 72 uint32_t GetRelevant(CXFA_Node* pFormItem, uint32_t dwParentRelvant) { in GetRelevant() 145 CXFA_Node* ResolveBreakTarget(CXFA_Node* pPageSetRoot, in ResolveBreakTarget() 175 CXFA_Node* pNode = pDocument->GetNodeByID( in ResolveBreakTarget() 200 void SetLayoutGeneratedNodeFlag(CXFA_Node* pNode) { in SetLayoutGeneratedNodeFlag() 207 CXFA_Node* pContentArea, in CheckContentAreaNotUsed() 287 bool CXFA_LayoutPageMgr::InitLayoutPage(CXFA_Node* pFormNode) { in InitLayoutPage() 289 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in InitLayoutPage() 316 CXFA_Node* pPageArea = nullptr; in InitLayoutPage() 331 pPageArea = m_pTemplatePageSetRoot->GetChild<CXFA_Node>( in InitLayoutPage() 379 bool CXFA_LayoutPageMgr::PrepareFirstPage(CXFA_Node* pRootSubform) { in PrepareFirstPage() [all …]
|
D | cxfa_nodehelper.cpp | 28 CXFA_Node* CXFA_NodeHelper::ResolveNodes_GetOneChild(CXFA_Node* parent, in ResolveNodes_GetOneChild() 34 std::vector<CXFA_Node*> siblings; in ResolveNodes_GetOneChild() 40 int32_t CXFA_NodeHelper::CountSiblings(CXFA_Node* pNode, in CountSiblings() 42 std::vector<CXFA_Node*>* pSiblings, in CountSiblings() 46 CXFA_Node* parent = ResolveNodes_GetParent(pNode, XFA_LOGIC_NoTransparent); in CountSiblings() 64 CXFA_Node* parent, in NodeAcc_TraverseAnySiblings() 66 std::vector<CXFA_Node*>* pSiblings, in NodeAcc_TraverseAnySiblings() 72 for (CXFA_Node* child : in NodeAcc_TraverseAnySiblings() 91 for (CXFA_Node* child : in NodeAcc_TraverseAnySiblings() 114 CXFA_Node* parent, in NodeAcc_TraverseSiblings() [all …]
|
D | cxfa_document.cpp | 36 CXFA_Node* pDestNodeParent, in MergeNodeRecurse() 37 CXFA_Node* pProtoNode) { in MergeNodeRecurse() 38 CXFA_Node* pExistingNode = nullptr; in MergeNodeRecurse() 39 for (CXFA_Node* pFormChild = pDestNodeParent->GetFirstChild(); pFormChild; in MergeNodeRecurse() 52 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); in MergeNodeRecurse() 58 CXFA_Node* pNewNode = pProtoNode->Clone(true); in MergeNodeRecurse() 64 CXFA_Node* pDestNode, in MergeNode() 65 CXFA_Node* pProtoNode) { in MergeNode() 68 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in MergeNode() 74 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); pTemplateChild; in MergeNode() [all …]
|
D | cxfa_node_unittest.cpp | 11 EXPECT_EQ(XFA_Attribute::Unknown, CXFA_Node::NameToAttribute(L"")); in TEST() 12 EXPECT_EQ(XFA_Attribute::Unknown, CXFA_Node::NameToAttribute(L"nonesuch")); in TEST() 13 EXPECT_EQ(XFA_Attribute::H, CXFA_Node::NameToAttribute(L"h")); in TEST() 14 EXPECT_EQ(XFA_Attribute::Short, CXFA_Node::NameToAttribute(L"short")); in TEST() 16 CXFA_Node::NameToAttribute(L"decipherOnly")); in TEST() 20 EXPECT_FALSE(!!CXFA_Node::NameToAttributeEnum(L"")); in TEST() 21 EXPECT_FALSE(!!CXFA_Node::NameToAttributeEnum(L"nonesuch")); in TEST() 22 EXPECT_EQ(XFA_AttributeEnum::Asterisk, *CXFA_Node::NameToAttributeEnum(L"*")); in TEST() 24 *CXFA_Node::NameToAttributeEnum(L"visible")); in TEST() 26 *CXFA_Node::NameToAttributeEnum(L"lowered")); in TEST()
|
D | xfa_document_datamerger_imp.h | 15 class CXFA_Node; variable 17 CXFA_Node* XFA_NodeMerge_CloneOrMergeContainer( 19 CXFA_Node* pFormParent, 20 CXFA_Node* pTemplateNode, 22 std::vector<CXFA_Node*>* pSubformArray); 23 CXFA_Node* XFA_DataMerge_FindDataScope(CXFA_Node* pParentFormNode); 24 CXFA_Node* XFA_DataMerge_FindFormDOMInstance(CXFA_Document* pDocument, 27 CXFA_Node* pFormParent);
|
D | cxfa_attachnodelist.cpp | 13 CXFA_Node* pAttachNode) in CXFA_AttachNodeList() 24 bool 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() 33 CXFA_Node* pParent = pNewNode->GetParent(); in Insert() 40 bool CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { in Remove() 44 CXFA_Node* CXFA_AttachNodeList::Item(size_t index) { in Item() 45 return m_pAttachNode->GetChild<CXFA_Node>( in Item()
|
D | cxfa_attachnodelist.h | 13 class CXFA_Node; variable 17 CXFA_AttachNodeList(CXFA_Document* pDocument, CXFA_Node* pAttachNode); 21 bool Append(CXFA_Node* pNode) override; 22 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override; 23 bool Remove(CXFA_Node* pNode) override; 24 CXFA_Node* Item(size_t iIndex) override; 27 CXFA_Node* m_pAttachNode;
|
D | cxfa_arraynodelist.h | 15 class CXFA_Node; variable 24 bool Append(CXFA_Node* pNode) override; 25 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override; 26 bool Remove(CXFA_Node* pNode) override; 27 CXFA_Node* Item(size_t iIndex) override; 29 void SetArrayNodeList(const std::vector<CXFA_Node*>& srcArray); 32 std::vector<CXFA_Node*> m_array;
|
D | cxfa_value.cpp | 20 const CXFA_Node::PropertyData kPropertyData[] = { 35 const CXFA_Node::AttributeData kAttributeData[] = { 48 : CXFA_Node(doc, in CXFA_Value() 61 CXFA_Node* pNode = GetFirstChild(); in GetChildValueClassID() 66 CXFA_Node* pNode = GetFirstChild(); in GetChildValueContent() 71 CXFA_Node* node = GetFirstChild(); in GetArcIfExists() 77 CXFA_Node* node = GetFirstChild(); in GetLineIfExists() 83 CXFA_Node* node = GetFirstChild(); in GetRectangleIfExists() 89 CXFA_Node* node = GetFirstChild(); in GetTextIfExists() 95 CXFA_Node* node = GetFirstChild(); in GetExDataIfExists() [all …]
|
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() 26 typedef 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() 25 typedef CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFANode>
|
D | cxfa_thisproxy.h | 12 class CXFA_Node; variable 16 CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode); 19 CXFA_Node* GetThisNode() const { return m_pThisNode; } in GetThisNode() 20 CXFA_Node* GetScriptNode() const { return m_pScriptNode; } in GetScriptNode() 23 CXFA_Node* m_pThisNode; 24 CXFA_Node* m_pScriptNode;
|
D | cxfa_nodelocale.cpp | 44 CXFA_NodeLocale::CXFA_NodeLocale(CXFA_Node* pLocale) : m_pLocale(pLocale) {} in CXFA_NodeLocale() 138 CXFA_Node* CXFA_NodeLocale::GetNodeByName(CXFA_Node* pParent, in GetNodeByName() 140 CXFA_Node* pChild = pParent ? pParent->GetFirstChild() : nullptr; in GetNodeByName() 152 CXFA_Node* pSymbols = in GetSymbol() 153 m_pLocale ? m_pLocale->GetChild<CXFA_Node>(0, eElement, false) : nullptr; in GetSymbol() 154 CXFA_Node* pSymbol = GetNodeByName(pSymbols, symbol_type); in GetSymbol() 168 CXFA_Node* pNode = pCalendar->GetFirstChildByClass<CXFA_Node>(eElement); in GetCalendarSymbol() 169 for (; pNode; pNode = pNode->GetNextSameClassSibling<CXFA_Node>(eElement)) { in GetCalendarSymbol() 171 CXFA_Node* pSymbol = in GetCalendarSymbol() 172 pNode->GetChild<CXFA_Node>(index, XFA_Element::Unknown, false); in GetCalendarSymbol()
|
/external/pdfium/fxjs/ |
D | cfxjse_engine.h | 66 CXFA_Node* bindNode); 71 int32_t GetIndexByName(CXFA_Node* refNode); 72 int32_t GetIndexByClassName(CXFA_Node* refNode); 73 WideString GetSomExpression(CXFA_Node* refNode); 75 void SetNodesOfRunScript(std::vector<CXFA_Node*>* pArray); 76 void AddNodesOfRunScript(CXFA_Node* pNode); 83 std::vector<CXFA_Node*>* GetUpObjectArray() { return &m_upObjectArray; } in GetUpObjectArray() 87 CFXJSE_Context* CreateVariablesContext(CXFA_Node* pScriptNode, 88 CXFA_Node* pSubform); 90 bool QueryNodeByFlag(CXFA_Node* refNode, [all …]
|