interface XPagePrintable in module com::sun::star::text::

(Global Index)

Syntax

interface XPagePrintable : com::sun::star::uno::XInterface ;

Description

Print several pages on one printer page.

Method Summary

getPagePrintSettings

setPagePrintSettings adjusts the settings of the page printing.

printPages prints the pages according to the PrintSettings .

Known Services Which Export this Interface

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

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

Method Details



getPagePrintSettings

Syntax

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

Syntax

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

Description

adjusts the settings of the page printing.

See also

getPagePrintSettings

printPages

Syntax

void printPages (
sequence< com::sun::star::beans::PropertyValue > xOptions )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

prints the pages according to the PrintSettings .

See also

PrintOptions
Top of Page