Setting the Current Page, Using the Selection

From Apache OpenOffice Wiki
Jump to: navigation, search

The controller is a that supports the following interfaces:

The following methods of 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, 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.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages