:: com :: sun :: star :: document ::

interface XGraphicStorageHandler

Methods' Summary
loadGraphic load a graphic defined by the URL from the storage  
loadGraphicFromOutputStream load a graphic from the output stream  
saveGraphic save the graphic to the storage and return the URL reference to its location inside the storage  
saveGraphicByName 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  
createInputStream create an input stream from the input graphic  
Methods' Details
loadGraphic
::com::sun::star::graphic::XGraphic
loadGraphic( [in] string  aURL );

Description
load a graphic defined by the URL from the storage
loadGraphicFromOutputStream
::com::sun::star::graphic::XGraphic
loadGraphicFromOutputStream( [in] ::com::sun::star::io::XOutputStream  xOutputStream );

Description
load a graphic from the output stream
saveGraphic
string
saveGraphic( [in] ::com::sun::star::graphic::XGraphic  xGraphic );

Description
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 );

Description
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
createInputStream
::com::sun::star::io::XInputStream
createInputStream( [in] ::com::sun::star::graphic::XGraphic  xGraphic );

Description
create an input stream from the input graphic
Top of Page