LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTokenWindow Class Reference

#include <swuicnttab.hxx>

Collaboration diagram for SwTokenWindow:
[legend]

Public Member Functions

 SwTokenWindow (std::unique_ptr< weld::Container > xParent)
 
weld::Containerget_child_container ()
 
 ~SwTokenWindow ()
 
void SetTabPage (SwTOXEntryTabPage *pParent)
 
void SetForm (SwForm &rForm, sal_uInt16 nLevel)
 
sal_uInt16 GetLastLevel () const
 
bool IsValid () const
 
void SetInvalid ()
 
OUString GetPattern () const
 
void SetButtonSelectedHdl (const Link< SwFormToken &, void > &rLink)
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
SwTOXWidgetGetActiveControl ()
 
void InsertAtSelection (const SwFormToken &aToken)
 
void RemoveControl (const SwTOXButton *pDel, bool bInternalCall=false)
 
bool Contains (FormTokenType) const
 
OUString CreateQuickHelp (const SwFormToken &rToken)
 
void SetFocus2theAllBtn ()
 

Private Member Functions

 DECL_LINK (EditResize, SwTOXEdit &, void)
 
 DECL_LINK (NextItemHdl, SwTOXEdit &, void)
 
 DECL_LINK (TbxFocusHdl, SwTOXWidget &, void)
 
 DECL_LINK (NextItemBtnHdl, SwTOXButton &, void)
 
 DECL_LINK (TbxFocusBtnHdl, SwTOXWidget &, void)
 
 DECL_LINK (ScrollBtnHdl, weld::Button &, void)
 
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 
 DECL_LINK (AdjustPositionsHdl, const Size &, void)
 
void SetActiveControl (SwTOXWidget *pSet)
 
SwTOXWidgetInsertItem (const OUString &rText, const SwFormToken &aToken)
 
void AdjustPositions ()
 
void AdjustScrolling ()
 
void MoveControls (tools::Long nOffset)
 
sal_uInt32 GetControlIndex (FormTokenType eType) const
 

Private Attributes

SwFormm_pForm
 
sal_uInt16 m_nLevel
 
bool m_bValid
 
OUString m_aButtonTexts [TOKEN_END]
 
OUString m_aButtonHelpTexts [TOKEN_END]
 
OUString m_sCharStyle
 
Link< SwFormToken &, void > m_aButtonSelectedHdl
 
SwTOXWidgetm_pActiveCtrl
 
Link< LinkParamNone *, void > m_aModifyHdl
 
OUString m_sAccessibleName
 
OUString m_sAdditionalAccnameString1
 
OUString m_sAdditionalAccnameString2
 
OUString m_sAdditionalAccnameString3
 
Idle m_aAdjustPositionsIdle
 
SwTOXEntryTabPagem_pParent
 
std::unique_ptr< weld::Containerm_xParentWidget
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::Buttonm_xLeftScrollWin
 
std::unique_ptr< weld::Containerm_xCtrlParentWin
 
std::unique_ptr< weld::ScrolledWindowm_xScrollWin
 
std::unique_ptr< weld::Buttonm_xRightScrollWin
 
std::vector< std::unique_ptr< SwTOXWidget > > m_aControlList
 

Detailed Description

Definition at line 225 of file swuicnttab.hxx.

Constructor & Destructor Documentation

◆ SwTokenWindow()

SwTokenWindow::SwTokenWindow ( std::unique_ptr< weld::Container xParent)

◆ ~SwTokenWindow()

SwTokenWindow::~SwTokenWindow ( )

Definition at line 2675 of file cnttab.cxx.

Member Function Documentation

◆ AdjustPositions()

void SwTokenWindow::AdjustPositions ( )
private

Definition at line 3084 of file cnttab.cxx.

References AdjustScrolling(), i, and m_aControlList.

Referenced by InsertAtSelection(), and RemoveControl().

◆ AdjustScrolling()

void SwTokenWindow::AdjustScrolling ( )
private

◆ Contains()

bool SwTokenWindow::Contains ( FormTokenType  eSearchFor) const

◆ CreateQuickHelp()

OUString SwTokenWindow::CreateQuickHelp ( const SwFormToken rToken)

◆ DECL_LINK() [1/8]

SwTokenWindow::DECL_LINK ( AdjustPositionsHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [2/8]

SwTokenWindow::DECL_LINK ( EditResize  ,
SwTOXEdit ,
void   
)
private

◆ DECL_LINK() [3/8]

SwTokenWindow::DECL_LINK ( NextItemBtnHdl  ,
SwTOXButton ,
void   
)
private

◆ DECL_LINK() [4/8]

SwTokenWindow::DECL_LINK ( NextItemHdl  ,
SwTOXEdit ,
void   
)
private

◆ DECL_LINK() [5/8]

SwTokenWindow::DECL_LINK ( ScrollBtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/8]

SwTokenWindow::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ DECL_LINK() [7/8]

SwTokenWindow::DECL_LINK ( TbxFocusBtnHdl  ,
SwTOXWidget ,
void   
)
private

◆ DECL_LINK() [8/8]

SwTokenWindow::DECL_LINK ( TbxFocusHdl  ,
SwTOXWidget ,
void   
)
private

◆ get_child_container()

weld::Container * SwTokenWindow::get_child_container ( )
inline

Definition at line 271 of file swuicnttab.hxx.

References m_xCtrlParentWin.

Referenced by SwTOXButton::~SwTOXButton(), and SwTOXEdit::~SwTOXEdit().

◆ GetActiveControl()

SwTOXWidget * SwTokenWindow::GetActiveControl ( )
inline

Definition at line 290 of file swuicnttab.hxx.

References m_pActiveCtrl.

Referenced by SetForm().

◆ GetControlIndex()

sal_uInt32 SwTokenWindow::GetControlIndex ( FormTokenType  eType) const
private

◆ GetLastLevel()

sal_uInt16 SwTokenWindow::GetLastLevel ( ) const
inline

Definition at line 277 of file swuicnttab.hxx.

References m_nLevel.

◆ GetPattern()

OUString SwTokenWindow::GetPattern ( ) const

◆ InsertAtSelection()

void SwTokenWindow::InsertAtSelection ( const SwFormToken aToken)

◆ InsertItem()

SwTOXWidget * SwTokenWindow::InsertItem ( const OUString &  rText,
const SwFormToken aToken 
)
private

◆ IsValid()

bool SwTokenWindow::IsValid ( ) const
inline

Definition at line 279 of file swuicnttab.hxx.

References m_bValid.

◆ MoveControls()

void SwTokenWindow::MoveControls ( tools::Long  nOffset)
private

Definition at line 3091 of file cnttab.cxx.

References m_xScrollWin.

Referenced by AdjustScrolling().

◆ RemoveControl()

void SwTokenWindow::RemoveControl ( const SwTOXButton pDel,
bool  bInternalCall = false 
)

◆ SetActiveControl()

void SwTokenWindow::SetActiveControl ( SwTOXWidget pSet)
private

◆ SetButtonSelectedHdl()

void SwTokenWindow::SetButtonSelectedHdl ( const Link< SwFormToken &, void > &  rLink)
inline

Definition at line 285 of file swuicnttab.hxx.

References m_aButtonSelectedHdl.

◆ SetFocus2theAllBtn()

void SwTokenWindow::SetFocus2theAllBtn ( )

Definition at line 3386 of file cnttab.cxx.

References m_pParent, and SwTOXEntryTabPage::SetFocus2theAllBtn().

◆ SetForm()

void SwTokenWindow::SetForm ( SwForm rForm,
sal_uInt16  nLevel 
)

◆ SetInvalid()

void SwTokenWindow::SetInvalid ( )
inline

Definition at line 281 of file swuicnttab.hxx.

References m_bValid.

◆ SetModifyHdl()

void SwTokenWindow::SetModifyHdl ( const Link< LinkParamNone *, void > &  rLink)
inline

Definition at line 288 of file swuicnttab.hxx.

References m_aModifyHdl.

◆ SetTabPage()

void SwTokenWindow::SetTabPage ( SwTOXEntryTabPage pParent)
inline

Definition at line 274 of file swuicnttab.hxx.

References m_pParent.

Member Data Documentation

◆ m_aAdjustPositionsIdle

Idle SwTokenWindow::m_aAdjustPositionsIdle
private

Definition at line 241 of file swuicnttab.hxx.

◆ m_aButtonHelpTexts

OUString SwTokenWindow::m_aButtonHelpTexts[TOKEN_END]
private

Definition at line 231 of file swuicnttab.hxx.

Referenced by CreateQuickHelp(), InsertItem(), and SwTokenWindow().

◆ m_aButtonSelectedHdl

Link<SwFormToken&,void> SwTokenWindow::m_aButtonSelectedHdl
private

Definition at line 233 of file swuicnttab.hxx.

Referenced by SetActiveControl(), and SetButtonSelectedHdl().

◆ m_aButtonTexts

OUString SwTokenWindow::m_aButtonTexts[TOKEN_END]
private

Definition at line 230 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

◆ m_aControlList

std::vector<std::unique_ptr<SwTOXWidget> > SwTokenWindow::m_aControlList
private

◆ m_aModifyHdl

Link<LinkParamNone*,void> SwTokenWindow::m_aModifyHdl
private

Definition at line 235 of file swuicnttab.hxx.

Referenced by RemoveControl(), and SetModifyHdl().

◆ m_bValid

bool SwTokenWindow::m_bValid
private

Definition at line 229 of file swuicnttab.hxx.

Referenced by IsValid(), SetForm(), and SetInvalid().

◆ m_nLevel

sal_uInt16 SwTokenWindow::m_nLevel
private

Definition at line 228 of file swuicnttab.hxx.

Referenced by GetLastLevel(), and SetForm().

◆ m_pActiveCtrl

SwTOXWidget* SwTokenWindow::m_pActiveCtrl
private

◆ m_pForm

SwForm* SwTokenWindow::m_pForm
private

Definition at line 227 of file swuicnttab.hxx.

Referenced by RemoveControl(), and SetForm().

◆ m_pParent

SwTOXEntryTabPage* SwTokenWindow::m_pParent
private

Definition at line 243 of file swuicnttab.hxx.

Referenced by RemoveControl(), SetFocus2theAllBtn(), and SetTabPage().

◆ m_sAccessibleName

OUString SwTokenWindow::m_sAccessibleName
private

Definition at line 236 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

◆ m_sAdditionalAccnameString1

OUString SwTokenWindow::m_sAdditionalAccnameString1
private

Definition at line 237 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

◆ m_sAdditionalAccnameString2

OUString SwTokenWindow::m_sAdditionalAccnameString2
private

Definition at line 238 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

◆ m_sAdditionalAccnameString3

OUString SwTokenWindow::m_sAdditionalAccnameString3
private

Definition at line 239 of file swuicnttab.hxx.

Referenced by InsertAtSelection(), InsertItem(), and SwTokenWindow().

◆ m_sCharStyle

OUString SwTokenWindow::m_sCharStyle
private

Definition at line 232 of file swuicnttab.hxx.

Referenced by CreateQuickHelp().

◆ m_xBuilder

std::unique_ptr<weld::Builder> SwTokenWindow::m_xBuilder
private

Definition at line 245 of file swuicnttab.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> SwTokenWindow::m_xContainer
private

Definition at line 246 of file swuicnttab.hxx.

◆ m_xCtrlParentWin

std::unique_ptr<weld::Container> SwTokenWindow::m_xCtrlParentWin
private

Definition at line 248 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), get_child_container(), and SwTokenWindow().

◆ m_xLeftScrollWin

std::unique_ptr<weld::Button> SwTokenWindow::m_xLeftScrollWin
private

Definition at line 247 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), and SwTokenWindow().

◆ m_xParentWidget

std::unique_ptr<weld::Container> SwTokenWindow::m_xParentWidget
private

Definition at line 244 of file swuicnttab.hxx.

◆ m_xRightScrollWin

std::unique_ptr<weld::Button> SwTokenWindow::m_xRightScrollWin
private

Definition at line 250 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), and SwTokenWindow().

◆ m_xScrollWin

std::unique_ptr<weld::ScrolledWindow> SwTokenWindow::m_xScrollWin
private

Definition at line 249 of file swuicnttab.hxx.

Referenced by AdjustScrolling(), MoveControls(), and SwTokenWindow().


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