LibreOffice Module sd (master) 1
|
#include <assclass.hxx>
Public Member Functions | |
Assistent (int nNoOfPage) | |
bool | IsEnabled (int nPage) const |
void | EnablePage (int nPage) |
void | DisablePage (int nPage) |
bool | InsertControl (int nDestPage, weld::Widget *pUsedControl) |
adds a control to the specified page More... | |
void | NextPage () |
void | PreviousPage () |
bool | GotoPage (const int nPageToGo) |
bool | IsLastPage () const |
bool | IsFirstPage () const |
int | GetCurrentPage () const |
Private Attributes | |
std::vector< weld::Widget * > | maPages [MAX_PAGES] |
contains for every page the controls, which have to be connected? correctly More... | |
int | mnPages |
number of pages More... | |
int | mnCurrentPage |
std::unique_ptr< bool[]> | mpPageStatus |
Definition at line 31 of file assclass.hxx.
Assistent::Assistent | ( | int | nNoOfPage | ) |
Definition at line 25 of file assclass.cxx.
References i, MAX_PAGES, mnPages, and mpPageStatus.
void Assistent::DisablePage | ( | int | nPage | ) |
Definition at line 148 of file assclass.cxx.
References DBG_ASSERT, GotoPage(), mnCurrentPage, mnPages, and mpPageStatus.
Referenced by SdPublishingDlg::SetDesign().
void Assistent::EnablePage | ( | int | nPage | ) |
Definition at line 138 of file assclass.cxx.
References DBG_ASSERT, mnPages, and mpPageStatus.
Referenced by SdPublishingDlg::SetDesign().
|
inline |
Definition at line 65 of file assclass.hxx.
Referenced by SdPublishingDlg::ChangePage(), and SdPublishingDlg::UpdatePage().
bool Assistent::GotoPage | ( | const int | nPageToGo | ) |
Definition at line 78 of file assclass.cxx.
References DBG_ASSERT, maPages, mnCurrentPage, mnPages, mpPageStatus, and nIndex.
Referenced by DisablePage(), NextPage(), PreviousPage(), and SdPublishingDlg::SdPublishingDlg().
bool Assistent::InsertControl | ( | int | nDestPage, |
weld::Widget * | pUsedControl | ||
) |
adds a control to the specified page
Definition at line 37 of file assclass.cxx.
References DBG_ASSERT, weld::Widget::hide(), maPages, mnPages, and weld::Widget::set_sensitive().
Referenced by SdPublishingDlg::CreatePages().
bool Assistent::IsEnabled | ( | int | nPage | ) | const |
Definition at line 131 of file assclass.cxx.
References DBG_ASSERT, mnPages, and mpPageStatus.
bool Assistent::IsFirstPage | ( | ) | const |
Definition at line 119 of file assclass.cxx.
References mnCurrentPage, and mpPageStatus.
Referenced by SdPublishingDlg::UpdatePage().
bool Assistent::IsLastPage | ( | ) | const |
Definition at line 107 of file assclass.cxx.
References mnCurrentPage, mnPages, and mpPageStatus.
Referenced by SdPublishingDlg::UpdatePage().
void Assistent::NextPage | ( | ) |
Definition at line 52 of file assclass.cxx.
References GotoPage(), mnCurrentPage, mnPages, and mpPageStatus.
void Assistent::PreviousPage | ( | ) |
Definition at line 65 of file assclass.cxx.
References GotoPage(), mnCurrentPage, and mpPageStatus.
|
private |
contains for every page the controls, which have to be connected? correctly
Definition at line 35 of file assclass.hxx.
Referenced by GotoPage(), and InsertControl().
|
private |
Definition at line 40 of file assclass.hxx.
Referenced by DisablePage(), GotoPage(), IsFirstPage(), IsLastPage(), NextPage(), and PreviousPage().
|
private |
number of pages
Definition at line 38 of file assclass.hxx.
Referenced by Assistent(), DisablePage(), EnablePage(), GotoPage(), InsertControl(), IsEnabled(), IsLastPage(), and NextPage().
|
private |
Definition at line 42 of file assclass.hxx.
Referenced by Assistent(), DisablePage(), EnablePage(), GotoPage(), IsEnabled(), IsFirstPage(), IsLastPage(), NextPage(), and PreviousPage().