Home
last modified time | relevance | path

Searched refs:pLayoutItem (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_layout_appadapter.h12 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
13 if (pLayoutItem->m_pFormNode->GetClassID() == XFA_ELEMENT_PageSet) { in GetFirstChild()
14 return (CXFA_ContainerLayoutItem*)pLayoutItem->m_pFirstChild; in GetFirstChild()
19 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
20 return (CXFA_ContainerLayoutItem*)pLayoutItem->m_pNextSibling; in GetNextSibling()
23 CXFA_ContainerLayoutItem* pLayoutItem) { in GetParent() argument
24 return (CXFA_ContainerLayoutItem*)pLayoutItem->m_pParent; in GetParent()
30 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
31 for (CXFA_LayoutItem* pChildItem = pLayoutItem->m_pFirstChild; pChildItem; in GetFirstChild()
41 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
[all …]
Dxfa_layout_appadapter.cpp41 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_ReleaseLayoutItem() argument
42 CXFA_LayoutItem* pNode = pLayoutItem->m_pFirstChild; in XFA_ReleaseLayoutItem()
50 pLayoutItem->m_pFormNode->GetDocument()->GetParser()->GetNotify(); in XFA_ReleaseLayoutItem()
51 if (pLayoutItem->m_pFormNode->GetClassID() == XFA_ELEMENT_PageArea) { in XFA_ReleaseLayoutItem()
52 pNotify->OnPageEvent(static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem), in XFA_ReleaseLayoutItem()
55 delete pLayoutItem; in XFA_ReleaseLayoutItem()
Dxfa_layout_pagemgr_new.cpp36 CXFA_LayoutItem* pLayoutItem = GetRootLayoutItem(); in ~CXFA_LayoutPageMgr() local
38 for (; pLayoutItem; pLayoutItem = pNextLayout) { in ~CXFA_LayoutPageMgr()
39 pNextLayout = pLayoutItem->m_pNextSibling; in ~CXFA_LayoutPageMgr()
40 XFA_ReleaseLayoutItem(pLayoutItem); in ~CXFA_LayoutPageMgr()
181 CXFA_ContainerLayoutItem* pLayoutItem) { in XFA_LayoutItemMgr_ReorderLayoutItemToTail() argument
183 (CXFA_ContainerLayoutItem*)pLayoutItem->m_pParent; in XFA_LayoutItemMgr_ReorderLayoutItemToTail()
187 pParentLayoutItem->RemoveChild(pLayoutItem); in XFA_LayoutItemMgr_ReorderLayoutItemToTail()
188 pParentLayoutItem->AddChild(pLayoutItem); in XFA_LayoutItemMgr_ReorderLayoutItemToTail()
191 CXFA_ContainerLayoutItem* pLayoutItem) { in XFA_LayoutItemMgr_RemoveLayoutItem() argument
193 (CXFA_ContainerLayoutItem*)pLayoutItem->m_pParent; in XFA_LayoutItemMgr_RemoveLayoutItem()
[all …]
Dxfa_script_layoutpseudomodel.cpp87 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in Script_LayoutPseudoModel_HWXY() local
88 if (!pLayoutItem) { in Script_LayoutPseudoModel_HWXY()
91 while (iIndex > 0 && pLayoutItem) { in Script_LayoutPseudoModel_HWXY()
92 pLayoutItem = pLayoutItem->GetNext(); in Script_LayoutPseudoModel_HWXY()
96 if (!pLayoutItem) { in Script_LayoutPseudoModel_HWXY()
100 pLayoutItem->GetRect(rtRect, TRUE); in Script_LayoutPseudoModel_HWXY()
189 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in Script_LayoutPseudoModel_PageSpan() local
190 if (!pLayoutItem) { in Script_LayoutPseudoModel_PageSpan()
194 int32_t iLast = pLayoutItem->GetLast()->GetPage()->GetPageIndex(); in Script_LayoutPseudoModel_PageSpan()
195 int32_t iFirst = pLayoutItem->GetFirst()->GetPage()->GetPageIndex(); in Script_LayoutPseudoModel_PageSpan()
[all …]
Dxfa_layout_itemlayout.cpp60 CXFA_ContentLayoutItem* pLayoutItem = NULL; in CreateContentLayoutItem() local
63 pLayoutItem = m_pOldLayoutItem; in CreateContentLayoutItem()
65 return pLayoutItem; in CreateContentLayoutItem()
67 pLayoutItem = (CXFA_ContentLayoutItem*)pFormNode->GetDocument() in CreateContentLayoutItem()
72 pLayoutItem = in CreateContentLayoutItem()
82 pPrevLayoutItem->m_pNext = pLayoutItem; in CreateContentLayoutItem()
83 pLayoutItem->m_pPrev = pPrevLayoutItem; in CreateContentLayoutItem()
85 pFormNode->SetUserData(XFA_LAYOUTITEMKEY, pLayoutItem); in CreateContentLayoutItem()
87 return pLayoutItem; in CreateContentLayoutItem()
90 CXFA_ContentLayoutItem* pLayoutItem, in FindLayoutItemSplitPos() argument
[all …]
Dxfa_document_layout_imp.cpp96 CXFA_ContentLayoutItem* pLayoutItem = in DoLayout() local
98 if (pLayoutItem) { in DoLayout()
99 pLayoutItem->m_sPos.Set(fPosX, fPosY); in DoLayout()
101 m_pLayoutPageMgr->SubmitContentItem(pLayoutItem, eStatus); in DoLayout()
Dxfa_layout_itemlayout.h79 static FX_BOOL FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem,
85 void SplitLayoutItem(CXFA_ContentLayoutItem* pLayoutItem,
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffpageview.cpp134 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); pLayoutItem; in MoveToFirst() local
135 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToFirst()
136 if (IXFA_Widget* hWidget = GetWidget(pLayoutItem)) { in MoveToFirst()
147 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.MoveToNext(); pLayoutItem; in MoveToNext() local
148 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToNext()
149 if (IXFA_Widget* hWidget = GetWidget(pLayoutItem)) { in MoveToNext()
156 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.MoveToPrev(); pLayoutItem; in MoveToPrevious() local
157 pLayoutItem = m_sIterator.MoveToPrev()) { in MoveToPrevious()
158 if (IXFA_Widget* hWidget = GetWidget(pLayoutItem)) { in MoveToPrevious()
165 CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); in GetCurrentWidget() local
[all …]
Dxfa_ffpageview.h56 IXFA_Widget* GetWidget(CXFA_LayoutItem* pLayoutItem);
99 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
Dxfa_ffnotify.h53 virtual IXFA_Widget* GetHWidget(CXFA_LayoutItem* pLayoutItem);
Dxfa_ffnotify.cpp338 IXFA_Widget* CXFA_FFNotify::GetHWidget(CXFA_LayoutItem* pLayoutItem) { in GetHWidget() argument
339 return XFA_GetWidgetFromLayoutItem(pLayoutItem); in GetHWidget()
Dxfa_ffwidget.h177 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
Dxfa_ffwidget.cpp1102 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_GetWidgetFromLayoutItem() argument
1103 XFA_ELEMENT iType = pLayoutItem->GetFormNode()->GetClassID(); in XFA_GetWidgetFromLayoutItem()
1105 return static_cast<CXFA_FFWidget*>(pLayoutItem); in XFA_GetWidgetFromLayoutItem()
/external/pdfium/xfa/src/fxfa/src/common/
Dxfa_doclayout.h111 static inline CXFA_LayoutItem* GetFirstChild(CXFA_LayoutItem* pLayoutItem) { in GetFirstChild() argument
112 return pLayoutItem->m_pFirstChild; in GetFirstChild()
114 static inline CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) { in GetNextSibling() argument
115 return pLayoutItem->m_pNextSibling; in GetNextSibling()
117 static inline CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) { in GetParent() argument
118 return pLayoutItem->m_pParent; in GetParent()
Dxfa_document.h109 virtual IXFA_Widget* GetHWidget(CXFA_LayoutItem* pLayoutItem) = 0;