LibreOffice Module sfx2 (master) 1
|
#include <printopt.hxx>
Public Member Functions | |
SfxCommonPrintOptionsTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SfxCommonPrintOptionsTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
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 () |
Public Member Functions inherited from BuilderPage | |
BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false) | |
virtual | ~BuilderPage () COVERITY_NOEXCEPT_FALSE |
void | SetPageTitle (const OUString &rPageTitle) |
const OUString & | GetPageTitle () const |
virtual void | Activate () |
virtual void | Deactivate () |
void | SetHelpId (const OUString &rHelpId) |
OUString | GetHelpId () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
template<class T > | |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (ToggleOutputPrinterRBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ToggleOutputPrintFileRBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ClickReduceTransparencyCBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ClickReduceGradientsCBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ClickReduceBitmapsCBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ToggleReduceGradientsStripesRBHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ToggleReduceBitmapsResolutionRBHdl, weld::Toggleable &, void) | |
SAL_DLLPRIVATE void | ImplUpdateControls (const vcl::printer::Options *pCurrentOptions) |
SAL_DLLPRIVATE void | ImplSaveControls (vcl::printer::Options *pCurrentOptions) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
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 |
template<class T > | |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
template<class T > | |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 29 of file printopt.hxx.
SfxCommonPrintOptionsTabPage::SfxCommonPrintOptionsTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 35 of file printopt.cxx.
References bOutputForPrinter, LINK, m_xPrinterOutputRB, m_xPrintFileOutputRB, m_xReduceBitmapsCB, m_xReduceBitmapsResolutionRB, m_xReduceGradientsCB, m_xReduceGradientsStripesRB, and m_xReduceTransparencyCB.
|
overridevirtual |
Definition at line 73 of file printopt.cxx.
|
static |
Definition at line 77 of file printopt.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 122 of file printopt.cxx.
References FillItemSet(), and LeavePage.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
References Create().
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 82 of file printopt.cxx.
References comphelper::ConfigurationChanges::create(), ImplSaveControls(), m_xPaperOrientationCB, m_xPaperSizeCB, m_xPrinterOutputRB, m_xTransparencyCB, maPrinterOptions, maPrintFileOptions, and svtools::SetPrinterOptions().
Referenced by DeactivatePage().
|
private |
Definition at line 181 of file printopt.cxx.
References aDPIArray, vcl::printer::Auto, vcl::printer::Color, m_xConvertToGreyscalesCB, m_xReduceBitmapsCB, m_xReduceBitmapsNormalRB, m_xReduceBitmapsOptimalRB, m_xReduceBitmapsResolutionLB, m_xReduceBitmapsTransparencyCB, m_xReduceGradientsCB, m_xReduceGradientsStepCountNF, m_xReduceGradientsStripesRB, m_xReduceTransparencyAutoRB, m_xReduceTransparencyCB, vcl::printer::NONE, vcl::printer::Normal, vcl::printer::Optimal, vcl::printer::Resolution, SAL_N_ELEMENTS, and vcl::printer::Stripes.
Referenced by FillItemSet().
|
private |
Definition at line 130 of file printopt.cxx.
References aDPIArray, vcl::printer::Auto, DPI_COUNT, i, m_xConvertToGreyscalesCB, m_xReduceBitmapsCB, m_xReduceBitmapsNormalRB, m_xReduceBitmapsOptimalRB, m_xReduceBitmapsResolutionLB, m_xReduceBitmapsResolutionRB, m_xReduceBitmapsTransparencyCB, m_xReduceGradientsCB, m_xReduceGradientsColorRB, m_xReduceGradientsStepCountNF, m_xReduceGradientsStripesRB, m_xReduceTransparencyAutoRB, m_xReduceTransparencyCB, m_xReduceTransparencyNoneRB, vcl::printer::Normal, vcl::printer::Optimal, and vcl::printer::Stripes.
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 103 of file printopt.cxx.
References svtools::GetPrinterOptions(), ImplUpdateControls(), m_xPaperOrientationCB, m_xPaperSizeCB, m_xPrinterOutputRB, m_xPrintFileOutputRB, m_xTransparencyCB, maPrinterOptions, and maPrintFileOptions.
|
private |
Definition at line 48 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 50 of file printopt.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 49 of file printopt.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 33 of file printopt.hxx.
Referenced by FillItemSet(), Reset(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 34 of file printopt.hxx.
Referenced by Reset(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 42 of file printopt.hxx.
Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 44 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 43 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 46 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 45 of file printopt.hxx.
Referenced by ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 47 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 38 of file printopt.hxx.
Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 40 of file printopt.hxx.
Referenced by ImplUpdateControls().
|
private |
Definition at line 41 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 39 of file printopt.hxx.
Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 36 of file printopt.hxx.
Referenced by ImplSaveControls(), and ImplUpdateControls().
|
private |
Definition at line 35 of file printopt.hxx.
Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().
|
private |
Definition at line 37 of file printopt.hxx.
Referenced by ImplUpdateControls().
|
private |
Definition at line 51 of file printopt.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 55 of file printopt.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 56 of file printopt.hxx.
Referenced by FillItemSet(), and Reset().