LibreOffice Module svtools (master) 1
Typedefs | Functions
svt::GraphicAccess Namespace Reference

Typedefs

typedef ::cppu::WeakImplHelper< io::XStream, io::XSeekable > StreamSupplier_Base
 

Functions

bool isSupportedURL (std::u16string_view rURL)
 
std::unique_ptr< SvStreamgetImageStream (uno::Reference< uno::XComponentContext > const &rxContext, OUString const &rImageResourceURL)
 
uno::Reference< io::XInputStream > getImageXStream (uno::Reference< uno::XComponentContext > const &rxContext, OUString const &rImageResourceURL)
 

Typedef Documentation

◆ StreamSupplier_Base

typedef ::cppu::WeakImplHelper<io::XStream, io::XSeekable> svt::GraphicAccess::StreamSupplier_Base

Definition at line 44 of file imageresourceaccess.cxx.

Function Documentation

◆ getImageStream()

std::unique_ptr< SvStream > svt::GraphicAccess::getImageStream ( uno::Reference< uno::XComponentContext > const &  rxContext,
OUString const &  rImageResourceURL 
)

Definition at line 121 of file imageresourceaccess.cxx.

References comphelper::makePropertyValue(), and TOOLS_WARN_EXCEPTION.

Referenced by getImageXStream().

◆ getImageXStream()

uno::Reference< io::XInputStream > svt::GraphicAccess::getImageXStream ( uno::Reference< uno::XComponentContext > const &  rxContext,
OUString const &  rImageResourceURL 
)

Definition at line 160 of file imageresourceaccess.cxx.

References getImageStream().

◆ isSupportedURL()

bool svt::GraphicAccess::isSupportedURL ( std::u16string_view  rURL)

Definition at line 113 of file imageresourceaccess.cxx.

References o3tl::starts_with(), and u.