LibreOffice Module sd (master) 1
|
#include <prntopts.hxx>
Public Member Functions | |
SdPrintOptions (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
dialog to adjust print options More... | |
virtual | ~SdPrintOptions () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
void | SetDrawMode () |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
![]() | |
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 *) |
![]() | |
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 (ClickCheckboxHdl, weld::Toggleable &, void) | |
DECL_LINK (ClickBookletHdl, weld::Toggleable &, void) | |
void | updateControls () |
Private Attributes | |
std::unique_ptr< weld::Frame > | m_xFrmContent |
std::unique_ptr< weld::CheckButton > | m_xCbxDraw |
std::unique_ptr< weld::CheckButton > | m_xCbxNotes |
std::unique_ptr< weld::CheckButton > | m_xCbxHandout |
std::unique_ptr< weld::CheckButton > | m_xCbxOutline |
std::unique_ptr< weld::RadioButton > | m_xRbtColor |
std::unique_ptr< weld::RadioButton > | m_xRbtGrayscale |
std::unique_ptr< weld::RadioButton > | m_xRbtBlackWhite |
std::unique_ptr< weld::CheckButton > | m_xCbxPagename |
std::unique_ptr< weld::CheckButton > | m_xCbxDate |
std::unique_ptr< weld::CheckButton > | m_xCbxTime |
std::unique_ptr< weld::CheckButton > | m_xCbxHiddenPages |
std::unique_ptr< weld::RadioButton > | m_xRbtDefault |
std::unique_ptr< weld::RadioButton > | m_xRbtPagesize |
std::unique_ptr< weld::RadioButton > | m_xRbtPagetile |
std::unique_ptr< weld::RadioButton > | m_xRbtBooklet |
std::unique_ptr< weld::CheckButton > | m_xCbxFront |
std::unique_ptr< weld::CheckButton > | m_xCbxBack |
std::unique_ptr< weld::CheckButton > | m_xCbxPaperbin |
Friends | |
class | SdModule |
Additional Inherited Members | |
![]() | |
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 24 of file prntopts.hxx.
SdPrintOptions::SdPrintOptions | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
dialog to adjust print options
Definition at line 29 of file prntopts.cxx.
References LINK, m_xCbxDraw, m_xCbxHandout, m_xCbxNotes, m_xCbxOutline, m_xRbtBooklet, m_xRbtDefault, m_xRbtPagesize, m_xRbtPagetile, and SetDrawMode().
|
overridevirtual |
Definition at line 68 of file prntopts.cxx.
|
static |
Definition at line 177 of file prntopts.cxx.
Referenced by SdAbstractDialogFactory_Impl::GetSdPrintOptionsTabPageCreatorFunc().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 72 of file prntopts.cxx.
References SdOptionsPrintItem::GetOptionsPrint(), m_xCbxBack, m_xCbxDate, m_xCbxDraw, m_xCbxFront, m_xCbxHandout, m_xCbxHiddenPages, m_xCbxNotes, m_xCbxOutline, m_xCbxPagename, m_xCbxPaperbin, m_xCbxTime, m_xRbtBlackWhite, m_xRbtBooklet, m_xRbtColor, m_xRbtGrayscale, m_xRbtPagesize, m_xRbtPagetile, SfxItemSet::Put(), SdOptionsPrint::SetBackPage(), SdOptionsPrint::SetBooklet(), SdOptionsPrint::SetDate(), SdOptionsPrint::SetDraw(), SdOptionsPrint::SetFrontPage(), SdOptionsPrint::SetHandout(), SdOptionsPrint::SetHiddenPages(), SdOptionsPrint::SetNotes(), SdOptionsPrint::SetOutline(), SdOptionsPrint::SetOutputQuality(), SdOptionsPrint::SetPagename(), SdOptionsPrint::SetPagesize(), SdOptionsPrint::SetPagetile(), SdOptionsPrint::SetPaperbin(), and SdOptionsPrint::SetTime().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 216 of file prntopts.cxx.
References CntUInt32Item::GetValue(), and SetDrawMode().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 123 of file prntopts.cxx.
References SfxItemSet::GetItemIfSet(), SdOptionsPrintItem::GetOptionsPrint(), SdOptionsPrint::GetOutputQuality(), SdOptionsPrint::IsBackPage(), SdOptionsPrint::IsBooklet(), SdOptionsPrint::IsDate(), SdOptionsPrint::IsDraw(), SdOptionsPrint::IsFrontPage(), SdOptionsPrint::IsHandout(), SdOptionsPrint::IsHiddenPages(), SdOptionsPrint::IsNotes(), SdOptionsPrint::IsOutline(), SdOptionsPrint::IsPagename(), SdOptionsPrint::IsPagesize(), SdOptionsPrint::IsPagetile(), SdOptionsPrint::IsPaperbin(), SdOptionsPrint::IsTime(), m_xCbxBack, m_xCbxDate, m_xCbxDraw, m_xCbxFront, m_xCbxHandout, m_xCbxHiddenPages, m_xCbxNotes, m_xCbxOutline, m_xCbxPagename, m_xCbxPaperbin, m_xCbxTime, m_xRbtBlackWhite, m_xRbtBooklet, m_xRbtColor, m_xRbtDefault, m_xRbtGrayscale, m_xRbtPagesize, m_xRbtPagetile, and updateControls().
void SdPrintOptions::SetDrawMode | ( | ) |
Definition at line 208 of file prntopts.cxx.
References m_xCbxNotes, and m_xFrmContent.
Referenced by PageCreated(), and SdPrintOptions().
|
private |
Definition at line 197 of file prntopts.cxx.
References m_xCbxBack, m_xCbxDate, m_xCbxDraw, m_xCbxFront, m_xCbxNotes, m_xCbxOutline, m_xCbxPagename, m_xCbxTime, and m_xRbtBooklet.
Referenced by Reset().
|
friend |
Definition at line 26 of file prntopts.hxx.
|
private |
Definition at line 46 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and updateControls().
|
private |
Definition at line 38 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and updateControls().
|
private |
Definition at line 30 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().
|
private |
Definition at line 45 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and updateControls().
|
private |
Definition at line 32 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and SdPrintOptions().
|
private |
Definition at line 40 of file prntopts.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 31 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), SdPrintOptions(), SetDrawMode(), and updateControls().
|
private |
Definition at line 33 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().
|
private |
Definition at line 37 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and updateControls().
|
private |
Definition at line 47 of file prntopts.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 39 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and updateControls().
|
private |
Definition at line 29 of file prntopts.hxx.
Referenced by SetDrawMode().
|
private |
Definition at line 36 of file prntopts.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 44 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().
|
private |
Definition at line 34 of file prntopts.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 41 of file prntopts.hxx.
Referenced by Reset(), and SdPrintOptions().
|
private |
Definition at line 35 of file prntopts.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 42 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and SdPrintOptions().
|
private |
Definition at line 43 of file prntopts.hxx.
Referenced by FillItemSet(), Reset(), and SdPrintOptions().