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

interface XPagePrintable
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XPagePrintable
Description
Print several pages on one printer page.
Developers Guide
7.2.3 Text Documents - Handling Text Document Files - Printing Text Documents - Printing Multiple Pages on one Page

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

raises(

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

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