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

#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::SwPrintUIOptions ( sal_uInt16  nCurrentPage,
bool  bWeb,
bool  bSwSrcView,
bool  bHasSelection,
bool  bHasPostIts,
const SwPrintData rDefaultPrintData 
)

◆ ~SwPrintUIOptions()

SwPrintUIOptions::~SwPrintUIOptions ( )
virtual

Definition at line 367 of file printdata.cxx.

Member Function Documentation

◆ GetPrintPostItsType()

SwPostItMode SwPrintUIOptions::GetPrintPostItsType ( ) const
inline

◆ IsPaperFromSetup()

bool SwPrintUIOptions::IsPaperFromSetup ( ) const
inline

◆ IsPrintDrawings()

bool SwPrintUIOptions::IsPrintDrawings ( ) const

◆ IsPrintEmptyPages()

bool SwPrintUIOptions::IsPrintEmptyPages ( bool  bIsPDFExport) const

◆ IsPrintFormControls()

bool SwPrintUIOptions::IsPrintFormControls ( ) const
inline

◆ IsPrintGraphics()

bool SwPrintUIOptions::IsPrintGraphics ( ) const

◆ IsPrintHiddenText()

bool SwPrintUIOptions::IsPrintHiddenText ( ) const
inline

◆ IsPrintLeftPages()

bool SwPrintUIOptions::IsPrintLeftPages ( ) const

◆ IsPrintPageBackground()

bool SwPrintUIOptions::IsPrintPageBackground ( ) const
inline

◆ IsPrintProspect()

bool SwPrintUIOptions::IsPrintProspect ( ) const
inline

◆ IsPrintProspectRTL()

bool SwPrintUIOptions::IsPrintProspectRTL ( ) const
inline

◆ IsPrintRightPages()

bool SwPrintUIOptions::IsPrintRightPages ( ) const

◆ IsPrintTextPlaceholders()

bool SwPrintUIOptions::IsPrintTextPlaceholders ( ) const
inline

◆ IsPrintWithBlackTextColor()

bool SwPrintUIOptions::IsPrintWithBlackTextColor ( ) const
inline

◆ processPropertiesAndCheckFormat()

bool SwPrintUIOptions::processPropertiesAndCheckFormat ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rNewProp)

Member Data Documentation

◆ m_pLast

VclPtr< OutputDevice > SwPrintUIOptions::m_pLast
private

Definition at line 174 of file printdata.hxx.

Referenced by processPropertiesAndCheckFormat().

◆ m_rDefaultPrintData

const SwPrintData& SwPrintUIOptions::m_rDefaultPrintData
private

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