Overview | Module | Use | Devguide | Index

Constants | Constants' Details

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

Copyright © 2003 Sun Microsystems, Inc.