LibreOffice
LibreOffice 24.2 SDK API Reference
|
interface for loading, saving and serializing of XGraphic objects to a document storage More...
import"XGraphicStorageHandler.idl";
Public Member Functions | |
com::sun::star::graphic::XGraphic | loadGraphic ([in] string aURL) |
load a graphic defined by the URL from the storage More... | |
com::sun::star::graphic::XGraphic | loadGraphicFromOutputStream ([in] com::sun::star::io::XOutputStream xOutputStream) |
load a graphic from the output stream More... | |
string | saveGraphic ([in] com::sun::star::graphic::XGraphic xGraphic) |
save the graphic to the storage and return the URL reference to its location inside the storage More... | |
string | saveGraphicByName ([in] com::sun::star::graphic::XGraphic xGraphic, [out] string savedMimeType, [in] string aRequestedName) |
save the graphic to the storage with a requested name and return the URL reference to its location inside the storage and the mime type of the format that the graphic was saved to as an output parameter More... | |
com::sun::star::io::XInputStream | createInputStream ([in] com::sun::star::graphic::XGraphic xGraphic) |
create an input stream from the input graphic 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... | |
interface for loading, saving and serializing of XGraphic objects to a document storage
com::sun::star::io::XInputStream createInputStream | ( | [in] com::sun::star::graphic::XGraphic | xGraphic | ) |
create an input stream from the input graphic
com::sun::star::graphic::XGraphic loadGraphic | ( | [in] string | aURL | ) |
load a graphic defined by the URL from the storage
com::sun::star::graphic::XGraphic loadGraphicFromOutputStream | ( | [in] com::sun::star::io::XOutputStream | xOutputStream | ) |
load a graphic from the output stream
string saveGraphic | ( | [in] com::sun::star::graphic::XGraphic | xGraphic | ) |
save the graphic to the storage and return the URL reference to its location inside the storage
string saveGraphicByName | ( | [in] com::sun::star::graphic::XGraphic | xGraphic, |
[out] string | savedMimeType, | ||
[in] string | aRequestedName | ||
) |
save the graphic to the storage with a requested name and return the URL reference to its location inside the storage and the mime type of the format that the graphic was saved to as an output parameter