LibreOffice Module basctl (master) 1
|
#include <basicrenderable.hxx>
Public Member Functions | |
Renderable (BaseWindow *) | |
virtual | ~Renderable () override |
virtual sal_Int32 SAL_CALL | getRendererCount (const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getRenderer (sal_Int32 nRenderer, const css::uno::Any &rSelection, const css::uno::Sequence< css::beans::PropertyValue > &rxOptions) override |
virtual void SAL_CALL | render (sal_Int32 nRenderer, const css::uno::Any &rSelection, const css::uno::Sequence< css::beans::PropertyValue > &rxOptions) override |
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 Member Functions | |
VclPtr< Printer > | getPrinter () const |
bool | isPrintOddPages () const |
bool | isPrintEvenPages () const |
Static Private Member Functions | |
static bool | isOnEvenPage (sal_Int32 nPage) |
Private Attributes | |
VclPtr< BaseWindow > | mpWindow |
osl::Mutex | maMutex |
std::vector< sal_Int32 > | maValidPages |
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 31 of file basicrenderable.hxx.
|
explicit |
Definition at line 36 of file basicrenderable.cxx.
References basctl::IDEResId(), vcl::PrinterOptionsHelper::m_aUIProperties, vcl::PrinterOptionsHelper::UIControlOptions::maGroupHint, maMutex, vcl::PrinterOptionsHelper::UIControlOptions::mbInternalOnly, mpWindow, vcl::PrinterOptionsHelper::setChoiceListControlOpt(), vcl::PrinterOptionsHelper::setChoiceRadiosControlOpt(), vcl::PrinterOptionsHelper::setEditControlOpt(), and vcl::PrinterOptionsHelper::setSubgroupControlOpt().
|
overridevirtual |
Definition at line 79 of file basicrenderable.cxx.
Definition at line 83 of file basicrenderable.cxx.
References Any, VCLXDevice::GetOutputDevice(), vcl::PrinterOptionsHelper::getValue(), and pOut.
Referenced by getRenderer(), getRendererCount(), and render().
|
overridevirtual |
Definition at line 156 of file basicrenderable.cxx.
References Any, vcl::PrinterOptionsHelper::appendPrintUIOptions(), getPrinter(), Size::Height(), vcl::PrinterOptionsHelper::processProperties(), and Size::Width().
|
overridevirtual |
Definition at line 110 of file basicrenderable.cxx.
References vcl::PrinterOptionsHelper::getIntValue(), getPrinter(), vcl::PrinterOptionsHelper::getStringValue(), isOnEvenPage(), isPrintEvenPages(), isPrintOddPages(), maValidPages, mpWindow, nCount, vcl::PrinterOptionsHelper::processProperties(), and StringRangeEnumerator::size().
|
inlinestaticprivate |
Definition at line 42 of file basicrenderable.hxx.
Referenced by getRendererCount().
|
private |
Definition at line 104 of file basicrenderable.cxx.
References vcl::PrinterOptionsHelper::getIntValue().
Referenced by getRendererCount().
|
private |
Definition at line 98 of file basicrenderable.cxx.
References vcl::PrinterOptionsHelper::getIntValue().
Referenced by getRendererCount().
|
overridevirtual |
Definition at line 183 of file basicrenderable.cxx.
References StringRangeEnumerator::begin(), StringRangeEnumerator::end(), vcl::PrinterOptionsHelper::getIntValue(), getPrinter(), vcl::PrinterOptionsHelper::getStringValue(), maValidPages, mpWindow, and vcl::PrinterOptionsHelper::processProperties().
|
private |
Definition at line 36 of file basicrenderable.hxx.
|
private |
Definition at line 37 of file basicrenderable.hxx.
Referenced by getRendererCount(), and render().
|
private |
Definition at line 35 of file basicrenderable.hxx.
Referenced by getRendererCount(), and render().