LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SdPrintOptions Class Referencefinal

#include <prntopts.hxx>

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

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
 
- 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 ()
 

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)
 
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::Framem_xFrmContent
 
std::unique_ptr< weld::CheckButtonm_xCbxDraw
 
std::unique_ptr< weld::CheckButtonm_xCbxNotes
 
std::unique_ptr< weld::CheckButtonm_xCbxHandout
 
std::unique_ptr< weld::CheckButtonm_xCbxOutline
 
std::unique_ptr< weld::RadioButtonm_xRbtColor
 
std::unique_ptr< weld::RadioButtonm_xRbtGrayscale
 
std::unique_ptr< weld::RadioButtonm_xRbtBlackWhite
 
std::unique_ptr< weld::CheckButtonm_xCbxPagename
 
std::unique_ptr< weld::CheckButtonm_xCbxDate
 
std::unique_ptr< weld::CheckButtonm_xCbxTime
 
std::unique_ptr< weld::CheckButtonm_xCbxHiddenPages
 
std::unique_ptr< weld::RadioButtonm_xRbtDefault
 
std::unique_ptr< weld::RadioButtonm_xRbtPagesize
 
std::unique_ptr< weld::RadioButtonm_xRbtPagetile
 
std::unique_ptr< weld::RadioButtonm_xRbtBooklet
 
std::unique_ptr< weld::CheckButtonm_xCbxFront
 
std::unique_ptr< weld::CheckButtonm_xCbxBack
 
std::unique_ptr< weld::CheckButtonm_xCbxPaperbin
 

Friends

class SdModule
 

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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 24 of file prntopts.hxx.

Constructor & Destructor Documentation

◆ SdPrintOptions()

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().

◆ ~SdPrintOptions()

SdPrintOptions::~SdPrintOptions ( )
overridevirtual

Definition at line 68 of file prntopts.cxx.

Member Function Documentation

◆ Create()

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

◆ DECL_LINK() [1/2]

SdPrintOptions::DECL_LINK ( ClickBookletHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

SdPrintOptions::DECL_LINK ( ClickCheckboxHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SdPrintOptions::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ PageCreated()

void SdPrintOptions::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 216 of file prntopts.cxx.

References CntUInt32Item::GetValue(), and SetDrawMode().

◆ Reset()

void SdPrintOptions::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetDrawMode()

void SdPrintOptions::SetDrawMode ( )

Definition at line 208 of file prntopts.cxx.

References m_xCbxNotes, and m_xFrmContent.

Referenced by PageCreated(), and SdPrintOptions().

◆ updateControls()

void SdPrintOptions::updateControls ( )
private

Friends And Related Function Documentation

◆ SdModule

friend class SdModule
friend

Definition at line 26 of file prntopts.hxx.

Member Data Documentation

◆ m_xCbxBack

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxBack
private

Definition at line 46 of file prntopts.hxx.

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

◆ m_xCbxDate

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxDate
private

Definition at line 38 of file prntopts.hxx.

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

◆ m_xCbxDraw

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxDraw
private

Definition at line 30 of file prntopts.hxx.

Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().

◆ m_xCbxFront

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxFront
private

Definition at line 45 of file prntopts.hxx.

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

◆ m_xCbxHandout

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxHandout
private

Definition at line 32 of file prntopts.hxx.

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

◆ m_xCbxHiddenPages

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxHiddenPages
private

Definition at line 40 of file prntopts.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxNotes

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxNotes
private

Definition at line 31 of file prntopts.hxx.

Referenced by FillItemSet(), Reset(), SdPrintOptions(), SetDrawMode(), and updateControls().

◆ m_xCbxOutline

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxOutline
private

Definition at line 33 of file prntopts.hxx.

Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().

◆ m_xCbxPagename

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxPagename
private

Definition at line 37 of file prntopts.hxx.

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

◆ m_xCbxPaperbin

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxPaperbin
private

Definition at line 47 of file prntopts.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCbxTime

std::unique_ptr<weld::CheckButton> SdPrintOptions::m_xCbxTime
private

Definition at line 39 of file prntopts.hxx.

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

◆ m_xFrmContent

std::unique_ptr<weld::Frame> SdPrintOptions::m_xFrmContent
private

Definition at line 29 of file prntopts.hxx.

Referenced by SetDrawMode().

◆ m_xRbtBlackWhite

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtBlackWhite
private

Definition at line 36 of file prntopts.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xRbtBooklet

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtBooklet
private

Definition at line 44 of file prntopts.hxx.

Referenced by FillItemSet(), Reset(), SdPrintOptions(), and updateControls().

◆ m_xRbtColor

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtColor
private

Definition at line 34 of file prntopts.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xRbtDefault

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtDefault
private

Definition at line 41 of file prntopts.hxx.

Referenced by Reset(), and SdPrintOptions().

◆ m_xRbtGrayscale

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtGrayscale
private

Definition at line 35 of file prntopts.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xRbtPagesize

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtPagesize
private

Definition at line 42 of file prntopts.hxx.

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

◆ m_xRbtPagetile

std::unique_ptr<weld::RadioButton> SdPrintOptions::m_xRbtPagetile
private

Definition at line 43 of file prntopts.hxx.

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


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