Difference between revisions of "Documentation/DevGuide/Drawings/Zooming"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Drawing Documents and Presentation Documents)
Line 27: Line 27:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Drawing Documents and Presentation Documents]]
+
 
 +
[[Category:Documentation/Developer's Guide/Drawing Documents and Presentation Documents]]

Revision as of 11:34, 5 June 2008



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