Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dcxfa_layoutitem.cpp14 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_ReleaseLayoutItem() argument
15 CXFA_LayoutItem* pNode = pLayoutItem->m_pFirstChild; in XFA_ReleaseLayoutItem()
16 CXFA_FFNotify* pNotify = pLayoutItem->m_pFormNode->GetDocument()->GetNotify(); in XFA_ReleaseLayoutItem()
18 pLayoutItem->m_pFormNode->GetDocument()->GetDocLayout(); in XFA_ReleaseLayoutItem()
28 pNotify->OnLayoutItemRemoving(pDocLayout, pLayoutItem); in XFA_ReleaseLayoutItem()
29 if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageArea) { in XFA_ReleaseLayoutItem()
30 pNotify->OnPageEvent(static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem), in XFA_ReleaseLayoutItem()
33 delete pLayoutItem; in XFA_ReleaseLayoutItem()
73 for (CXFA_LayoutItem* pLayoutItem = pThis->m_pParent; pLayoutItem; in GetRect() local
74 pLayoutItem = pLayoutItem->m_pParent) { in GetRect()
[all …]
Dcxfa_traversestrategy_layoutitem.h14 static CXFA_LayoutItem* GetFirstChild(CXFA_LayoutItem* pLayoutItem) { in GetFirstChild() argument
15 return pLayoutItem->m_pFirstChild; in GetFirstChild()
17 static CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) { in GetNextSibling() argument
18 return pLayoutItem->m_pNextSibling; in GetNextSibling()
20 static CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) { in GetParent() argument
21 return pLayoutItem->m_pParent; in GetParent()
Dcxfa_traversestrategy_contentlayoutitem.h15 CXFA_ContentLayoutItem* pLayoutItem) { in GetFirstChild() argument
16 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pFirstChild); in GetFirstChild()
20 CXFA_ContentLayoutItem* pLayoutItem) { in GetNextSibling() argument
21 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pNextSibling); in GetNextSibling()
25 CXFA_ContentLayoutItem* pLayoutItem) { in GetParent() argument
26 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pParent); in GetParent()
Dcxfa_traversestrategy_contentareacontainerlayoutitem.h15 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
16 for (CXFA_LayoutItem* pChildItem = pLayoutItem->m_pFirstChild; pChildItem; in GetFirstChild()
27 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
28 for (CXFA_LayoutItem* pChildItem = pLayoutItem->m_pNextSibling; pChildItem; in GetNextSibling()
39 CXFA_ContainerLayoutItem* pLayoutItem) { in GetParent() argument
40 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in GetParent()
Dcscript_layoutpseudomodel.cpp95 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in HWXY() local
96 if (!pLayoutItem) { in HWXY()
99 while (iIndex > 0 && pLayoutItem) { in HWXY()
100 pLayoutItem = pLayoutItem->GetNext(); in HWXY()
104 if (!pLayoutItem) { in HWXY()
109 CFX_RectF rtRect = pLayoutItem->GetRect(true); in HWXY()
196 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in PageSpan() local
197 if (!pLayoutItem) { in PageSpan()
201 int32_t iLast = pLayoutItem->GetLast()->GetPage()->GetPageIndex(); in PageSpan()
202 int32_t iFirst = pLayoutItem->GetFirst()->GetPage()->GetPageIndex(); in PageSpan()
[all …]
Dcxfa_layoutpagemgr.cpp30 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
31 if (pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::PageSet) in GetFirstChild()
35 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild); in GetFirstChild()
45 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
47 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pNextSibling); in GetNextSibling()
57 CXFA_ContainerLayoutItem* pLayoutItem) { in GetParent() argument
58 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in GetParent()
114 void ReorderLayoutItemToTail(CXFA_ContainerLayoutItem* pLayoutItem) { in ReorderLayoutItemToTail() argument
116 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in ReorderLayoutItemToTail()
120 pParentLayoutItem->RemoveChild(pLayoutItem); in ReorderLayoutItemToTail()
[all …]
Dxfa_layout_itemlayout.cpp52 void UpdateWidgetSize(CXFA_ContentLayoutItem* pLayoutItem, in UpdateWidgetSize() argument
55 CXFA_Node* pNode = pLayoutItem->m_pFormNode; in UpdateWidgetSize()
62 *fWidth = pLayoutItem->m_sSize.width; in UpdateWidgetSize()
64 *fHeight = pLayoutItem->m_sSize.height; in UpdateWidgetSize()
291 CXFA_ContentLayoutItem* pLayoutItem) { in UpdatePendingItemLayout() argument
293 pLayoutItem->m_pFormNode->GetEnum(XFA_ATTRIBUTE_Layout); in UpdatePendingItemLayout()
297 RelocateTableRowCells(pLayoutItem, pProcessor->m_rgSpecifiedColumnWidths, in UpdatePendingItemLayout()
942 bool FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem, in FindLayoutItemSplitPos() argument
947 CXFA_Node* pFormNode = pLayoutItem->m_pFormNode; in FindLayoutItemSplitPos()
949 *fProposedSplitPos > fCurVerticalOffset + pLayoutItem->m_sSize.height - in FindLayoutItemSplitPos()
[all …]
Dcxfa_layoutprocessor.cpp76 CXFA_ContentLayoutItem* pLayoutItem = in DoLayout() local
78 if (pLayoutItem) in DoLayout()
79 pLayoutItem->m_sPos = CFX_PointF(fPosX, fPosY); in DoLayout()
81 m_pLayoutPageMgr->SubmitContentItem(pLayoutItem, eStatus); in DoLayout()
Dcxfa_layoutitem.h16 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
Dxfa_layout_itemlayout.h129 void SplitLayoutItem(CXFA_ContentLayoutItem* pLayoutItem,
/external/pdfium/xfa/fxfa/app/
Dxfa_ffpageview.cpp163 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); pLayoutItem; in MoveToFirst() local
164 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToFirst()
165 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToFirst()
176 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.MoveToNext(); pLayoutItem; in MoveToNext() local
177 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToNext()
178 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToNext()
185 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.MoveToPrev(); pLayoutItem; in MoveToPrevious() local
186 pLayoutItem = m_sIterator.MoveToPrev()) { in MoveToPrevious()
187 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToPrevious()
194 CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); in GetCurrentWidget() local
[all …]
Dxfa_ffnotify.h63 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem);
Dxfa_ffnotify.cpp251 CXFA_FFWidget* CXFA_FFNotify::GetHWidget(CXFA_LayoutItem* pLayoutItem) { in GetHWidget() argument
252 return XFA_GetWidgetFromLayoutItem(pLayoutItem); in GetHWidget()
Dxfa_ffwidget.cpp1181 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_GetWidgetFromLayoutItem() argument
1182 if (XFA_IsCreateWidget(pLayoutItem->GetFormNode()->GetElementType())) in XFA_GetWidgetFromLayoutItem()
1183 return static_cast<CXFA_FFWidget*>(pLayoutItem); in XFA_GetWidgetFromLayoutItem()
/external/pdfium/xfa/fxfa/
Dxfa_ffpageview.h54 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
92 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
Dxfa_ffwidget.h180 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);