|
LibreOffice Module sd (master) 1
|
#include <sdpreslt.hxx>
Public Member Functions | |
| SdPresLayoutDlg (::sd::DrawDocShell *pDocShell, weld::Window *pWindow, const SfxItemSet &rInAttrs) | |
| virtual | ~SdPresLayoutDlg () override |
| void | GetAttr (SfxItemSet &rOutAttrs) |
| Fills the provided Item-Set with dialog box attributes. More... | |
| DECL_LINK (ClickLayoutHdl, ValueSet *, void) | |
| DECL_LINK (ClickLoadHdl, weld::Button &, void) | |
Public Member Functions inherited from weld::GenericDialogController | |
| GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
| virtual Dialog * | getDialog () override |
| virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
| virtual Dialog * | getDialog ()=0 |
| const Dialog * | getConstDialog () const |
| virtual short | run () |
| void | set_title (const OUString &rTitle) |
| OUString | get_title () const |
| void | set_help_id (const OUString &rHelpId) |
| OUString | get_help_id () const |
| void | response (int nResponse) |
| virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
| void | FillValueSet () |
| Fills ValueSet with bitmaps. More... | |
| void | Reset () |
| Initialize. More... | |
Private Attributes | |
| ::sd::DrawDocShell * | mpDocSh |
| const SfxItemSet & | mrOutAttrs |
| std::vector< OUString > | maLayoutNames |
| OUString | maName |
| layout name or file name More... | |
| tools::Long | mnLayoutCount |
| number of master pages in the document More... | |
| const OUString | maStrNone |
| std::unique_ptr< weld::CheckButton > | m_xCbxMasterPage |
| std::unique_ptr< weld::CheckButton > | m_xCbxCheckMasters |
| std::unique_ptr< weld::Button > | m_xBtnLoad |
| std::unique_ptr< ValueSet > | m_xVS |
| std::unique_ptr< weld::CustomWeld > | m_xVSWin |
| std::unique_ptr< weld::Label > | m_xLabel |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
| static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
| std::unique_ptr< weld::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 34 of file sdpreslt.hxx.
| SdPresLayoutDlg::SdPresLayoutDlg | ( | ::sd::DrawDocShell * | pDocShell, |
| weld::Window * | pWindow, | ||
| const SfxItemSet & | rInAttrs | ||
| ) |
Definition at line 39 of file sdpreslt.cxx.
References Draw, sd::DrawDocShell::GetDoc(), SdDrawDocument::GetDocumentType(), LINK, m_xBtnLoad, weld::GenericDialogController::m_xDialog, m_xLabel, m_xLabel, m_xVS, m_xVSWin, mpDocSh, Reset(), and SdResId().
|
overridevirtual |
Definition at line 71 of file sdpreslt.cxx.
| SdPresLayoutDlg::DECL_LINK | ( | ClickLayoutHdl | , |
| ValueSet * | , | ||
| void | |||
| ) |
| SdPresLayoutDlg::DECL_LINK | ( | ClickLoadHdl | , |
| weld::Button & | , | ||
| void | |||
| ) |
|
private |
Fills ValueSet with bitmaps.
Definition at line 142 of file sdpreslt.cxx.
References sd::DrawDocShell::GetDoc(), SdPage::GetLayoutName(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdPage::GetPageKind(), sd::DrawDocShell::GetPagePreviewBitmap(), m_xVS, maLayoutNames, mpDocSh, nCount, SD_LT_SEPARATOR, Standard, WB_DOUBLEBORDER, WB_ITEMBORDER, WB_NAMEFIELD, and WB_VSCROLL.
Referenced by Reset().
| void SdPresLayoutDlg::GetAttr | ( | SfxItemSet & | rOutAttrs | ) |
Fills the provided Item-Set with dialog box attributes.
Definition at line 115 of file sdpreslt.cxx.
References m_xCbxCheckMasters, m_xCbxMasterPage, m_xVS, maLayoutNames, maName, maStrNone, mnLayoutCount, nId, and SfxItemSet::Put().
|
private |
Initialize.
Definition at line 78 of file sdpreslt.cxx.
References DBG_ASSERT, FillValueSet(), SfxItemSet::GetItemIfSet(), m_xCbxCheckMasters, m_xCbxMasterPage, m_xVS, maLayoutNames, maName, mnLayoutCount, and mrOutAttrs.
Referenced by SdPresLayoutDlg().
|
private |
Definition at line 62 of file sdpreslt.hxx.
Referenced by SdPresLayoutDlg().
|
private |
Definition at line 61 of file sdpreslt.hxx.
|
private |
Definition at line 60 of file sdpreslt.hxx.
|
private |
Definition at line 65 of file sdpreslt.hxx.
Referenced by SdPresLayoutDlg().
|
private |
Definition at line 63 of file sdpreslt.hxx.
Referenced by FillValueSet(), GetAttr(), Reset(), and SdPresLayoutDlg().
|
private |
Definition at line 64 of file sdpreslt.hxx.
Referenced by SdPresLayoutDlg().
|
private |
Definition at line 54 of file sdpreslt.hxx.
Referenced by FillValueSet(), GetAttr(), and Reset().
|
private |
layout name or file name
Definition at line 56 of file sdpreslt.hxx.
|
private |
Definition at line 58 of file sdpreslt.hxx.
Referenced by GetAttr().
|
private |
number of master pages in the document
Definition at line 57 of file sdpreslt.hxx.
|
private |
Definition at line 50 of file sdpreslt.hxx.
Referenced by FillValueSet(), and SdPresLayoutDlg().
|
private |
Definition at line 52 of file sdpreslt.hxx.
Referenced by Reset().