LibreOffice Module sfx2 (master) 1
|
#include <new.hxx>
Public Member Functions | |
SfxNewFileDialog (weld::Window *pParent, SfxNewFileDialogMode nFlags) | |
virtual | ~SfxNewFileDialog () override |
bool | IsTemplate () const |
OUString | GetTemplateFileName () const |
SfxTemplateFlags | GetTemplateFlags () const |
void | SetTemplateFlags (SfxTemplateFlags 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 |
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 | |
DECL_DLLPRIVATE_LINK (Update, Timer *, void) | |
DECL_DLLPRIVATE_LINK (RegionSelect, weld::TreeView &, void) | |
DECL_DLLPRIVATE_LINK (TemplateSelect, weld::TreeView &, void) | |
DECL_DLLPRIVATE_LINK (DoubleClick, weld::TreeView &, bool) | |
DECL_DLLPRIVATE_LINK (Expand, weld::Expander &, void) | |
sal_uInt16 | GetSelectedTemplatePos () const |
Private Attributes | |
Idle | m_aPrevIdle |
SfxNewFileDialogMode | m_nFlags |
SfxDocumentTemplates | m_aTemplates |
SfxObjectShellLock | m_xDocShell |
std::unique_ptr< SfxPreviewWin_Impl > | m_xPreviewController |
std::unique_ptr< weld::TreeView > | m_xRegionLb |
std::unique_ptr< weld::TreeView > | m_xTemplateLb |
std::unique_ptr< weld::CheckButton > | m_xTextStyleCB |
std::unique_ptr< weld::CheckButton > | m_xFrameStyleCB |
std::unique_ptr< weld::CheckButton > | m_xPageStyleCB |
std::unique_ptr< weld::CheckButton > | m_xNumStyleCB |
std::unique_ptr< weld::CheckButton > | m_xMergeStyleCB |
std::unique_ptr< weld::Button > | m_xLoadFilePB |
std::unique_ptr< weld::Expander > | m_xMoreBt |
std::unique_ptr< weld::CustomWeld > | m_xPreviewWin |
std::unique_ptr< weld::Label > | m_xAltTitleFt |
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 |
SfxNewFileDialog::SfxNewFileDialog | ( | weld::Window * | pParent, |
SfxNewFileDialogMode | nFlags | ||
) |
Definition at line 230 of file new.cxx.
References SvtViewOptions::Exists(), Expand, SfxDocumentTemplates::GetFullRegionName(), SfxDocumentTemplates::GetRegionCount(), SvtViewOptions::GetUserItem(), i, LINK, LoadTemplate, m_aPrevIdle, m_aTemplates, m_nFlags, m_xAltTitleFt, weld::GenericDialogController::m_xDialog, m_xFrameStyleCB, m_xLoadFilePB, m_xMergeStyleCB, m_xMoreBt, m_xNumStyleCB, m_xPageStyleCB, m_xPreviewWin, m_xRegionLb, m_xTemplateLb, m_xTextStyleCB, nCount, NONE, Timer::SetInvokeHandler(), Task::SetPriority(), Update, and SfxDocumentTemplates::Update().
|
overridevirtual |
Definition at line 308 of file new.cxx.
References weld::GenericDialogController::m_xDialog, m_xMoreBt, and SvtViewOptions::SetUserItem().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 216 of file new.cxx.
References m_xRegionLb, m_xTemplateLb, SfxResId(), and u.
Referenced by GetTemplateFileName(), and IsTemplate().
OUString SfxNewFileDialog::GetTemplateFileName | ( | ) | const |
Definition at line 319 of file new.cxx.
References SfxDocumentTemplates::GetPath(), SfxDocumentTemplates::GetRegionCount(), GetSelectedTemplatePos(), IsTemplate(), m_aTemplates, and m_xRegionLb.
SfxTemplateFlags SfxNewFileDialog::GetTemplateFlags | ( | ) | const |
Definition at line 327 of file new.cxx.
References LOAD_FRAME_STYLES, LOAD_NUM_STYLES, LOAD_PAGE_STYLES, LOAD_TEXT_STYLES, m_xFrameStyleCB, m_xMergeStyleCB, m_xNumStyleCB, m_xPageStyleCB, m_xTextStyleCB, MERGE_STYLES, and NONE.
bool SfxNewFileDialog::IsTemplate | ( | ) | const |
Definition at line 314 of file new.cxx.
References GetSelectedTemplatePos().
Referenced by GetTemplateFileName().
void SfxNewFileDialog::SetTemplateFlags | ( | SfxTemplateFlags | nSet | ) |
Definition at line 341 of file new.cxx.
References LOAD_FRAME_STYLES, LOAD_NUM_STYLES, LOAD_PAGE_STYLES, LOAD_TEXT_STYLES, m_xFrameStyleCB, m_xMergeStyleCB, m_xNumStyleCB, m_xPageStyleCB, m_xTextStyleCB, and MERGE_STYLES.
|
private |
Definition at line 65 of file new.hxx.
Referenced by SfxNewFileDialog().
|
private |
Definition at line 67 of file new.hxx.
Referenced by GetTemplateFileName(), and SfxNewFileDialog().
|
private |
|
private |
Definition at line 82 of file new.hxx.
Referenced by SfxNewFileDialog().
|
private |
|
private |
Definition at line 75 of file new.hxx.
Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().
|
private |
Definition at line 79 of file new.hxx.
Referenced by SfxNewFileDialog().
|
private |
Definition at line 78 of file new.hxx.
Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().
|
private |
Definition at line 80 of file new.hxx.
Referenced by SfxNewFileDialog(), and ~SfxNewFileDialog().
|
private |
Definition at line 77 of file new.hxx.
Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().
|
private |
Definition at line 76 of file new.hxx.
Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().
|
private |
|
private |
Definition at line 81 of file new.hxx.
Referenced by SfxNewFileDialog().
|
private |
Definition at line 72 of file new.hxx.
Referenced by GetSelectedTemplatePos(), GetTemplateFileName(), and SfxNewFileDialog().
|
private |
Definition at line 73 of file new.hxx.
Referenced by GetSelectedTemplatePos(), and SfxNewFileDialog().
|
private |
Definition at line 74 of file new.hxx.
Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().