LibreOffice Module formula (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
formula::StructPage Class Referencefinal

#include <structpg.hxx>

Collaboration diagram for formula::StructPage:
[legend]

Public Member Functions

 StructPage (weld::Container *pParent)
 
 ~StructPage ()
 
void ClearStruct ()
 
bool InsertEntry (const OUString &rText, const weld::TreeIter *pParent, sal_uInt16 nFlag, int nPos, const FormulaToken *pIFormulaToken, weld::TreeIter &rRet)
 
OUString GetEntryText (const weld::TreeIter *pEntry) const
 
void SetSelectionHdl (const Link< StructPage &, void > &rLink)
 
weld::TreeViewGetTlbStruct () const
 
bool IsVisible () const
 

Private Member Functions

 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
const FormulaTokenGetFunctionEntry (const weld::TreeIter *pEntry)
 
void SetActiveFlag (bool bFlag)
 
bool GetActiveFlag () const
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::TreeViewm_xTlbStruct
 
Link< StructPage &, void > aSelLink
 
OUString maImgEnd
 
OUString maImgError
 
const FormulaTokenpSelectedToken
 
bool bActiveFlag
 

Detailed Description

Definition at line 30 of file structpg.hxx.

Constructor & Destructor Documentation

◆ StructPage()

formula::StructPage::StructPage ( weld::Container pParent)
explicit

Definition at line 35 of file structpg.cxx.

References LINK, m_xContainer, and m_xTlbStruct.

◆ ~StructPage()

formula::StructPage::~StructPage ( )

Definition at line 50 of file structpg.cxx.

Member Function Documentation

◆ ClearStruct()

void formula::StructPage::ClearStruct ( )

Definition at line 54 of file structpg.cxx.

References m_xTlbStruct, and SetActiveFlag().

◆ DECL_LINK()

formula::StructPage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ GetActiveFlag()

bool formula::StructPage::GetActiveFlag ( ) const
inlineprivate

Definition at line 50 of file structpg.hxx.

References bActiveFlag.

◆ GetEntryText()

OUString formula::StructPage::GetEntryText ( const weld::TreeIter pEntry) const

Definition at line 97 of file structpg.cxx.

References m_xTlbStruct.

Referenced by formula::FormulaDlg_Impl::MakeTree().

◆ GetFunctionEntry()

const FormulaToken * formula::StructPage::GetFunctionEntry ( const weld::TreeIter pEntry)
private

◆ GetTlbStruct()

weld::TreeView & formula::StructPage::GetTlbStruct ( ) const
inline

Definition at line 67 of file structpg.hxx.

References m_xTlbStruct.

◆ InsertEntry()

bool formula::StructPage::InsertEntry ( const OUString &  rText,
const weld::TreeIter pParent,
sal_uInt16  nFlag,
int  nPos,
const FormulaToken pIFormulaToken,
weld::TreeIter rRet 
)

◆ IsVisible()

bool formula::StructPage::IsVisible ( ) const
inline

Definition at line 69 of file structpg.hxx.

References m_xContainer.

◆ SetActiveFlag()

void formula::StructPage::SetActiveFlag ( bool  bFlag)
private

Definition at line 30 of file structpg.cxx.

References bActiveFlag.

Referenced by ClearStruct(), and InsertEntry().

◆ SetSelectionHdl()

void formula::StructPage::SetSelectionHdl ( const Link< StructPage &, void > &  rLink)
inline

Definition at line 65 of file structpg.hxx.

References aSelLink.

Member Data Documentation

◆ aSelLink

Link<StructPage&,void> formula::StructPage::aSelLink
private

Definition at line 37 of file structpg.hxx.

Referenced by SetSelectionHdl().

◆ bActiveFlag

bool formula::StructPage::bActiveFlag
private

Definition at line 43 of file structpg.hxx.

Referenced by GetActiveFlag(), and SetActiveFlag().

◆ m_xBuilder

std::unique_ptr<weld::Builder> formula::StructPage::m_xBuilder
private

Definition at line 33 of file structpg.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> formula::StructPage::m_xContainer
private

Definition at line 34 of file structpg.hxx.

Referenced by IsVisible().

◆ m_xTlbStruct

std::unique_ptr<weld::TreeView> formula::StructPage::m_xTlbStruct
private

◆ maImgEnd

OUString formula::StructPage::maImgEnd
private

Definition at line 39 of file structpg.hxx.

Referenced by InsertEntry().

◆ maImgError

OUString formula::StructPage::maImgError
private

Definition at line 40 of file structpg.hxx.

Referenced by InsertEntry().

◆ pSelectedToken

const FormulaToken* formula::StructPage::pSelectedToken
private

Definition at line 42 of file structpg.hxx.


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