Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: drawing ::

service DrawingDocumentDrawView
Description
This componend integrates a view to a DrawPages or MasterPage from a DrawingDocument.
Developers Guide
OfficeDev - Component - Controllers - Document Specific Controller Services
Drawings - Zooming
Drawings - Other Drawing Specific View Settings
Drawings - Setting the Current Page

Included Services - Summary
::com::sun::star::frame::Controller

this services offers the integration of this component into the desktop.

Exported Interfaces - Summary
::com::sun::star::awt::XWindow

lets you access the window for this view (details)

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

let's you access the view part of the form layer contained in the document's view (details)

XDrawView

lets you set/get the current page displayed by this view.

::com::sun::star::beans::XPropertySet

lets you access the properties of this service.

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

gives you access to the selected entities of this view.

::com::sun::star::lang::XServiceInfo

provides the names of the services implemented by this instance.

Properties' Summary
boolean
IsMasterPageMode
If the view is in masterpage mode, the view shows the masterpages of this model.  
boolean
IsLayerMode
If the view is in layer mode, the user can modify the layer of the model of this view in the user interface.  
XDrawPage
CurrentPage
This is the drawing page that is currently visible.  
[ readonly ] ::com::sun::star::awt::Rectangle
VisibleArea
This is the area that is currently visible.  
short
ZoomType
[ OPTIONAL ]
This property defines the zoom type for the document.  
short
ZoomValue
[ OPTIONAL ]
Defines the zoom value to use. Valid only if the ZoomType is set to BY_VALUE.  
::com::sun::star::awt::Point
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.  
Included Services - Details
::com::sun::star::frame::Controller
Description
this services offers the integration of this component into the desktop.
Exported Interfaces - Details
::com::sun::star::awt::XWindow
Usage Restrictions
optional
Description
lets you access the window for this view
Since
OOo 1.1.2
::com::sun::star::view::XFormLayerAccess
Usage Restrictions
optional
Description
let's you access the view part of the form layer contained in the document's view
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' 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;
Usage Restrictions
optional
Description
This property defines the zoom type for the document.
Since
OOo 1.1.2
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.
ZoomValue
short ZoomValue;
Usage Restrictions
optional
Description
Defines the zoom value to use. Valid only if the ZoomType is set to BY_VALUE.
Since
OOo 1.1.2
ViewOffset
::com::sun::star::awt::Point ViewOffset;
Usage Restrictions
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
OOo 1.1.2

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.