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

#include <printdata.hxx>

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

Public Member Functions

 SwPrintUIOptions (sal_uInt16 nCurrentPage, bool bWeb, bool bSwSrcView, bool bHasSelection, bool bHasPostIts, const SwPrintData &rDefaultPrintData)
 
virtual ~SwPrintUIOptions ()
 
bool processPropertiesAndCheckFormat (const css::uno::Sequence< css::beans::PropertyValue > &i_rNewProp)
 
bool IsPrintFormControls () const
 
bool IsPrintPageBackground () const
 
bool IsPrintProspect () const
 
bool IsPrintProspectRTL () const
 
bool IsPrintTextPlaceholders () const
 
bool IsPrintHiddenText () const
 
bool IsPrintWithBlackTextColor () const
 
SwPostItMode GetPrintPostItsType () const
 
bool IsPaperFromSetup () const
 
bool IsPrintLeftPages () const
 
bool IsPrintRightPages () const
 
bool IsPrintEmptyPages (bool bIsPDFExport) const
 
bool IsPrintGraphics () const
 
bool IsPrintDrawings () const
 
- Public Member Functions inherited from vcl::PrinterOptionsHelper
 PrinterOptionsHelper ()
 
bool processProperties (const css::uno::Sequence< css::beans::PropertyValue > &i_rNewProp)
 
void appendPrintUIOptions (css::uno::Sequence< css::beans::PropertyValue > &io_rProps) const
 
css::uno::Any getValue (const OUString &i_rPropertyName) const
 
bool getBoolValue (const OUString &i_rPropertyName, bool i_bDefault) const
 
bool getBoolValue (const char *i_pPropName, bool i_bDefault=false) const
 
sal_Int64 getIntValue (const OUString &i_rPropertyName, sal_Int64 i_nDefault) const
 
sal_Int64 getIntValue (const char *i_pPropName, sal_Int64 i_nDefault) const
 
OUString getStringValue (const OUString &i_rPropertyName) const
 
OUString getStringValue (const char *i_pPropName) const
 

Private Attributes

VclPtr< OutputDevicem_pLast
 
const SwPrintDatam_rDefaultPrintData
 

Additional Inherited Members

- Static Public Member Functions inherited from vcl::PrinterOptionsHelper
static css::uno::Any setUIControlOpt (const css::uno::Sequence< OUString > &i_rIDs, const OUString &i_rTitle, const css::uno::Sequence< OUString > &i_rHelpId, const OUString &i_rType, const css::beans::PropertyValue *i_pValue=nullptr, const UIControlOptions &i_rControlOptions=UIControlOptions())
 
static css::uno::Any setGroupControlOpt (const OUString &i_rID, const OUString &i_rTitle, const OUString &i_rHelpId)
 
static css::uno::Any setSubgroupControlOpt (const OUString &i_rID, const OUString &i_rTitle, const OUString &i_rHelpId, const UIControlOptions &i_rControlOptions=UIControlOptions())
 
static css::uno::Any setBoolControlOpt (const OUString &i_rID, const OUString &i_rTitle, const OUString &i_rHelpId, const OUString &i_rProperty, bool i_bValue, const UIControlOptions &i_rControlOptions=UIControlOptions())
 
static css::uno::Any setChoiceListControlOpt (const OUString &i_rID, const OUString &i_rTitle, const css::uno::Sequence< OUString > &i_rHelpId, const OUString &i_rProperty, const css::uno::Sequence< OUString > &i_rChoices, sal_Int32 i_nValue, const css::uno::Sequence< sal_Bool > &i_rDisabledChoices=css::uno::Sequence< sal_Bool >(), const UIControlOptions &i_rControlOptions=UIControlOptions())
 
static css::uno::Any setChoiceRadiosControlOpt (const css::uno::Sequence< OUString > &i_rIDs, const OUString &i_rTitle, const css::uno::Sequence< OUString > &i_rHelpId, const OUString &i_rProperty, const css::uno::Sequence< OUString > &i_rChoices, sal_Int32 i_nValue, const css::uno::Sequence< sal_Bool > &i_rDisabledChoices=css::uno::Sequence< sal_Bool >(), const UIControlOptions &i_rControlOptions=UIControlOptions())
 
static css::uno::Any setRangeControlOpt (const OUString &i_rID, const OUString &i_rTitle, const OUString &i_rHelpId, const OUString &i_rProperty, sal_Int32 i_nValue, sal_Int32 i_nMinValue, sal_Int32 i_nMaxValue, const UIControlOptions &i_rControlOptions)
 
static css::uno::Any setEditControlOpt (const OUString &i_rID, const OUString &i_rTitle, const OUString &i_rHelpId, const OUString &i_rProperty, const OUString &i_rValue, const UIControlOptions &i_rControlOptions)
 
- Protected Attributes inherited from vcl::PrinterOptionsHelper
std::unordered_map< OUString, css::uno::Any > m_aPropertyMap
 
std::vector< css::beans::PropertyValue > m_aUIProperties
 

Detailed Description

Definition at line 172 of file printdata.hxx.

Constructor & Destructor Documentation

SwPrintUIOptions::SwPrintUIOptions ( sal_uInt16  nCurrentPage,
bool  bWeb,
bool  bSwSrcView,
bool  bHasSelection,
bool  bHasPostIts,
const SwPrintData rDefaultPrintData 
)
SwPrintUIOptions::~SwPrintUIOptions ( )
virtual

Definition at line 377 of file printdata.cxx.

Member Function Documentation

SwPostItMode SwPrintUIOptions::GetPrintPostItsType ( ) const
inline
bool SwPrintUIOptions::IsPaperFromSetup ( ) const
inline
bool SwPrintUIOptions::IsPrintDrawings ( ) const
bool SwPrintUIOptions::IsPrintEmptyPages ( bool  bIsPDFExport) const
bool SwPrintUIOptions::IsPrintFormControls ( ) const
inline
bool SwPrintUIOptions::IsPrintGraphics ( ) const
bool SwPrintUIOptions::IsPrintHiddenText ( ) const
inline
bool SwPrintUIOptions::IsPrintLeftPages ( ) const
bool SwPrintUIOptions::IsPrintPageBackground ( ) const
inline
bool SwPrintUIOptions::IsPrintProspect ( ) const
inline
bool SwPrintUIOptions::IsPrintProspectRTL ( ) const
inline
bool SwPrintUIOptions::IsPrintRightPages ( ) const
bool SwPrintUIOptions::IsPrintTextPlaceholders ( ) const
inline
bool SwPrintUIOptions::IsPrintWithBlackTextColor ( ) const
inline
bool SwPrintUIOptions::processPropertiesAndCheckFormat ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rNewProp)

Member Data Documentation

VclPtr< OutputDevice > SwPrintUIOptions::m_pLast
private

Definition at line 174 of file printdata.hxx.

Referenced by processPropertiesAndCheckFormat().

const SwPrintData& SwPrintUIOptions::m_rDefaultPrintData
private

Definition at line 175 of file printdata.hxx.


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