LibreOffice Module sw (master) 1
|
#include <frmdlg.hxx>
Public Member Functions | |
SwFrameDlg (const SfxViewFrame &rFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame, const OUString &sResType, bool bFormat, const OUString &sDefPage={}, const OUString *pFormatStr=nullptr) | |
virtual | ~SwFrameDlg () override |
SwWrtShell * | GetWrtShell () |
![]() | |
SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
virtual | ~SfxTabDialogController () override |
void | AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
void | AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
void | RemoveTabPage (const OUString &rName) |
void | SetCurPageId (const OUString &rName) |
void | ShowPage (const OUString &rName) |
OUString | GetCurPageId () const |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () const override |
void | SetApplyHandler (const Link< weld::Button &, void > &_rHdl) |
bool | Apply () |
void | Applied () |
std::vector< OUString > | getAllPageUIXMLDescriptions () const |
bool | selectPageByUIXMLDescription (const OUString &rUIXMLDescription) |
BitmapEx | createScreenshot () const |
OUString | GetScreenshotId () const |
![]() | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
![]() | |
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 | |
virtual void | PageCreated (const OUString &rId, SfxTabPage &rPage) override |
Private Attributes | |
bool | m_bFormat |
bool | m_bNew |
const SfxItemSet & | m_rSet |
OUString | m_sDlgType |
SwWrtShell * | m_pWrtShell |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void) | |
virtual short | Ok () |
virtual void | RefreshInputSet () |
virtual SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
![]() | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Definition at line 29 of file frmdlg.hxx.
SwFrameDlg::SwFrameDlg | ( | const SfxViewFrame & | rFrame, |
weld::Window * | pParent, | ||
const SfxItemSet & | rCoreSet, | ||
bool | bNewFrame, | ||
const OUString & | sResType, | ||
bool | bFormat, | ||
const OUString & | sDefPage = {} , |
||
const OUString * | pFormatStr = nullptr |
||
) |
Definition at line 44 of file frmdlg.cxx.
References SfxTabDialogController::AddTabPage(), SfxAbstractDialogFactory::Create(), SwColumnPage::Create(), SwFramePage::Create(), SwGrfExtPage::Create(), SwFrameURLPage::Create(), SwFrameAddPage::Create(), SwWrapTabPage::Create(), SwView::GetDocShell(), GetHtmlMode(), SfxAbstractDialogFactory::GetTabPageCreatorFunc(), SfxAbstractDialogFactory::GetTabPageRangesFunc(), SwWrtShell::GetView(), HTMLMODE_ON, comphelper::LibreOfficeKit::isActive(), m_bNew, m_pWrtShell, m_sDlgType, m_xDialog, SfxTabDialogController::RemoveTabPage(), SfxTabDialogController::SetCurPageId(), and SwResId().
|
overridevirtual |
Definition at line 122 of file frmdlg.cxx.
|
inline |
Definition at line 50 of file frmdlg.hxx.
References m_pWrtShell.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 126 of file frmdlg.cxx.
References SwMacroAssignDlg::AddEvents(), SfxItemSet::Get(), SfxTabPage::getAdditionalProperties(), SwViewShell::GetDoc(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SwDoc::getIDocumentSettingAccess(), IDocumentSettingAccess::getImagePreferredDPI(), SfxTabDialogController::GetInputSetImpl(), SfxItemSet::GetPool(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SvxSizeItem::GetWidth(), m_bFormat, m_bNew, m_pWrtShell, m_rSet, m_sDlgType, MACASSGN_FRMURL, MACASSGN_GRAPHIC, MACASSGN_OLE, SfxTabPage::PageCreated(), SfxItemSet::Put(), RES_FRM_SIZE(), SfxTabPage::SetFrame(), and SetShell().
|
private |
Definition at line 31 of file frmdlg.hxx.
Referenced by PageCreated().
|
private |
Definition at line 32 of file frmdlg.hxx.
Referenced by PageCreated(), and SwFrameDlg().
|
private |
Definition at line 35 of file frmdlg.hxx.
Referenced by GetWrtShell(), PageCreated(), and SwFrameDlg().
|
private |
Definition at line 33 of file frmdlg.hxx.
Referenced by PageCreated().
|
private |
Definition at line 34 of file frmdlg.hxx.
Referenced by PageCreated(), and SwFrameDlg().