Difference between revisions of "Documentation/DevGuide/Drawings/Setting the Current Page"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m (1 revision(s)) |
OOoWikiBot (talk | contribs) m (Robot: Changing Category:Drawing Documents and Presentation Documents) |
||
Line 35: | Line 35: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: Drawing Documents and Presentation Documents]] | + | |
+ | [[Category:Documentation/Developer's Guide/Drawing Documents and Presentation Documents]] |
Revision as of 11:32, 5 June 2008
The controller is a com.sun.star.drawing.DrawingDocumentDrawView that supports the following interfaces:
- com.sun.star.drawing.XDrawView
- com.sun.star.beans.XPropertySet
- com.sun.star.frame.XController
- com.sun.star.view.XSelectionSupplier
The following methods of com.sun.star.view.XSelectionSupplier control the current selection in the GUI:
boolean select( [in] any anObject) any getSelection() void addSelectionChangeListener ( [in] com::sun::star::view::XSelectionChangeListener aListen void removeSelectionChangeListener ( [in] com::sun::star::view::XSelectionChangeListener aListener)
With these methods of com.sun.star.drawing.XDrawView, the visible page is set in the GUI:
void setCurrentPage(com::sun::star::drawing::XDrawPage aPage) com::sun::star::drawing::XDrawPage getCurrentPage()
In addition to DrawingDocumentDrawView
, it supports the following interfaces. For details about these interfaces, refer to Office Development.
- com.sun.star.task.XStatusIndicatorSupplier
- com.sun.star.ui.XContextMenuInterception
- com.sun.star.frame.XDispatchProvider
Content on this page is licensed under the Public Documentation License (PDL). |