LibreOffice Module sw (master) 1
|
#include <envlop.hxx>
Public Member Functions | |
SwEnvDlg (weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert) | |
virtual | ~SwEnvDlg () override |
![]() | |
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 |
virtual short | Ok () override |
Private Attributes | |
SwEnvItem | m_aEnvItem |
SwWrtShell * | m_pSh |
VclPtr< Printer > | m_pPrinter |
std::unique_ptr< SfxItemSet > | m_pAddresseeSet |
std::unique_ptr< SfxItemSet > | m_pSenderSet |
std::unique_ptr< weld::Button > | m_xModify |
Friends | |
class | SwEnvPage |
class | SwEnvFormatPage |
class | SwEnvPrtPage |
class | SwEnvPreview |
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 59 of file envlop.hxx.
SwEnvDlg::SwEnvDlg | ( | weld::Window * | pParent, |
const SfxItemSet & | rSet, | ||
SwWrtShell * | pWrtSh, | ||
Printer * | pPrt, | ||
bool | bInsert | ||
) |
Definition at line 119 of file envlop1.cxx.
References SfxTabDialogController::AddTabPage(), SwEnvFormatPage::Create(), SwEnvPrtPage::Create(), SwEnvPage::Create(), Get(), SfxTabDialogController::GetUserButton(), m_xModify, rSet, and weld::Button::set_label().
|
overridevirtual |
Definition at line 137 of file envlop1.cxx.
References m_pAddresseeSet, and m_pSenderSet.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 159 of file envlop1.cxx.
References SwEditShell::GetTextCollFromPool(), m_pAddresseeSet, m_pSenderSet, m_pSh, SfxTabDialogController::Ok(), RES_POOLCOLL_ENVELOPE_ADDRESS, RES_POOLCOLL_SEND_ADDRESS, RET_OK, RET_USER, and SwTextFormatColl::SetFormatAttr().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 143 of file envlop1.cxx.
References Init(), and m_pPrinter.
|
friend |
Definition at line 62 of file envlop.hxx.
|
friend |
Definition at line 61 of file envlop.hxx.
|
friend |
Definition at line 64 of file envlop.hxx.
|
friend |
Definition at line 63 of file envlop.hxx.
|
private |
Definition at line 66 of file envlop.hxx.
Referenced by SwEnvPreview::Paint().
|
private |
Definition at line 69 of file envlop.hxx.
Referenced by SwEnvFormatPage::GetCollItemSet(), Ok(), SwEnvFormatPage::Reset(), and ~SwEnvDlg().
Definition at line 68 of file envlop.hxx.
Referenced by PageCreated().
|
private |
Definition at line 70 of file envlop.hxx.
Referenced by SwEnvFormatPage::GetCollItemSet(), Ok(), SwEnvFormatPage::Reset(), and ~SwEnvDlg().
|
private |
Definition at line 67 of file envlop.hxx.
Referenced by SwEnvFormatPage::Edit(), SwEnvPage::Init(), and Ok().
|
private |
Definition at line 72 of file envlop.hxx.
Referenced by SwEnvDlg().