LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
ScPrintCfg Class Referencefinal

#include <printopt.hxx>

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

Public Member Functions

 ScPrintCfg ()
 
const ScPrintOptionsGetOptions () const
 
void SetOptions (const ScPrintOptions &rNew)
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Private Member Functions

void ReadCfg ()
 
virtual void ImplCommit () override
 
- Private Member Functions inherited from ScPrintOptions
 ScPrintOptions ()
 
bool GetSkipEmpty () const
 
void SetSkipEmpty (bool bVal)
 
bool GetAllSheets () const
 
void SetAllSheets (bool bVal)
 
bool GetForceBreaks () const
 
void SetForceBreaks (bool bVal)
 
void SetDefaults ()
 
bool operator== (const ScPrintOptions &rOpt) const
 

Static Private Member Functions

static css::uno::Sequence< OUString > GetPropertyNames ()
 

Additional Inherited Members

- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 72 of file printopt.hxx.

Constructor & Destructor Documentation

◆ ScPrintCfg()

ScPrintCfg::ScPrintCfg ( )

Definition at line 86 of file printopt.cxx.

References utl::ConfigItem::EnableNotification(), GetPropertyNames(), and ReadCfg().

Member Function Documentation

◆ GetOptions()

const ScPrintOptions & ScPrintCfg::GetOptions ( ) const
inline

Definition at line 82 of file printopt.hxx.

◆ GetPropertyNames()

Sequence< OUString > ScPrintCfg::GetPropertyNames ( )
staticprivate

Definition at line 79 of file printopt.cxx.

Referenced by ImplCommit(), ReadCfg(), and ScPrintCfg().

◆ ImplCommit()

void ScPrintCfg::ImplCommit ( )
overrideprivatevirtual

◆ Notify()

void ScPrintCfg::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 129 of file printopt.cxx.

References ReadCfg().

◆ ReadCfg()

void ScPrintCfg::ReadCfg ( )
private

◆ SetOptions()

void ScPrintCfg::SetOptions ( const ScPrintOptions rNew)

Definition at line 122 of file printopt.cxx.

References utl::ConfigItem::Commit(), and utl::ConfigItem::SetModified().


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