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_ContentLayoutItem Class Referencefinal

#include <cxfa_contentlayoutitem.h>

+ Inheritance diagram for CXFA_ContentLayoutItem:
+ Collaboration diagram for CXFA_ContentLayoutItem:

Public Member Functions

 ~CXFA_ContentLayoutItem () override
 
void Trace (cppgc::Visitor *visitor) const override
 
CXFA_FFWidgetGetFFWidget ()
 
CXFA_ContentLayoutItemGetFirst ()
 
CXFA_ContentLayoutItemGetLast ()
 
CXFA_ContentLayoutItemGetPrev () const
 
CXFA_ContentLayoutItemGetNext () const
 
void InsertAfter (CXFA_ContentLayoutItem *pNext)
 
CFX_RectF GetRelativeRect () const
 
CFX_RectF GetAbsoluteRect () const
 
size_t GetIndex () const
 
void SetStatusBits (Mask< XFA_WidgetStatus > val)
 
void ClearStatusBits (Mask< XFA_WidgetStatus > val)
 
bool TestStatusBits (Mask< XFA_WidgetStatus > val) const
 
- Public Member Functions inherited from CXFA_LayoutItem
 ~CXFA_LayoutItem () override
 
void PreFinalize ()
 
void Trace (cppgc::Visitor *visitor) const override
 
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
 
CFX_PointF m_sPos
 
CFX_SizeF m_sSize
 
- 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_contentlayoutitem.h.

Constructor & Destructor Documentation

◆ ~CXFA_ContentLayoutItem()

CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem ( )
overridedefault

Member Function Documentation

◆ ClearStatusBits()

void CXFA_ContentLayoutItem::ClearStatusBits ( Mask< XFA_WidgetStatus > val)
inline

Definition at line 38 of file cxfa_contentlayoutitem.h.

Referenced by CXFA_FFWidget::EventKillFocus(), CXFA_FFWidget::ModifyStatus(), CXFA_FFWidget::OnKillFocus(), and CXFA_FFWidget::SetButtonDown().

+ Here is the caller graph for this function:

◆ GetAbsoluteRect()

CFX_RectF CXFA_ContentLayoutItem::GetAbsoluteRect ( ) const

Definition at line 68 of file cxfa_contentlayoutitem.cpp.

References CXFA_LayoutItem::AsContentLayoutItem(), CXFA_Object::GetElementType(), CXFA_LayoutItem::GetFormNode(), and Pt.

Referenced by CXFA_FFField::CapPlacement(), CPDFXFA_Widget::GetRect(), CXFA_FFText::PerformLayout(), and CXFA_FFWidget::RecacheWidgetRect().

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

◆ GetFFWidget()

CXFA_FFWidget * CXFA_ContentLayoutItem::GetFFWidget ( )
inline

Definition at line 25 of file cxfa_contentlayoutitem.h.

Referenced by GetFFWidget(), and CXFA_FFField::SetEditScrollOffset().

+ Here is the caller graph for this function:

◆ GetFirst()

CXFA_ContentLayoutItem * CXFA_ContentLayoutItem::GetFirst ( )

Definition at line 31 of file cxfa_contentlayoutitem.cpp.

References GetPrev().

Referenced by CXFA_FFField::CapPlacement(), and CXFA_FFText::PerformLayout().

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

◆ GetIndex()

size_t CXFA_ContentLayoutItem::GetIndex ( ) const

Definition at line 103 of file cxfa_contentlayoutitem.cpp.

References GetPrev().

+ Here is the call graph for this function:

◆ GetLast()

CXFA_ContentLayoutItem * CXFA_ContentLayoutItem::GetLast ( )

Definition at line 39 of file cxfa_contentlayoutitem.cpp.

References GetNext().

+ Here is the call graph for this function:

◆ GetNext()

CXFA_ContentLayoutItem * CXFA_ContentLayoutItem::GetNext ( ) const
inline

Definition at line 30 of file cxfa_contentlayoutitem.h.

Referenced by CXFA_FFField::CapPlacement(), GetLast(), CXFA_FFWidget::GetNextFFWidget(), CXFA_FWLTheme::GetUIMargin(), CXFA_FFText::PerformLayout(), and CXFA_FFText::RenderWidget().

+ Here is the caller graph for this function:

◆ GetPrev()

CXFA_ContentLayoutItem * CXFA_ContentLayoutItem::GetPrev ( ) const
inline

Definition at line 29 of file cxfa_contentlayoutitem.h.

Referenced by CXFA_FFField::CapPlacement(), GetFirst(), GetIndex(), CXFA_FWLTheme::GetUIMargin(), CXFA_FFText::PerformLayout(), and CXFA_FFText::RenderWidget().

+ Here is the caller graph for this function:

◆ GetRelativeRect()

CFX_RectF CXFA_ContentLayoutItem::GetRelativeRect ( ) const

Definition at line 64 of file cxfa_contentlayoutitem.cpp.

◆ InsertAfter()

void CXFA_ContentLayoutItem::InsertAfter ( CXFA_ContentLayoutItem * pNext)

Definition at line 47 of file cxfa_contentlayoutitem.cpp.

◆ SetStatusBits()

void CXFA_ContentLayoutItem::SetStatusBits ( Mask< XFA_WidgetStatus > val)
inline

Definition at line 37 of file cxfa_contentlayoutitem.h.

Referenced by CXFA_FFWidget::ModifyStatus(), CXFA_FFWidget::OnSetFocus(), CXFA_FFWidget::RecacheWidgetRect(), and CXFA_FFWidget::SetButtonDown().

+ Here is the caller graph for this function:

◆ TestStatusBits()

bool CXFA_ContentLayoutItem::TestStatusBits ( Mask< XFA_WidgetStatus > val) const
inline

Definition at line 41 of file cxfa_contentlayoutitem.h.

Referenced by CXFA_FFWidget::EventKillFocus(), CXFA_FFWidget::GetWidgetRect(), CXFA_FFWidget::HasVisibleStatus(), CXFA_FFWidgetHandler::HitTest(), CXFA_FFWidget::IsButtonDown(), CXFA_FFWidget::IsFocused(), and CXFA_FFDocView::SetFocus().

+ Here is the caller graph for this function:

◆ Trace()

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

Reimplemented from fxjs::GCedTreeNode< T >.

Definition at line 24 of file cxfa_contentlayoutitem.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_ContentLayoutItem::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 20 of file cxfa_contentlayoutitem.h.

◆ m_sPos

CFX_PointF CXFA_ContentLayoutItem::m_sPos

Definition at line 45 of file cxfa_contentlayoutitem.h.

◆ m_sSize

CFX_SizeF CXFA_ContentLayoutItem::m_sSize

Definition at line 46 of file cxfa_contentlayoutitem.h.


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