LibreOffice
LibreOffice 24.2 SDK API Reference
|
represents an extended property set for printer properties. More...
import"XPrinterPropertySet.idl";
Public Member Functions | |
void | setHorizontal ([in] boolean bHorizontal) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
sets the orientation. More... | |
sequence< string > | getFormDescriptions () |
returns descriptions of all available printer forms. More... | |
void | selectForm ([in] string aFormDescription) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
sets the form that should be used. More... | |
sequence< byte > | getBinarySetup () |
returns a binary encoded version of the printer setup. More... | |
void | setBinarySetup ([in] sequence< byte > data) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
sets the data specific to the printer driver. More... | |
Public Member Functions inherited from XPropertySet | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
represents an extended property set for printer properties.
All properties are vetoable properties. If you change the properties between com::sun::star::awt::XPrinter::startPage() and com::sun::star::awt::XPrinter::endPage(), a com::sun::star::beans::PropertyVetoException is thrown.
sequence<byte> getBinarySetup | ( | ) |
returns a binary encoded version of the printer setup.
sequence<string> getFormDescriptions | ( | ) |
returns descriptions of all available printer forms.
void selectForm | ( | [in] string | aFormDescription | ) | |
raises | ( | com::sun::star::beans::PropertyVetoException, | |||
com::sun::star::lang::IllegalArgumentException | |||||
) |
sets the form that should be used.
Indirectly a printer is selected.
void setBinarySetup | ( | [in] sequence< byte > | data | ) | |
raises | ( | com::sun::star::beans::PropertyVetoException, | |||
com::sun::star::lang::IllegalArgumentException | |||||
) |
sets the data specific to the printer driver.
Get this data from the info printer and set the data to the printer.
void setHorizontal | ( | [in] boolean | bHorizontal | ) | |
raises | ( | com::sun::star::beans::PropertyVetoException, | |||
com::sun::star::lang::IllegalArgumentException | |||||
) |
sets the orientation.