LibreOffice Module sw (master) 1
|
#include <printdata.hxx>
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< OutputDevice > | m_pLast |
const SwPrintData & | m_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 |
Definition at line 172 of file printdata.hxx.
SwPrintUIOptions::SwPrintUIOptions | ( | sal_uInt16 | nCurrentPage, |
bool | bWeb, | ||
bool | bSwSrcView, | ||
bool | bHasSelection, | ||
bool | bHasPostIts, | ||
const SwPrintData & | rDefaultPrintData | ||
) |
Definition at line 156 of file printdata.cxx.
References SvtModuleOptions::GetModuleName(), SwPrintData::GetPrintPostIts(), SvtCJKOptions::IsCJKFontEnabled(), SvtCTLOptions::IsCTLFontEnabled(), utl::ConfigManager::IsFuzzing(), SwPrintData::IsPaperFromSetup(), SwPrintData::IsPrintBlackFont(), SwPrintData::IsPrintControl(), SwPrintData::IsPrintDraw(), SwPrintData::IsPrintEmptyPages(), SwPrintData::IsPrintGraphic(), SwPrintData::IsPrintHiddenText(), SwPrintData::IsPrintPageBackground(), SwPrintData::IsPrintProspect(), SwPrintData::IsPrintProspectRTL(), SwPrintData::IsPrintTextPlaceholder(), vcl::PrinterOptionsHelper::m_aUIProperties, vcl::PrinterOptionsHelper::UIControlOptions::maGroupHint, vcl::PrinterOptionsHelper::UIControlOptions::mbEnabled, vcl::PrinterOptionsHelper::UIControlOptions::mbInternalOnly, vcl::PrinterOptionsHelper::setBoolControlOpt(), vcl::PrinterOptionsHelper::setChoiceListControlOpt(), vcl::PrinterOptionsHelper::setChoiceRadiosControlOpt(), vcl::PrinterOptionsHelper::setEditControlOpt(), vcl::PrinterOptionsHelper::setGroupControlOpt(), vcl::PrinterOptionsHelper::setSubgroupControlOpt(), SwResId(), u, and SvtModuleOptions::WRITER.
|
virtual |
Definition at line 367 of file printdata.cxx.
|
inline |
Definition at line 190 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getIntValue(), SwPrintData::m_nPrintPostIts, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 191 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPaperFromSetup, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::IsPrintDrawings | ( | ) | const |
Definition at line 416 of file printdata.cxx.
References vcl::PrinterOptionsHelper::getBoolValue().
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::IsPrintEmptyPages | ( | bool | bIsPDFExport | ) | const |
Definition at line 396 of file printdata.cxx.
References vcl::PrinterOptionsHelper::getBoolValue().
Referenced by SwDoc::CalculatePagesForPrinting(), lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 183 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintControl, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::IsPrintGraphics | ( | ) | const |
Definition at line 406 of file printdata.cxx.
References vcl::PrinterOptionsHelper::getBoolValue().
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 188 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintHiddenText, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::IsPrintLeftPages | ( | ) | const |
Definition at line 371 of file printdata.cxx.
References vcl::PrinterOptionsHelper::getBoolValue(), and vcl::PrinterOptionsHelper::getIntValue().
Referenced by SwDoc::CalculatePagePairsForProspectPrinting(), SwDoc::CalculatePagesForPrinting(), lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 184 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintPageBackground, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 185 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintProspect, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 186 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getIntValue(), SwPrintData::m_bPrintProspectRTL, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::IsPrintRightPages | ( | ) | const |
Definition at line 385 of file printdata.cxx.
References vcl::PrinterOptionsHelper::getBoolValue(), and vcl::PrinterOptionsHelper::getIntValue().
Referenced by SwDoc::CalculatePagePairsForProspectPrinting(), SwDoc::CalculatePagesForPrinting(), lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 187 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintTextPlaceholder, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
|
inline |
Definition at line 189 of file printdata.hxx.
References vcl::PrinterOptionsHelper::getBoolValue(), SwPrintData::m_bPrintBlackFont, and m_rDefaultPrintData.
Referenced by lcl_SavePrintUIOptionsToDocumentPrintData(), and SwRenderData::MakeSwPrtOptions().
bool SwPrintUIOptions::processPropertiesAndCheckFormat | ( | const css::uno::Sequence< css::beans::PropertyValue > & | i_rNewProp | ) |
Definition at line 426 of file printdata.cxx.
References VclPtr< class reference_type >::get(), VCLXDevice::GetOutputDevice(), vcl::PrinterOptionsHelper::getValue(), m_pLast, pOut, and vcl::PrinterOptionsHelper::processProperties().
|
private |
Definition at line 174 of file printdata.hxx.
Referenced by processPropertiesAndCheckFormat().
|
private |
Definition at line 175 of file printdata.hxx.
Referenced by GetPrintPostItsType(), IsPaperFromSetup(), IsPrintFormControls(), IsPrintHiddenText(), IsPrintPageBackground(), IsPrintProspect(), IsPrintProspectRTL(), IsPrintTextPlaceholders(), and IsPrintWithBlackTextColor().