makes it possible to attach an output device to the object. More...
import "XView.idl";
Public Member Functions | |
| boolean | setGraphics ([in] com::sun::star::awt::XGraphics aDevice) |
| sets the output device. | |
| com::sun::star::awt::XGraphics | getGraphics () |
| returns the output device which was set using the method XView::setGraphics(). | |
| com::sun::star::awt::Size | getSize () |
| returns the size of the object in device units. | |
| void | draw ([in] long nX, [in] long nY) |
| draws the object at the specified position. | |
| void | setZoom ([in] float fZoomX, [in] float fZoomY) |
| sets the zoom factor. | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
makes it possible to attach an output device to the object.
This kind of object is called view-object.
| void draw | ( | [in] long | nX, |
| [in] long | nY ) |
draws the object at the specified position.
If the output should be clipped, the caller has to set the clipping region.
| com::sun::star::awt::XGraphics getGraphics | ( | ) |
returns the output device which was set using the method XView::setGraphics().
| com::sun::star::awt::Size getSize | ( | ) |
returns the size of the object in device units.
A device must be set before.
| boolean setGraphics | ( | [in] com::sun::star::awt::XGraphics | aDevice | ) |
sets the output device.
| void setZoom | ( | [in] float | fZoomX, |
| [in] float | fZoomY ) |
sets the zoom factor.
The zoom factor only affects the content of the view, not the size.