LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XView Interface Referencepublished

makes it possible to attach an output device to the object. More...

import"XView.idl";

Inheritance diagram for XView:
XInterface UnoControl AnimatedImagesControl UnoControlGrid UnoControlTabPageContainer UnoControlButton UnoControlCheckBox UnoControlContainer UnoControlEdit UnoControlFixedHyperlink UnoControlFixedLine UnoControlFixedText UnoControlGroupBox UnoControlImageControl UnoControlListBox UnoControlProgressBar UnoControlRadioButton UnoControlRoadmap UnoControlScrollBar UnoControlSpinButton GridControl NavigationToolBar FrameControl ColumnDescriptorControl

Public Member Functions

boolean setGraphics ([in] com::sun::star::awt::XGraphics aDevice)
 sets the output device. More...
 
com::sun::star::awt::XGraphics getGraphics ()
 returns the output device which was set using the method XView::setGraphics(). More...
 
com::sun::star::awt::Size getSize ()
 returns the size of the object in device units. More...
 
void draw ([in] long nX, [in] long nY)
 draws the object at the specified position. More...
 
void setZoom ([in] float fZoomX, [in] float fZoomY)
 sets the zoom factor. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

makes it possible to attach an output device to the object.

This kind of object is called view-object.

Member Function Documentation

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.

returns the output device which was set using the method XView::setGraphics().

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.


The documentation for this interface was generated from the following file: