Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: drawing ::
service DrawingDocumentDrawView
Description This componend integrates a view to a DrawPage s or MasterPage from a DrawingDocument . Developers Guide 9.7.1 Drawing Documents and Presentation Documents - Drawing and Presentation Document Controller - Setting the Current Page, Using the Selection 9.7.3 Drawing Documents and Presentation Documents - Drawing and Presentation Document Controller - Other Drawing-Specific View Settings 6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Controllers - Document Specific Controller Services

Included Services
::com::sun::star::frame::Controller | Description this services offers the integration of this component into the desktop.

Exported Interfaces
::com::sun::star::awt::XWindow | [ OPTIONAL ] Description lets you access the window for this view Since version OpenOffice.org 1.1.1
XDrawView | Description lets you set/get the current page displayed by this view.
::com::sun::star::beans::XPropertySet | Description lets you access the properties of this service.
::com::sun::star::view::XSelectionSupplier | Description gives you access to the selected entities of this view.
::com::sun::star::lang::XServiceInfo | Description provides the names of the services implemented by this instance.

Properties' Summary
IsMasterPageMode | If the view is in masterpage mode, the view shows the masterpages of this model.
IsLayerMode | If the view is in layer mode, the user can modify the layer of the model of this view in the user interface.
CurrentPage | This is the drawing page that is currently visible.
VisibleArea | This is the area that is currently visible.
ZoomType | [ OPTIONAL ] This property defines the zoom type for the document.
ZoomValue | [ OPTIONAL ] Defines the zoom value to use. Valid only if the ZoomType is set to BY_VALUE .
ViewOffset | [ OPTIONAL ] defines the offset from the top left position of the displayed page to the top left position of the view area in 100th/mm.

Properties' Details
IsMasterPageMode
boolean IsMasterPageMode; Description If the view is in masterpage mode, the view shows the masterpages of this model.
IsLayerMode
boolean IsLayerMode; Description If the view is in layer mode, the user can modify the layer of the model of this view in the user interface.
CurrentPage
XDrawPage CurrentPage; Description This is the drawing page that is currently visible.
VisibleArea
[ readonly ] ::com::sun::star::awt::Rectangle VisibleArea; Description This is the area that is currently visible.
ZoomType
short ZoomType; [ OPTIONAL ] Description This property defines the zoom type for the document. See also ::com::sun::star::view::DocumentZoomType Note: After setting other types then BY_VALUE , implementations may calculate the required zoom value and set the type to BY_VALUE afterwards. Since version OpenOffice.org 1.1.1
ZoomValue
short ZoomValue; [ OPTIONAL ] Description Defines the zoom value to use. Valid only if the ZoomType is set to BY_VALUE . Since version OpenOffice.org 1.1.1
ViewOffset
::com::sun::star::awt::Point ViewOffset; [ OPTIONAL ] Description defines the offset from the top left position of the displayed page to the top left position of the view area in 100th/mm. Since version OpenOffice.org 1.1.1

Top of Page

Copyright © 2003 Sun Microsystems, Inc.