LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XPrintable Interface Referencepublished

offers printing functionality. More...

import "XPrintable.idl";

Inheritance diagram for XPrintable:
XInterface OfficeDocument GenericDrawingDocument OfficeDatabaseDocument SpreadsheetDocument GenericTextDocument DrawingDocument PresentationDocument GlobalDocument TextDocument WebDocument

Public Member Functions

sequence< com::sun::star::beans::PropertyValuegetPrinter ()
void setPrinter ([in] sequence< com::sun::star::beans::PropertyValue > aPrinter) raises ( com::sun::star::lang::IllegalArgumentException )
 assigns a new printer to the object.
void print ([in] sequence< com::sun::star::beans::PropertyValue > xOptions) raises ( com::sun::star::lang::IllegalArgumentException )
 prints the object.
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.

Detailed Description

Member Function Documentation

◆ getPrinter()

sequence< com::sun::star::beans::PropertyValue > getPrinter ( )
Returns
a descriptor of the current printer.

The attributes of the current printer are used for formatting.

See also
PrinterDescriptor

◆ print()

prints the object.

Parameters
xOptionsspecifies the number of copies and some other values which do not affect formatting.
See also
PrintOptions

◆ setPrinter()

void setPrinter ( [in] sequence< com::sun::star::beans::PropertyValue > aPrinter)
raises (com::sun::star::lang::IllegalArgumentException )

assigns a new printer to the object.

Setting a new printer will cause reformatting.

See also
PrinterDescriptor

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