LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxCommonPrintOptionsTabPage Class Referencefinal

#include <printopt.hxx>

Inheritance diagram for SfxCommonPrintOptionsTabPage:
[legend]
Collaboration diagram for SfxCommonPrintOptionsTabPage:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () 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< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xPrinterOutputRB
 
std::unique_ptr< weld::RadioButtonm_xPrintFileOutputRB
 
std::unique_ptr< weld::CheckButtonm_xReduceTransparencyCB
 
std::unique_ptr< weld::RadioButtonm_xReduceTransparencyAutoRB
 
std::unique_ptr< weld::RadioButtonm_xReduceTransparencyNoneRB
 
std::unique_ptr< weld::CheckButtonm_xReduceGradientsCB
 
std::unique_ptr< weld::RadioButtonm_xReduceGradientsStripesRB
 
std::unique_ptr< weld::RadioButtonm_xReduceGradientsColorRB
 
std::unique_ptr< weld::SpinButtonm_xReduceGradientsStepCountNF
 
std::unique_ptr< weld::CheckButtonm_xReduceBitmapsCB
 
std::unique_ptr< weld::RadioButtonm_xReduceBitmapsOptimalRB
 
std::unique_ptr< weld::RadioButtonm_xReduceBitmapsNormalRB
 
std::unique_ptr< weld::RadioButtonm_xReduceBitmapsResolutionRB
 
std::unique_ptr< weld::ComboBoxm_xReduceBitmapsResolutionLB
 
std::unique_ptr< weld::CheckButtonm_xReduceBitmapsTransparencyCB
 
std::unique_ptr< weld::CheckButtonm_xConvertToGreyscalesCB
 
std::unique_ptr< weld::CheckButtonm_xPaperSizeCB
 
std::unique_ptr< weld::CheckButtonm_xPaperOrientationCB
 
std::unique_ptr< weld::CheckButtonm_xTransparencyCB
 
vcl::printer::Options maPrinterOptions
 
vcl::printer::Options maPrintFileOptions
 

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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
template<class T >
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 29 of file printopt.hxx.

Constructor & Destructor Documentation

◆ SfxCommonPrintOptionsTabPage()

SfxCommonPrintOptionsTabPage::SfxCommonPrintOptionsTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SfxCommonPrintOptionsTabPage()

SfxCommonPrintOptionsTabPage::~SfxCommonPrintOptionsTabPage ( )
overridevirtual

Definition at line 73 of file printopt.cxx.

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > SfxCommonPrintOptionsTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 77 of file printopt.cxx.

◆ DeactivatePage()

DeactivateRC SfxCommonPrintOptionsTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 122 of file printopt.cxx.

References FillItemSet(), and LeavePage.

◆ DECL_DLLPRIVATE_LINK() [1/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ClickReduceBitmapsCBHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ClickReduceGradientsCBHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ClickReduceTransparencyCBHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ToggleOutputPrinterRBHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ToggleOutputPrintFileRBHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ToggleReduceBitmapsResolutionRBHdl  ,
weld::Toggleable ,
void   
)
private

References Create().

◆ DECL_DLLPRIVATE_LINK() [7/7]

SfxCommonPrintOptionsTabPage::DECL_DLLPRIVATE_LINK ( ToggleReduceGradientsStripesRBHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SfxCommonPrintOptionsTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ ImplSaveControls()

void SfxCommonPrintOptionsTabPage::ImplSaveControls ( vcl::printer::Options *  pCurrentOptions)
private

◆ ImplUpdateControls()

void SfxCommonPrintOptionsTabPage::ImplUpdateControls ( const vcl::printer::Options *  pCurrentOptions)
private

◆ Reset()

void SfxCommonPrintOptionsTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_xConvertToGreyscalesCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xConvertToGreyscalesCB
private

Definition at line 48 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xPaperOrientationCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xPaperOrientationCB
private

Definition at line 50 of file printopt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xPaperSizeCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xPaperSizeCB
private

Definition at line 49 of file printopt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xPrinterOutputRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xPrinterOutputRB
private

Definition at line 33 of file printopt.hxx.

Referenced by FillItemSet(), Reset(), and SfxCommonPrintOptionsTabPage().

◆ m_xPrintFileOutputRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xPrintFileOutputRB
private

Definition at line 34 of file printopt.hxx.

Referenced by Reset(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceBitmapsCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsCB
private

Definition at line 42 of file printopt.hxx.

Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceBitmapsNormalRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsNormalRB
private

Definition at line 44 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceBitmapsOptimalRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsOptimalRB
private

Definition at line 43 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceBitmapsResolutionLB

std::unique_ptr<weld::ComboBox> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsResolutionLB
private

Definition at line 46 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceBitmapsResolutionRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsResolutionRB
private

Definition at line 45 of file printopt.hxx.

Referenced by ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceBitmapsTransparencyCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xReduceBitmapsTransparencyCB
private

Definition at line 47 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceGradientsCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xReduceGradientsCB
private

Definition at line 38 of file printopt.hxx.

Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceGradientsColorRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceGradientsColorRB
private

Definition at line 40 of file printopt.hxx.

Referenced by ImplUpdateControls().

◆ m_xReduceGradientsStepCountNF

std::unique_ptr<weld::SpinButton> SfxCommonPrintOptionsTabPage::m_xReduceGradientsStepCountNF
private

Definition at line 41 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceGradientsStripesRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceGradientsStripesRB
private

Definition at line 39 of file printopt.hxx.

Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceTransparencyAutoRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceTransparencyAutoRB
private

Definition at line 36 of file printopt.hxx.

Referenced by ImplSaveControls(), and ImplUpdateControls().

◆ m_xReduceTransparencyCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xReduceTransparencyCB
private

Definition at line 35 of file printopt.hxx.

Referenced by ImplSaveControls(), ImplUpdateControls(), and SfxCommonPrintOptionsTabPage().

◆ m_xReduceTransparencyNoneRB

std::unique_ptr<weld::RadioButton> SfxCommonPrintOptionsTabPage::m_xReduceTransparencyNoneRB
private

Definition at line 37 of file printopt.hxx.

Referenced by ImplUpdateControls().

◆ m_xTransparencyCB

std::unique_ptr<weld::CheckButton> SfxCommonPrintOptionsTabPage::m_xTransparencyCB
private

Definition at line 51 of file printopt.hxx.

Referenced by FillItemSet(), and Reset().

◆ maPrinterOptions

vcl::printer::Options SfxCommonPrintOptionsTabPage::maPrinterOptions
private

Definition at line 55 of file printopt.hxx.

Referenced by FillItemSet(), and Reset().

◆ maPrintFileOptions

vcl::printer::Options SfxCommonPrintOptionsTabPage::maPrintFileOptions
private

Definition at line 56 of file printopt.hxx.

Referenced by FillItemSet(), and Reset().


The documentation for this class was generated from the following files: