Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dcxfa_layoutitem.cpp17 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_ReleaseLayoutItem() argument
18 CXFA_LayoutItem* pNode = pLayoutItem->m_pFirstChild; in XFA_ReleaseLayoutItem()
19 CXFA_FFNotify* pNotify = pLayoutItem->m_pFormNode->GetDocument()->GetNotify(); in XFA_ReleaseLayoutItem()
21 pLayoutItem->m_pFormNode->GetDocument()->GetDocLayout(); in XFA_ReleaseLayoutItem()
29 pNotify->OnLayoutItemRemoving(pDocLayout, pLayoutItem); in XFA_ReleaseLayoutItem()
30 if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageArea) { in XFA_ReleaseLayoutItem()
31 pNotify->OnPageEvent(static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem), in XFA_ReleaseLayoutItem()
34 delete pLayoutItem; in XFA_ReleaseLayoutItem()
74 for (CXFA_LayoutItem* pLayoutItem = pThis->m_pParent; pLayoutItem; in GetRect() local
75 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()
Dcxfa_layoutpagemgr.cpp40 CXFA_ContainerLayoutItem* pLayoutItem) { in GetFirstChild() argument
41 if (pLayoutItem->m_pFormNode->GetElementType() != XFA_Element::PageSet) in GetFirstChild()
45 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild); in GetFirstChild()
55 CXFA_ContainerLayoutItem* pLayoutItem) { in GetNextSibling() argument
57 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pNextSibling); in GetNextSibling()
67 CXFA_ContainerLayoutItem* pLayoutItem) { in GetParent() argument
68 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in GetParent()
126 void ReorderLayoutItemToTail(CXFA_ContainerLayoutItem* pLayoutItem) { in ReorderLayoutItemToTail() argument
128 static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pParent); in ReorderLayoutItemToTail()
132 pParentLayoutItem->RemoveChild(pLayoutItem); in ReorderLayoutItemToTail()
[all …]
Dcxfa_itemlayoutprocessor.cpp60 void UpdateWidgetSize(CXFA_ContentLayoutItem* pLayoutItem, in UpdateWidgetSize() argument
63 CXFA_Node* pNode = pLayoutItem->m_pFormNode; in UpdateWidgetSize()
70 *fWidth = pLayoutItem->m_sSize.width; in UpdateWidgetSize()
72 *fHeight = pLayoutItem->m_sSize.height; in UpdateWidgetSize()
324 CXFA_ContentLayoutItem* pLayoutItem) { in UpdatePendingItemLayout() argument
326 pLayoutItem->m_pFormNode->JSObject()->GetEnum(XFA_Attribute::Layout); in UpdatePendingItemLayout()
330 RelocateTableRowCells(pLayoutItem, pProcessor->m_rgSpecifiedColumnWidths, in UpdatePendingItemLayout()
985 bool FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem, in FindLayoutItemSplitPos() argument
990 CXFA_Node* pFormNode = pLayoutItem->m_pFormNode; in FindLayoutItemSplitPos()
992 *fProposedSplitPos > fCurVerticalOffset + pLayoutItem->m_sSize.height - in FindLayoutItemSplitPos()
[all …]
Dcxfa_layoutprocessor.cpp79 CXFA_ContentLayoutItem* pLayoutItem = in DoLayout() local
81 if (pLayoutItem) in DoLayout()
82 pLayoutItem->m_sPos = CFX_PointF(fPosX, fPosY); in DoLayout()
84 m_pLayoutPageMgr->SubmitContentItem(pLayoutItem, eStatus); in DoLayout()
Dcxfa_layoutitem.h16 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
Dcxfa_itemlayoutprocessor.h112 void SplitLayoutItem(CXFA_ContentLayoutItem* pLayoutItem,
/external/pdfium/xfa/fxfa/
Dcxfa_ffpageview.cpp160 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); pLayoutItem; in MoveToFirst() local
161 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToFirst()
162 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToFirst()
175 for (CXFA_LayoutItem* pLayoutItem = m_sIterator.MoveToNext(); pLayoutItem; in MoveToNext() local
176 pLayoutItem = m_sIterator.MoveToNext()) { in MoveToNext()
177 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()
195 CXFA_LayoutItem* pLayoutItem = m_sIterator.GetCurrent(); in GetCurrentWidget() local
[all …]
Dcxfa_ffpageview.h55 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
99 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
Dcxfa_ffwidget.cpp223 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_GetWidgetFromLayoutItem() argument
224 if (pLayoutItem->GetFormNode()->HasCreatedUIWidget()) in XFA_GetWidgetFromLayoutItem()
225 return static_cast<CXFA_FFWidget*>(pLayoutItem); in XFA_GetWidgetFromLayoutItem()
Dcxfa_ffnotify.h67 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem);
Dcxfa_ffnotify.cpp270 CXFA_FFWidget* CXFA_FFNotify::GetHWidget(CXFA_LayoutItem* pLayoutItem) { in GetHWidget() argument
271 return XFA_GetWidgetFromLayoutItem(pLayoutItem); in GetHWidget()
Dcxfa_ffwidget.h53 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp94 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in HWXY() local
95 if (!pLayoutItem) in HWXY()
98 while (iIndex > 0 && pLayoutItem) { in HWXY()
99 pLayoutItem = pLayoutItem->GetNext(); in HWXY()
103 if (!pLayoutItem) in HWXY()
107 CFX_RectF rtRect = pLayoutItem->GetRect(true); in HWXY()
196 CXFA_LayoutItem* pLayoutItem = pDocLayout->GetLayoutItem(pNode); in pageSpan() local
197 if (!pLayoutItem) in pageSpan()
200 int32_t iLast = pLayoutItem->GetLast()->GetPage()->GetPageIndex(); in pageSpan()
201 int32_t iFirst = pLayoutItem->GetFirst()->GetPage()->GetPageIndex(); in pageSpan()
[all …]