Difference between revisions of "Documentation/DevGuide/Drawings/Setting the Current Page"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Drawing Documents and Presentation Documents)
m (FINAL VERSION FOR L10N)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Drawings/Zooming
 
|NextPage=Documentation/DevGuide/Drawings/Zooming
 
}}
 
}}
{{DISPLAYTITLE:Setting the Current Page, Using the Selection}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Drawings/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Setting the Current Page, Using the Selection}}
 
<!--<idltopic>com.sun.star.drawing.DrawingDocumentDrawView;com.sun.star.view.XSelectionSupplier</idltopic>-->
 
<!--<idltopic>com.sun.star.drawing.DrawingDocumentDrawView;com.sun.star.view.XSelectionSupplier</idltopic>-->
 
The controller is a <idl>com.sun.star.drawing.DrawingDocumentDrawView</idl> that supports the following interfaces:  
 
The controller is a <idl>com.sun.star.drawing.DrawingDocumentDrawView</idl> that supports the following interfaces:  

Revision as of 12:17, 15 May 2009



The controller is a com.sun.star.drawing.DrawingDocumentDrawView that supports the following interfaces:

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.

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