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) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
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 |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
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::Toggleable &, void) | |
DECL_LINK (UpperHdl, weld::Toggleable &, void) | |
DECL_LINK (ClickHdl, weld::Toggleable &, 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 | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > 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 31 of file envprt.hxx.
SwEnvPrtPage::SwEnvPrtPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 29 of file envprt.cxx.
References a, CM, GetDfltMetric(), LINK, m_aIdsL, m_aIdsU, m_xBottomButton, m_xDownField, m_xPrtSetup, m_xRightField, m_xTopButton, rSet, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 74 of file envprt.cxx.
References VclPtr< class reference_type >::clear(), and m_xPrt.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 132 of file envprt.cxx.
References m_xPrinterInfo, and m_xPrt.
Referenced by Reset().
|
static |
|
overridevirtual |
|
private |
|
private |
|
private |
|
private |
void SwEnvPrtPage::FillItem | ( | SwEnvItem & | rItem | ) |
Definition at line 145 of file envprt.cxx.
References ENV_HOR_LEFT, ENV_VER_RGHT, getfieldval(), i, m_aIdsL, m_aIdsU, 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(), SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
inlineprivate |
Definition at line 52 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(), m_aIdsL, m_aIdsU, SwEnvItem::m_bPrintFromAbove, SwEnvItem::m_eAlign, SwEnvItem::m_nShiftDown, SwEnvItem::m_nShiftRight, m_xBottomButton, m_xDownField, m_xRightField, m_xTopButton, rSet, and setfieldval().
|
inline |
Definition at line 68 of file envprt.hxx.
References m_xPrt.
|
private |
Definition at line 42 of file envprt.hxx.
Referenced by FillItem(), Reset(), and SwEnvPrtPage().
|
private |
Definition at line 43 of file envprt.hxx.
Referenced by FillItem(), Reset(), and SwEnvPrtPage().
|
private |
Definition at line 36 of file envprt.hxx.
Referenced by Reset(), and SwEnvPrtPage().
|
private |
Definition at line 38 of file envprt.hxx.
Referenced by FillItem(), Reset(), and SwEnvPrtPage().
|
private |
Definition at line 34 of file envprt.hxx.
|
private |
Definition at line 39 of file envprt.hxx.
Referenced by ActivatePage().
Definition at line 45 of file envprt.hxx.
Referenced by ActivatePage(), SetPrt(), and ~SwEnvPrtPage().
|
private |
Definition at line 40 of file envprt.hxx.
Referenced by SwEnvPrtPage().
|
private |
Definition at line 37 of file envprt.hxx.
Referenced by FillItem(), Reset(), and SwEnvPrtPage().
|
private |
Definition at line 35 of file envprt.hxx.
Referenced by FillItem(), Reset(), and SwEnvPrtPage().
|
private |
Definition at line 33 of file envprt.hxx.