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:
Collaboration diagram for SwPrintOptions:

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)
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 ConfigItem (ConfigItem const &)=default
 ConfigItem (ConfigItem &&)=default
ConfigItemoperator= (ConfigItem const &)=delete
ConfigItemoperator= (ConfigItem &&)=delete
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 (const OUString &rSubTree, 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 ( bool  bWeb)
SwPrintOptions::~SwPrintOptions ( )

Definition at line 122 of file prtopt.cxx.

Member Function Documentation

virtual void SwPrintOptions::doSetModified ( )

Reimplemented from SwPrintData.

Definition at line 39 of file prtopt.hxx.

References utl::ConfigItem::SetModified().

Sequence< OUString > SwPrintOptions::GetPropertyNames ( ) const

Definition at line 30 of file prtopt.cxx.

References aPropNames, i, and nCount.

Referenced by ImplCommit(), and SwPrintOptions().

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

Implements utl::ConfigItem.

Definition at line 126 of file prtopt.cxx.

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

Definition at line 41 of file prtopt.hxx.

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

Member Data Documentation

bool SwPrintOptions::m_bIsWeb

Definition at line 28 of file prtopt.hxx.

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