Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: drawing ::
service DrawingDocumentDrawView
Description This component 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.

Properties' Summary
boolean IsMasterPageMode | If the view is in master page mode, the view shows the master pages 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.

Properties' Details
IsMasterPageMode
boolean IsMasterPageMode; Description If the view is in master page mode, the view shows the master pages 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

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.