Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CXFA_ViewLayoutItem Class Referencefinal

#include <cxfa_viewlayoutitem.h>

+ Inheritance diagram for CXFA_ViewLayoutItem:
+ Collaboration diagram for CXFA_ViewLayoutItem:

Public Member Functions

 ~CXFA_ViewLayoutItem () override
 
void Trace (cppgc::Visitor *visitor) const override
 
CXFA_FFPageViewGetPageView () const
 
CXFA_LayoutProcessorGetLayout () const
 
int32_t GetPageIndex () const
 
CFX_SizeF GetPageSize () const
 
CXFA_NodeGetMasterPage () const
 
CXFA_NodeGetOldSubform () const
 
void SetOldSubform (CXFA_Node *pSubform)
 
- Public Member Functions inherited from CXFA_LayoutItem
 ~CXFA_LayoutItem () override
 
void PreFinalize ()
 
bool IsViewLayoutItem () const
 
bool IsContentLayoutItem () const
 
CXFA_ViewLayoutItemAsViewLayoutItem ()
 
const CXFA_ViewLayoutItemAsViewLayoutItem () const
 
CXFA_ContentLayoutItemAsContentLayoutItem ()
 
const CXFA_ContentLayoutItemAsContentLayoutItem () const
 
const CXFA_ViewLayoutItemGetPage () const
 
CXFA_NodeGetFormNode () const
 
void SetFormNode (CXFA_Node *pNode)
 
- Public Member Functions inherited from fxjs::GCedTreeNode< T >
- Public Member Functions inherited from fxcrt::TreeNodeBase< T >
 TreeNodeBase ()=default
 
virtual ~TreeNodeBase ()=default
 
T * GetParent () const
 
T * GetFirstChild () const
 
T * GetLastChild () const
 
T * GetNextSibling () const
 
T * GetPrevSibling () const
 
bool HasChild (const T *child) const
 
T * GetNthChild (int32_t n)
 
void AppendFirstChild (T *child)
 
void AppendLastChild (T *child)
 
void InsertBefore (T *child, T *other)
 
void InsertAfter (T *child, T *other)
 
void RemoveChild (T *child)
 
void RemoveAllChildren ()
 
void RemoveSelfIfParented ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 
- Public Attributes inherited from CXFA_LayoutItem
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Additional Inherited Members

- Protected Types inherited from CXFA_LayoutItem
enum  ItemType { kViewItem , kContentItem }
 
- Protected Member Functions inherited from CXFA_LayoutItem
 CXFA_LayoutItem (CXFA_Node *pNode, ItemType type)
 
- Protected Member Functions inherited from fxjs::GCedTreeNode< T >
 GCedTreeNode ()=default
 
 GCedTreeNode (const GCedTreeNode &that)=delete
 
GCedTreeNodeoperator= (const GCedTreeNode &that)=delete
 

Detailed Description

Definition at line 18 of file cxfa_viewlayoutitem.h.

Constructor & Destructor Documentation

◆ ~CXFA_ViewLayoutItem()

CXFA_ViewLayoutItem::~CXFA_ViewLayoutItem ( )
overridedefault

Member Function Documentation

◆ GetLayout()

CXFA_LayoutProcessor * CXFA_ViewLayoutItem::GetLayout ( ) const

Definition at line 32 of file cxfa_viewlayoutitem.cpp.

References CXFA_LayoutProcessor::FromDocument(), and CXFA_LayoutItem::GetFormNode().

+ Here is the call graph for this function:

◆ GetMasterPage()

CXFA_Node * CXFA_ViewLayoutItem::GetMasterPage ( ) const

Definition at line 59 of file cxfa_viewlayoutitem.cpp.

References CXFA_LayoutItem::GetFormNode().

+ Here is the call graph for this function:

◆ GetOldSubform()

CXFA_Node * CXFA_ViewLayoutItem::GetOldSubform ( ) const
inline

Definition at line 30 of file cxfa_viewlayoutitem.h.

◆ GetPageIndex()

int32_t CXFA_ViewLayoutItem::GetPageIndex ( ) const

Definition at line 36 of file cxfa_viewlayoutitem.cpp.

References CXFA_LayoutProcessor::FromDocument(), and CXFA_LayoutItem::GetFormNode().

+ Here is the call graph for this function:

◆ GetPageSize()

CFX_SizeF CXFA_ViewLayoutItem::GetPageSize ( ) const

Definition at line 42 of file cxfa_viewlayoutitem.cpp.

References CXFA_LayoutItem::GetFormNode(), and Pt.

Referenced by CXFA_FFPageView::GetDisplayMatrix(), and CXFA_FFPageView::GetPageViewRect().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPageView()

CXFA_FFPageView * CXFA_ViewLayoutItem::GetPageView ( ) const
inline

Definition at line 25 of file cxfa_viewlayoutitem.h.

Referenced by CXFA_FFDocView::GetPageView(), and CXFA_FFDocView::OnPageViewEvent().

+ Here is the caller graph for this function:

◆ SetOldSubform()

void CXFA_ViewLayoutItem::SetOldSubform ( CXFA_Node * pSubform)

Definition at line 63 of file cxfa_viewlayoutitem.cpp.

◆ Trace()

void CXFA_ViewLayoutItem::Trace ( cppgc::Visitor * visitor) const
overridevirtual

Reimplemented from CXFA_LayoutItem.

Definition at line 26 of file cxfa_viewlayoutitem.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_ViewLayoutItem::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 20 of file cxfa_viewlayoutitem.h.


The documentation for this class was generated from the following files: