LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwTOXButton Class Reference
Inheritance diagram for SwTOXButton:
[legend]
Collaboration diagram for SwTOXButton:
[legend]

Public Member Functions

 SwTOXButton (SwTokenWindow *pTokenWin, const SwFormToken &rToken)
 
virtual WindowType GetType () const override
 
virtual void GrabFocus () override
 
virtual void Hide () override
 
void Show ()
 
void SetAccessibleName (const OUString &rName)
 
virtual void set_grid_left_attach (int nPos) override
 
void get_extents_relative_to (weld::Widget &rRelative, int &x, int &y, int &width, int &height) override
 
void Check (bool bCheck=true)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (FocusInHdl, weld::Widget &, void)
 
bool IsNextControl () const
 
void SetPrevNextLink (const Link< SwTOXButton &, void > &rLink)
 
const SwFormTokenGetFormToken () const
 
void SetCharStyleName (const OUString &rSet, sal_uInt16 nPoolId)
 
void SetTabPosition (SwTwips nSet)
 
void SetFillChar (sal_Unicode cSet)
 
void SetTabAlign (SvxTabAdjust eAlign)
 
void SetEntryNumberFormat (sal_uInt16 nSet)
 
void SetChapterInfo (sal_uInt16 nSet)
 
void SetOutlineLevel (sal_uInt16 nSet)
 
void SetText (const OUString &rText)
 
void SetLinkEnd ()
 
void SetLinkStart ()
 
- Public Member Functions inherited from SwTOXWidget
void SetGetFocusHdl (const Link< SwTOXWidget &, void > &rLink)
 
virtual ~SwTOXWidget ()
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
SwFormToken aFormToken
 
Link< SwTOXButton &, voidaPrevNextControlLink
 
bool bNextControl
 
SwTokenWindowm_pParent
 
std::unique_ptr< weld::ToggleButtonm_xButton
 

Additional Inherited Members

- Protected Attributes inherited from SwTOXWidget
Link< SwTOXWidget &, voidaGetFocusLink
 

Detailed Description

Definition at line 1551 of file cnttab.cxx.

Constructor & Destructor Documentation

SwTOXButton::SwTOXButton ( SwTokenWindow pTokenWin,
const SwFormToken rToken 
)
inline

Definition at line 1560 of file cnttab.cxx.

References SwTokenWindow::CreateQuickHelp(), and LINK.

Member Function Documentation

void SwTOXButton::Check ( bool  bCheck = true)
inline

Definition at line 1607 of file cnttab.cxx.

Referenced by SwTokenWindow::InsertAtSelection().

SwTOXButton::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
SwTOXButton::DECL_LINK ( FocusInHdl  ,
weld::Widget ,
void   
)
void SwTOXButton::get_extents_relative_to ( weld::Widget rRelative,
int x,
int y,
int width,
int height 
)
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1602 of file cnttab.cxx.

const SwFormToken& SwTOXButton::GetFormToken ( ) const
inline

Definition at line 1617 of file cnttab.cxx.

References aFormToken.

Referenced by SwTokenWindow::RemoveControl().

virtual WindowType SwTOXButton::GetType ( ) const
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1572 of file cnttab.cxx.

virtual void SwTOXButton::GrabFocus ( )
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1577 of file cnttab.cxx.

virtual void SwTOXButton::Hide ( )
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1582 of file cnttab.cxx.

bool SwTOXButton::IsNextControl ( ) const
inline

Definition at line 1615 of file cnttab.cxx.

References bNextControl.

virtual void SwTOXButton::set_grid_left_attach ( int  nPos)
inlineoverridevirtual

Implements SwTOXWidget.

Definition at line 1597 of file cnttab.cxx.

Referenced by SwTokenWindow::InsertItem().

void SwTOXButton::SetAccessibleName ( const OUString &  rName)
inline

Definition at line 1592 of file cnttab.cxx.

Referenced by SwTokenWindow::InsertItem().

void SwTOXButton::SetChapterInfo ( sal_uInt16  nSet)
inline
void SwTOXButton::SetCharStyleName ( const OUString &  rSet,
sal_uInt16  nPoolId 
)
inline

Definition at line 1619 of file cnttab.cxx.

References SwFormToken::nPoolId, and SwFormToken::sCharStyleName.

void SwTOXButton::SetEntryNumberFormat ( sal_uInt16  nSet)
inline

Definition at line 1637 of file cnttab.cxx.

References CF_NUM_NOPREPST_TITLE, CF_NUMBER, and SwFormToken::nChapterFormat.

void SwTOXButton::SetFillChar ( sal_Unicode  cSet)
inline

Definition at line 1628 of file cnttab.cxx.

References SwFormToken::cTabFillChar.

void SwTOXButton::SetLinkEnd ( )
inline
void SwTOXButton::SetLinkStart ( )
inline
void SwTOXButton::SetOutlineLevel ( sal_uInt16  nSet)
inline

Definition at line 1666 of file cnttab.cxx.

References SwFormToken::nOutlineLevel.

void SwTOXButton::SetPrevNextLink ( const Link< SwTOXButton &, void > &  rLink)
inline

Definition at line 1616 of file cnttab.cxx.

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

void SwTOXButton::SetTabAlign ( SvxTabAdjust  eAlign)
inline

Definition at line 1631 of file cnttab.cxx.

References SwFormToken::eTabAlign.

void SwTOXButton::SetTabPosition ( SwTwips  nSet)
inline

Definition at line 1625 of file cnttab.cxx.

References SwFormToken::nTabStopPosition.

void SwTOXButton::SetText ( const OUString &  rText)
inline
void SwTOXButton::Show ( )
inline

Definition at line 1587 of file cnttab.cxx.

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

Member Data Documentation

SwFormToken SwTOXButton::aFormToken
private

Definition at line 1554 of file cnttab.cxx.

Referenced by GetFormToken().

Link<SwTOXButton&,void> SwTOXButton::aPrevNextControlLink
private

Definition at line 1555 of file cnttab.cxx.

bool SwTOXButton::bNextControl
private

Definition at line 1556 of file cnttab.cxx.

Referenced by IsNextControl().

SwTokenWindow* SwTOXButton::m_pParent
private

Definition at line 1557 of file cnttab.cxx.

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

Definition at line 1553 of file cnttab.cxx.

std::unique_ptr<weld::ToggleButton> SwTOXButton::m_xButton
private

Definition at line 1558 of file cnttab.cxx.


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