:: com :: sun :: star :: view ::

interface XPrintable
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XPrintable
Description
offers printing functionality.
Developers Guide
9.2.3 Drawing Documents and Presentation Documents - Handling Drawing Document Files - Printing Drawing Documents - Printer and Print Job Settings
6.1.5 Office Development - OpenOffice.org Application Environment - Handling Documents - Printing Documents
8.2.3 Spreadsheet Documents - Handling Spreadsheet Document Files - Printing Spreadsheet Documents - Printer and Print Job Settings
7.2.3 Text Documents - Handling Text Document Files - Printing Text Documents - Printer and Print Job Settings

Methods' Summary
getPrinter
setPrinter assigns a new printer to the object.
print prints the object.
Methods' Details
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
setPrinter
void
setPrinter(
 
[in] sequence< ::com::sun::star::beans::PropertyValue

raises(

 
aPrinter ) 
::com::sun::star::lang::IllegalArgumentException );

Description
assigns a new printer to the object.

Setting a new printer will cause reformatting.

See also
PrinterDescriptor
print
void
print(
 
[in] sequence< ::com::sun::star::beans::PropertyValue

raises(

 
xOptions ) 
::com::sun::star::lang::IllegalArgumentException );

Description
prints the object.
Parameter xOptions
specifies the number of copies and some other values which do not affect formatting.
See also
PrintOptions
Top of Page