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

Page number wizard for easy header/footer page number insertion. More...

#include <pagenumberdlg.hxx>

Inheritance diagram for SwPageNumberDlg:
[legend]
Collaboration diagram for SwPageNumberDlg:
[legend]

Public Member Functions

 SwPageNumberDlg (weld::Window *pParent)
 
int GetPageNumberPosition () const
 
int GetPageNumberAlignment () const
 
bool GetMirrorOnEvenPages ()
 
bool GetIncludePageTotal ()
 
SvxNumType GetPageNumberType () const
 
void SetPageNumberType (SvxNumType nSet)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (IncludePageTotalChangeHdl, weld::Toggleable &, void)
 
 DECL_LINK (PositionSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (AlignmentSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (NumberTypeSelectHdl, weld::ComboBox &, void)
 
void updateImage ()
 

Private Attributes

std::unique_ptr< weld::Buttonm_xOk
 
std::unique_ptr< weld::Buttonm_xCancel
 
std::unique_ptr< weld::ComboBoxm_xPageNumberPosition
 
std::unique_ptr< weld::ComboBoxm_xPageNumberAlignment
 
std::unique_ptr< weld::CheckButtonm_xMirrorOnEvenPages
 
std::unique_ptr< weld::CheckButtonm_xIncludePageTotal
 
std::unique_ptr< SvxPageNumberListBoxm_xPageNumberTypeLB
 
std::unique_ptr< weld::Imagem_xPreviewImage
 
int m_aPageNumberPosition
 
int m_aPageNumberAlignment
 
SvxNumType m_nPageNumberType
 

Detailed Description

Page number wizard for easy header/footer page number insertion.

Definition at line 28 of file pagenumberdlg.hxx.

Constructor & Destructor Documentation

◆ SwPageNumberDlg()

SwPageNumberDlg::SwPageNumberDlg ( weld::Window pParent)

Member Function Documentation

◆ DECL_LINK() [1/5]

SwPageNumberDlg::DECL_LINK ( AlignmentSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/5]

SwPageNumberDlg::DECL_LINK ( IncludePageTotalChangeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/5]

SwPageNumberDlg::DECL_LINK ( NumberTypeSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/5]

SwPageNumberDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/5]

SwPageNumberDlg::DECL_LINK ( PositionSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetIncludePageTotal()

bool SwPageNumberDlg::GetIncludePageTotal ( )

Definition at line 92 of file pagenumberdlg.cxx.

References m_xIncludePageTotal, and TRISTATE_TRUE.

◆ GetMirrorOnEvenPages()

bool SwPageNumberDlg::GetMirrorOnEvenPages ( )

Definition at line 86 of file pagenumberdlg.cxx.

References m_xMirrorOnEvenPages, and TRISTATE_TRUE.

◆ GetPageNumberAlignment()

int SwPageNumberDlg::GetPageNumberAlignment ( ) const
inline

Definition at line 55 of file pagenumberdlg.hxx.

References m_aPageNumberAlignment.

◆ GetPageNumberPosition()

int SwPageNumberDlg::GetPageNumberPosition ( ) const
inline

Definition at line 54 of file pagenumberdlg.hxx.

References m_aPageNumberPosition.

◆ GetPageNumberType()

SvxNumType SwPageNumberDlg::GetPageNumberType ( ) const
inline

Definition at line 58 of file pagenumberdlg.hxx.

References m_nPageNumberType.

◆ SetPageNumberType()

void SwPageNumberDlg::SetPageNumberType ( SvxNumType  nSet)

Definition at line 97 of file pagenumberdlg.cxx.

References m_nPageNumberType, and m_xPageNumberTypeLB.

◆ updateImage()

void SwPageNumberDlg::updateImage ( )
private

Member Data Documentation

◆ m_aPageNumberAlignment

int SwPageNumberDlg::m_aPageNumberAlignment
private

Definition at line 41 of file pagenumberdlg.hxx.

Referenced by GetPageNumberAlignment(), SwPageNumberDlg(), and updateImage().

◆ m_aPageNumberPosition

int SwPageNumberDlg::m_aPageNumberPosition
private

Definition at line 40 of file pagenumberdlg.hxx.

Referenced by GetPageNumberPosition(), SwPageNumberDlg(), and updateImage().

◆ m_nPageNumberType

SvxNumType SwPageNumberDlg::m_nPageNumberType
private

Definition at line 42 of file pagenumberdlg.hxx.

Referenced by GetPageNumberType(), and SetPageNumberType().

◆ m_xCancel

std::unique_ptr<weld::Button> SwPageNumberDlg::m_xCancel
private

Definition at line 31 of file pagenumberdlg.hxx.

◆ m_xIncludePageTotal

std::unique_ptr<weld::CheckButton> SwPageNumberDlg::m_xIncludePageTotal
private

Definition at line 35 of file pagenumberdlg.hxx.

Referenced by GetIncludePageTotal(), SwPageNumberDlg(), and updateImage().

◆ m_xMirrorOnEvenPages

std::unique_ptr<weld::CheckButton> SwPageNumberDlg::m_xMirrorOnEvenPages
private

Definition at line 34 of file pagenumberdlg.hxx.

Referenced by GetMirrorOnEvenPages(), and SwPageNumberDlg().

◆ m_xOk

std::unique_ptr<weld::Button> SwPageNumberDlg::m_xOk
private

Definition at line 30 of file pagenumberdlg.hxx.

Referenced by SwPageNumberDlg().

◆ m_xPageNumberAlignment

std::unique_ptr<weld::ComboBox> SwPageNumberDlg::m_xPageNumberAlignment
private

Definition at line 33 of file pagenumberdlg.hxx.

Referenced by SwPageNumberDlg().

◆ m_xPageNumberPosition

std::unique_ptr<weld::ComboBox> SwPageNumberDlg::m_xPageNumberPosition
private

Definition at line 32 of file pagenumberdlg.hxx.

Referenced by SwPageNumberDlg().

◆ m_xPageNumberTypeLB

std::unique_ptr<SvxPageNumberListBox> SwPageNumberDlg::m_xPageNumberTypeLB
private

Definition at line 36 of file pagenumberdlg.hxx.

Referenced by SetPageNumberType(), and SwPageNumberDlg().

◆ m_xPreviewImage

std::unique_ptr<weld::Image> SwPageNumberDlg::m_xPreviewImage
private

Definition at line 38 of file pagenumberdlg.hxx.

Referenced by updateImage().


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