Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XPagePrintable
Description
Print several pages on one printer page.
Developers Guide
Text - 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 >  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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.