LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XGraphicStorageHandler Interface Reference

interface for loading, saving and serializing of XGraphic objects to a document storage More...

import"XGraphicStorageHandler.idl";

Inheritance diagram for XGraphicStorageHandler:
XInterface GraphicStorageHandler

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...
 

Detailed Description

interface for loading, saving and serializing of XGraphic objects to a document storage

Since
LibreOffice 6.1

Member Function Documentation

◆ createInputStream()

create an input stream from the input graphic

◆ loadGraphic()

com::sun::star::graphic::XGraphic loadGraphic ( [in] string  aURL)

load a graphic defined by the URL from the storage

◆ loadGraphicFromOutputStream()

com::sun::star::graphic::XGraphic loadGraphicFromOutputStream ( [in] com::sun::star::io::XOutputStream  xOutputStream)

load a graphic from the output stream

◆ saveGraphic()

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

◆ saveGraphicByName()

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


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