Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XPrintable

Base Interface
com::sun::star::uno::XInterface

Description
offers printing functionality.


Known Services which Export this Interface

com::sun::star::document::OfficeDocument This abstract service specifies a storable and printable document.

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 > aPrinter )
raises ( 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 > xOptions )
raises ( 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