LibreOffice Module sw (master)
1
|
#include <envprt.hxx>
Public Member Functions | |
SwEnvPrtPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwEnvPrtPage () override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | FillItem (SwEnvItem &rItem) |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | SetPrt (Printer *pPrinter) |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
![]() | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
DECL_LINK (LowerHdl, weld::ToggleButton &, void) | |
DECL_LINK (UpperHdl, weld::ToggleButton &, void) | |
DECL_LINK (ClickHdl, weld::ToggleButton &, void) | |
DECL_LINK (ButtonHdl, weld::Button &, void) | |
SwEnvDlg * | GetParentSwEnvDlg () |
Private Attributes | |
std::unique_ptr< weld::Widget > | m_xUpper |
std::unique_ptr< weld::Widget > | m_xLower |
std::unique_ptr< weld::RadioButton > | m_xTopButton |
std::unique_ptr< weld::RadioButton > | m_xBottomButton |
std::unique_ptr< weld::MetricSpinButton > | m_xRightField |
std::unique_ptr< weld::MetricSpinButton > | m_xDownField |
std::unique_ptr< weld::Label > | m_xPrinterInfo |
std::unique_ptr< weld::Button > | m_xPrtSetup |
std::unique_ptr< weld::RadioButton > | m_aIdsL [ENV_VER_RGHT-ENV_HOR_LEFT+1] |
std::unique_ptr< weld::RadioButton > | m_aIdsU [ENV_VER_RGHT-ENV_HOR_LEFT+1] |
VclPtr< Printer > | m_xPrt |
Additional Inherited Members | |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 32 of file envprt.hxx.
SwEnvPrtPage::SwEnvPrtPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 29 of file envprt.cxx.
References CM.
|
overridevirtual |
Definition at line 74 of file envprt.cxx.
References VclPtr< Printer >::clear(), and m_xPrt.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 132 of file envprt.cxx.
References Printer::GetName(), m_xPrinterInfo, and m_xPrt.
Referenced by Reset().
|
static |
Definition at line 127 of file envprt.cxx.
Referenced by SwEnvDlg::SwEnvDlg().
|
overridevirtual |
|
private |
|
private |
|
private |
|
private |
Definition at line 145 of file envprt.cxx.
References assert(), ENV_HOR_LEFT, ENV_VER_RGHT, getfieldval(), i, SwEnvItem::m_bPrintFromAbove, SwEnvItem::m_eAlign, SwEnvItem::m_nShiftDown, SwEnvItem::m_nShiftRight, m_xDownField, m_xRightField, and m_xTopButton.
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 164 of file envprt.cxx.
References FillItem(), GetParentSwEnvDlg(), and SfxItemSet::Put().
Referenced by DeactivatePage().
|
inlineprivate |
Definition at line 53 of file envprt.hxx.
References SfxTabPage::GetDialogController().
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 171 of file envprt.cxx.
References ActivatePage(), FN_ENVELOP, SfxItemSet::Get(), SwEnvItem::m_bPrintFromAbove, SwEnvItem::m_eAlign, SwEnvItem::m_nShiftDown, SwEnvItem::m_nShiftRight, m_xBottomButton, m_xDownField, m_xRightField, m_xTopButton, and setfieldval().
Definition at line 69 of file envprt.hxx.
|
private |
Definition at line 43 of file envprt.hxx.
|
private |
Definition at line 44 of file envprt.hxx.
|
private |
Definition at line 37 of file envprt.hxx.
Referenced by Reset().
|
private |
Definition at line 39 of file envprt.hxx.
Referenced by FillItem(), and Reset().
|
private |
Definition at line 35 of file envprt.hxx.
|
private |
Definition at line 40 of file envprt.hxx.
Referenced by ActivatePage().
Definition at line 46 of file envprt.hxx.
Referenced by ActivatePage(), and ~SwEnvPrtPage().
|
private |
Definition at line 41 of file envprt.hxx.
|
private |
Definition at line 38 of file envprt.hxx.
Referenced by FillItem(), and Reset().
|
private |
Definition at line 36 of file envprt.hxx.
Referenced by FillItem(), and Reset().
|
private |
Definition at line 34 of file envprt.hxx.