:: com :: sun :: star :: report ::

interface XImageControl
Base Interfaces
XImageControlXReportControlModel
┃ ┣ XReportComponent
┃ ┃ ┣ ::com::sun::star::util::XCloneable
┃ ┃ ┣ ::com::sun::star::container::XChild
┃ ┃ ┣ ::com::sun::star::lang::XComponent
┃ ┃ ┣ ::com::sun::star::drawing::XShape
┃ ┃ ┃ ┗ ::com::sun::star::drawing::XShapeDescriptor
┃ ┃ ┗ ::com::sun::star::beans::XPropertySet
┃ ┣ XReportControlFormat
┃ ┣ ::com::sun::star::container::XContainer
┃ ┗ ::com::sun::star::container::XIndexContainer
┃    ┗ ::com::sun::star::container::XIndexReplace
┃       ┗ ::com::sun::star::container::XIndexAccess
┃          ┗ ::com::sun::star::container::XElementAccess
┗ ::com::sun::star::form::XImageProducerSupplier

XReportControlModel
::com::sun::star::form::XImageProducerSupplier
Description
supplies the caller with an ::com::sun::star::awt::XImageProducer .

Other components can register as ::com::sun::star::awt::XImageConsumer at this producer. Then they will be notified of any change in the image to be displayed.

Whenever the ::com::sun::star::awt::UnoControlImageControlModel::ImageURL property is changed, the model loads the specified image, and sets it as image source at its ::com::sun::star::awt::XImageProducer . Then, all ::com::sun::star::awt::XImageConsumer s are notified and supplied with the binary data of the image.
Usually, controls acting for an ImageControl model are consumers, and use the data stream to display the image


Attributes' Summary
ImageURL specifies an URL to an image to use for the control.  
ScaleImage specifies if the image is automatically scaled to the size of the control.  
PreserveIRI Specifies that the IRI given in the data field should be preserved, otherwise the content will be inserted in the resulting report document. If the data field contains something different as string then this attribute will be ignored.  
Attributes' Details
ImageURL
[ bound ] string ImageURL;
Description
specifies an URL to an image to use for the control.
ScaleImage
[ bound ] boolean ScaleImage;
Description
specifies if the image is automatically scaled to the size of the control.
PreserveIRI
[ bound ] boolean PreserveIRI;
Description
Specifies that the IRI given in the data field should be preserved, otherwise the content will be inserted in the resulting report document. If the data field contains something different as string then this attribute will be ignored.
Top of Page