LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwPrintOptions Class Referencefinal

#include <prtopt.hxx>

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

Public Member Functions

 SwPrintOptions (bool bWeb)
 
virtual ~SwPrintOptions () override
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void doSetModified () override
 
SwPrintOptionsoperator= (const SwPrintData &rData)
 
- Public Member Functions inherited from SwPrintData
 SwPrintData ()
 
virtual ~SwPrintData ()
 
 SwPrintData (SwPrintData const &)=default
 
 SwPrintData (SwPrintData &&)=default
 
SwPrintDataoperator= (SwPrintData const &)=default
 
SwPrintDataoperator= (SwPrintData &&)=default
 
bool operator== (const SwPrintData &rData) const
 
const SwRenderDataGetRenderData () const
 Note: in the context where this class is used the pointers should always be valid during the lifetime of this object. More...
 
void SetRenderData (const SwRenderData *pData)
 
bool IsPrintGraphic () const
 
bool IsPrintTable () const
 
bool IsPrintDraw () const
 
bool IsPrintControl () const
 
bool IsPrintLeftPage () const
 
bool IsPrintRightPage () const
 
bool IsPrintReverse () const
 
bool IsPaperFromSetup () const
 
bool IsPrintEmptyPages () const
 
bool IsPrintProspect () const
 
bool IsPrintProspectRTL () const
 
bool IsPrintPageBackground () const
 
bool IsPrintBlackFont () const
 
bool IsPrintSingleJobs () const
 
SwPostItMode GetPrintPostIts () const
 
const OUString & GetFaxName () const
 
bool IsPrintHiddenText () const
 
bool IsPrintTextPlaceholder () const
 
void SetPrintGraphic (bool b)
 
void SetPrintTable (bool b)
 
void SetPrintDraw (bool b)
 
void SetPrintControl (bool b)
 
void SetPrintLeftPage (bool b)
 
void SetPrintRightPage (bool b)
 
void SetPrintReverse (bool b)
 
void SetPaperFromSetup (bool b)
 
void SetPrintEmptyPages (bool b)
 
void SetPrintPostIts (SwPostItMode n)
 
void SetPrintProspect (bool b)
 
void SetPrintProspect_RTL (bool b)
 
void SetPrintPageBackground (bool b)
 
void SetPrintBlackFont (bool b)
 
void SetPrintSingleJobs (bool b)
 
void SetFaxName (const OUString &rSet)
 
void SetPrintHiddenText (bool b)
 
void SetPrintTextPlaceholder (bool b)
 
virtual void doSetModified ()
 
- 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

css::uno::Sequence< OUString > GetPropertyNames () const
 
virtual void ImplCommit () override
 

Private Attributes

bool m_bIsWeb
 

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)
 
- Public Attributes inherited from SwPrintData
bool m_bPrintGraphic
 
bool m_bPrintTable
 
bool m_bPrintDraw
 
bool m_bPrintControl
 
bool m_bPrintPageBackground
 
bool m_bPrintBlackFont
 
bool m_bPrintHiddenText
 
bool m_bPrintTextPlaceholder
 
bool m_bPrintLeftPages
 
bool m_bPrintRightPages
 
bool m_bPrintReverse
 
bool m_bPrintProspect
 
bool m_bPrintProspectRTL
 
bool m_bPrintSingleJobs
 
bool m_bPaperFromSetup
 
bool m_bPrintEmptyPages
 Print empty pages. More...
 
SwPostItMode m_nPrintPostIts
 
OUString m_sFaxName
 
- 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 25 of file prtopt.hxx.

Constructor & Destructor Documentation

◆ SwPrintOptions()

SwPrintOptions::SwPrintOptions ( bool  bWeb)

◆ ~SwPrintOptions()

SwPrintOptions::~SwPrintOptions ( )
overridevirtual

Definition at line 122 of file prtopt.cxx.

Member Function Documentation

◆ doSetModified()

virtual void SwPrintOptions::doSetModified ( )
inlineoverridevirtual

Reimplemented from SwPrintData.

Definition at line 39 of file prtopt.hxx.

References utl::ConfigItem::SetModified().

◆ GetPropertyNames()

Sequence< OUString > SwPrintOptions::GetPropertyNames ( ) const
private

Definition at line 30 of file prtopt.cxx.

References aPropNames, i, m_bIsWeb, and nCount.

Referenced by ImplCommit(), and SwPrintOptions().

◆ ImplCommit()

void SwPrintOptions::ImplCommit ( )
overrideprivatevirtual

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 126 of file prtopt.cxx.

◆ operator=()

SwPrintOptions & SwPrintOptions::operator= ( const SwPrintData rData)
inline

Definition at line 41 of file prtopt.hxx.

References SwPrintData::operator=(), and utl::ConfigItem::SetModified().

Member Data Documentation

◆ m_bIsWeb

bool SwPrintOptions::m_bIsWeb
private

Definition at line 28 of file prtopt.hxx.

Referenced by GetPropertyNames().


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