Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: view ::

constants group DocumentZoomType
Description
These constants specify how the document content is zoomed into the document view.

Constants
OPTIMAL The page content width (excluding margins) at the current selection is fit into the view.  
PAGE_WIDTH The page width at the current selection is fit into the view.  
ENTIRE_PAGE A complete page of the document is fit into the view.  
BY_VALUE The zoom is relative and is to be set via the property ViewSettings::ZoomValue.  
PAGE_WIDTH_EXACT The page width at the current selection is fit into the view, with zhe view ends exactly at the end of the page.  
Constants' Details
OPTIMAL
const short OPTIMAL = 0;
Description
The page content width (excluding margins) at the current selection is fit into the view.
PAGE_WIDTH
const short PAGE_WIDTH = 1;
Description
The page width at the current selection is fit into the view.
ENTIRE_PAGE
const short ENTIRE_PAGE = 2;
Description
A complete page of the document is fit into the view.
BY_VALUE
const short BY_VALUE = 3;
Description
The zoom is relative and is to be set via the property ViewSettings::ZoomValue.
PAGE_WIDTH_EXACT
const short PAGE_WIDTH_EXACT = 4;
Description
The page width at the current selection is fit into the view, with zhe view ends exactly at the end of the page.
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.