22#include <rtl/ustring.hxx>
26#include <com/sun/star/xml/crypto/XUriBinding.hpp>
29 namespace io {
class XInputStream; }
30 namespace embed {
class XStorage; }
35class UriBindingHelper final :
public cppu::WeakImplHelper< css::xml::crypto::XUriBinding >
38 css::uno::Reference < css::embed::XStorage >
mxStorage;
42 explicit UriBindingHelper(
const css::uno::Reference < css::embed::XStorage >& rxStorage );
44 void SAL_CALL
setUriBinding(
const OUString& uri,
const css::uno::Reference< css::io::XInputStream >& aInputStream )
override;
46 css::uno::Reference< css::io::XInputStream > SAL_CALL
getUriBinding(
const OUString& uri )
override;
48 static css::uno::Reference < css::io::XInputStream >
OpenInputStream(
const css::uno::Reference < css::embed::XStorage >& rxStore,
const OUString& rURI );
css::uno::Reference< css::io::XInputStream > SAL_CALL getUriBinding(const OUString &uri) override
static css::uno::Reference< css::io::XInputStream > OpenInputStream(const css::uno::Reference< css::embed::XStorage > &rxStore, const OUString &rURI)
css::uno::Reference< css::embed::XStorage > mxStorage
void SAL_CALL setUriBinding(const OUString &uri, const css::uno::Reference< css::io::XInputStream > &aInputStream) override