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

constants group DocumentZoomType

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 the 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 the view ends exactly at the end of the page.
Top of Page