Zooming

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 12:17, 15 May 2009 by OOoWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Zooming can be set by certain drawing-specific controller properties of the com.sun.star.drawing.DrawingDocumentDrawViewservice:

Properties of com.sun.star.drawing.DrawingDocumentDrawView
VisibleArea [readonly] com.sun.star.awt.Rectangle - This is the area that is currently visible.
ZoomType [optional] short - This property defines the zoom type for the document. The values of com.sun.star.view.DocumentZoomType are used.
ZoomValue [optional] short - Defines the zoom value to use. Valid only if the ZoomType is set to BY_VALUE.
ViewOffset [optional] com.sun.star.awt.Point - Defines the offset from the top left position of the displayed page to the top left position of the view area in 100th/mm.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages