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

com :: sun :: star :: text ::

interface XPagePrintable

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

Description
Print several pages on one printer page.


Known Services which Export this Interface

com::sun::star::text::AdvancedTextDocument [ DEPRECATED ]
An advanced text document is an extension of a hypertext document which can also contain text-frames, foot- and endnotes, and some other advanced contents.
com::sun::star::text::TextDocument A text document is a model component which contains text structured by paragraphs.

Methods' Summary

getPagePrintSettings
setPagePrintSettings adjusts the settings of the page printing.
printPages prints the pages according to the PagePrintSettings .

Methods' Details

getPagePrintSettings
 
sequence< com::sun::star::beans::PropertyValue >
getPagePrintSettings();
Returns
the settings of printing of pages.

These settings contains:

  • short PageRows - number of rows of pages printed to one page

  • short PageColumns - number of columns of pages printed to one page

  • long LeftMargin - left margin of the page

  • long RightMargin - right margin of the page

  • long TopMargin - top margin of the page

  • long BottomMargin - bottom margin of the page

  • long HoriMargin - margin between rows of pages

  • long VertMargin - margin between columns of pages

  • boolean IsLandscape - determins if the output page is printed in landscape format

setPagePrintSettings
 
void
setPagePrintSettings(
[ in ] sequence< com::sun::star::beans::PropertyValue > aSettings );

Description
adjusts the settings of the page printing.
See also
getPagePrintSettings
printPages
 
void
printPages(
[ in ] sequence< com::sun::star::beans::PropertyValue > xOptions )
raises ( com::sun::star::lang::IllegalArgumentException );

Description
prints the pages according to the PagePrintSettings .
See also
com::sun::star::view::PrintOptions

Top of Page