LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XPrinterPropertySet Interface Referencepublished

represents an extended property set for printer properties. More...

import"XPrinterPropertySet.idl";

Inheritance diagram for XPrinterPropertySet:
XPropertySet XInterface XInfoPrinter XPrinter

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...
 

Detailed Description

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.

See also
XPrinter
XInfoPrinter

Member Function Documentation

◆ getBinarySetup()

sequence<byte> getBinarySetup ( )

returns a binary encoded version of the printer setup.

◆ getFormDescriptions()

sequence<string> getFormDescriptions ( )

returns descriptions of all available printer forms.

◆ selectForm()

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.

◆ setBinarySetup()

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.

◆ setHorizontal()

void setHorizontal ( [in] boolean  bHorizontal)
raises ( com::sun::star::beans::PropertyVetoException,
com::sun::star::lang::IllegalArgumentException
)

sets the orientation.


The documentation for this interface was generated from the following file: