LibreOffice Module toolkit (master) 1
|
#include <vclxprinter.hxx>
Public Member Functions | |
VCLXPrinterPropertySet (const OUString &rPrinterName) | |
virtual | ~VCLXPrinterPropertySet () override |
Printer * | GetPrinter () const |
css::uno::Reference< css::awt::XDevice > const & | GetDevice () |
DECLARE_XINTERFACE () | |
DECLARE_XTYPEPROVIDER () | |
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
void SAL_CALL | setPropertyValue (const OUString &rPropertyName, const css::uno::Any &aValue) override |
css::uno::Any SAL_CALL | getPropertyValue (const OUString &rPropertyName) override |
void SAL_CALL | addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rxListener) override |
void SAL_CALL | removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rxListener) override |
void SAL_CALL | addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rxListener) override |
void SAL_CALL | removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rxListener) override |
::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
void SAL_CALL | setHorizontal (sal_Bool bHorizontal) override |
css::uno::Sequence< OUString > SAL_CALL | getFormDescriptions () override |
void SAL_CALL | selectForm (const OUString &aFormDescription) override |
css::uno::Sequence< sal_Int8 > SAL_CALL | getBinarySetup () override |
void SAL_CALL | setBinarySetup (const css::uno::Sequence< sal_Int8 > &data) override |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from cppu::OPropertySetHelper | |
OPropertySetHelper (OBroadcastHelper &rBHelper) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
css::uno::Sequence< css::uno::Type > | getTypes () |
void SAL_CALL | disposing () |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
Protected Attributes | |
VclPtr< Printer > | mxPrinter |
css::uno::Reference< css::awt::XDevice > | mxPrnDevice |
sal_Int16 | mnOrientation |
bool | mbHorizontal |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Additional Inherited Members | |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
~OPropertySetHelper () | |
Definition at line 55 of file vclxprinter.hxx.
VCLXPrinterPropertySet::VCLXPrinterPropertySet | ( | const OUString & | rPrinterName | ) |
Definition at line 49 of file vclxprinter.cxx.
|
overridevirtual |
Definition at line 59 of file vclxprinter.cxx.
References mxPrinter, and VclPtr< class reference_type >::reset().
|
inlineoverride |
Definition at line 82 of file vclxprinter.hxx.
Referenced by VCLXPrinter::addPropertyChangeListener(), and VCLXInfoPrinter::addPropertyChangeListener().
|
inlineoverride |
Definition at line 84 of file vclxprinter.hxx.
Referenced by VCLXPrinter::addVetoableChangeListener(), and VCLXInfoPrinter::addVetoableChangeListener().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 93 of file vclxprinter.cxx.
References comphelper::OMutexAndBroadcastHelper::m_aMutex, mbHorizontal, mnOrientation, n, nHandle, PROPERTY_Horizontal, and PROPERTY_Orientation.
VCLXPrinterPropertySet::DECLARE_XINTERFACE | ( | ) |
VCLXPrinterPropertySet::DECLARE_XTYPEPROVIDER | ( | ) |
|
override |
Definition at line 208 of file vclxprinter.cxx.
References BINARYSETUPMARKER, SvMemoryStream::GetData(), GetPrinter(), comphelper::OMutexAndBroadcastHelper::m_aMutex, SvStream::Tell(), WriteJobSetup(), and SvStream::WriteUInt32().
Referenced by VCLXPrinter::getBinarySetup(), and VCLXInfoPrinter::getBinarySetup().
css::uno::Reference< css::awt::XDevice > const & VCLXPrinterPropertySet::GetDevice | ( | ) |
Definition at line 65 of file vclxprinter.cxx.
References GetPrinter(), and mxPrnDevice.
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 153 of file vclxprinter.cxx.
References comphelper::OMutexAndBroadcastHelper::m_aMutex, mbHorizontal, mnOrientation, nHandle, PROPERTY_Horizontal, and PROPERTY_Orientation.
|
override |
Definition at line 182 of file vclxprinter.cxx.
References Printer::GetPaperBinCount(), Printer::GetPaperBinName(), GetPrinter(), comphelper::OMutexAndBroadcastHelper::m_aMutex, and n.
Referenced by VCLXPrinter::getFormDescriptions(), and VCLXInfoPrinter::getFormDescriptions().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 82 of file vclxprinter.cxx.
References PROPERTY_Horizontal, and PROPERTY_Orientation.
Referenced by getPropertySetInfo().
|
inline |
Definition at line 69 of file vclxprinter.hxx.
References VclPtr< class reference_type >::get(), and mxPrinter.
Referenced by getBinarySetup(), GetDevice(), getFormDescriptions(), selectForm(), and setBinarySetup().
|
override |
Definition at line 76 of file vclxprinter.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
Referenced by VCLXPrinter::getPropertySetInfo(), and VCLXInfoPrinter::getPropertySetInfo().
|
inlineoverride |
Definition at line 81 of file vclxprinter.hxx.
Referenced by VCLXPrinter::getPropertyValue(), and VCLXInfoPrinter::getPropertyValue().
|
inlineoverride |
Definition at line 83 of file vclxprinter.hxx.
Referenced by VCLXPrinter::removePropertyChangeListener(), and VCLXInfoPrinter::removePropertyChangeListener().
|
inlineoverride |
Definition at line 85 of file vclxprinter.hxx.
Referenced by VCLXPrinter::removeVetoableChangeListener(), and VCLXInfoPrinter::removeVetoableChangeListener().
|
override |
Definition at line 199 of file vclxprinter.cxx.
References GetPrinter(), o3tl::getToken(), comphelper::OMutexAndBroadcastHelper::m_aMutex, Printer::SetPaperBin(), and o3tl::toInt32().
Referenced by VCLXPrinter::selectForm(), and VCLXInfoPrinter::selectForm().
|
override |
Definition at line 218 of file vclxprinter.cxx.
References BINARYSETUPMARKER, DBG_ASSERT, GetPrinter(), comphelper::OMutexAndBroadcastHelper::m_aMutex, ReadJobSetup(), SvStream::ReadUInt32(), and Printer::SetJobSetup().
Referenced by VCLXPrinter::setBinarySetup(), and VCLXInfoPrinter::setBinarySetup().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 130 of file vclxprinter.cxx.
References comphelper::OMutexAndBroadcastHelper::m_aMutex, mbHorizontal, mnOrientation, nHandle, PROPERTY_Horizontal, and PROPERTY_Orientation.
|
override |
Definition at line 173 of file vclxprinter.cxx.
References comphelper::OMutexAndBroadcastHelper::m_aMutex, PROPERTY_Horizontal, and cppu::OPropertySetHelper::setFastPropertyValue().
Referenced by VCLXPrinter::setHorizontal(), and VCLXInfoPrinter::setHorizontal().
|
inlineoverride |
Definition at line 80 of file vclxprinter.hxx.
Referenced by VCLXPrinter::setPropertyValue(), and VCLXInfoPrinter::setPropertyValue().
|
protected |
Definition at line 64 of file vclxprinter.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 63 of file vclxprinter.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
Definition at line 60 of file vclxprinter.hxx.
Referenced by GetPrinter(), and ~VCLXPrinterPropertySet().
|
protected |
Definition at line 61 of file vclxprinter.hxx.
Referenced by GetDevice().