(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.