20#ifndef INCLUDED_SFX2_DOCUMENTMETADATAACCESS_HXX
21#define INCLUDED_SFX2_DOCUMENTMETADATAACCESS_HXX
27#include <com/sun/star/rdf/XDocumentMetadataAccess.hpp>
67 css::uno::Reference<css::uno::XComponentContext>
const & i_xContext,
68 css::uno::Reference<css::frame::XModel>
const & i_xModel,
69 OUString
const & i_rPkgURI,
70 std::u16string_view i_rSubDocument = std::u16string_view());
76 public cppu::WeakImplHelper<css::rdf::XDocumentMetadataAccess>
83 OUString
const & i_rBaseURI);
98 virtual css::uno::Reference<
102 virtual css::uno::Reference<
103 css::rdf::XMetadatable > SAL_CALL
105 const css::beans::StringPair & i_rReference)
override;
106 virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL
107 getElementByURI(
const css::uno::Reference< css::rdf::XURI > & i_xURI)
override;
109 const css::uno::Reference< css::rdf::XURI > & i_xType)
override;
110 virtual css::uno::Reference< css::rdf::XURI> SAL_CALL
112 const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes)
override;
113 virtual css::uno::Reference< css::rdf::XURI> SAL_CALL
115 const css::uno::Reference< css::io::XInputStream > & i_xInStream,
116 const OUString & i_rFileName,
117 const css::uno::Reference< css::rdf::XURI > & i_xBaseURI,
118 const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > & i_rTypes)
override;
120 const css::uno::Reference<
121 css::rdf::XURI > & i_xGraphName)
override;
123 const OUString & i_rFileName)
override;
125 const OUString & i_rFileName)
override;
128 const css::uno::Reference<
129 css::embed::XStorage > & i_xStorage,
130 const css::uno::Reference<
131 css::rdf::XURI > & i_xBaseURI,
132 const css::uno::Reference<
133 css::task::XInteractionHandler> & i_xHandler)
override;
135 const css::uno::Reference<
136 css::embed::XStorage > & i_xStorage)
override;
138 const css::uno::Sequence<
139 css::beans::PropertyValue > & i_rMedium)
override;
141 const css::uno::Sequence<
142 css::beans::PropertyValue > & i_rMedium)
override;
145 std::unique_ptr<DocumentMetadataAccess_Impl>
m_pImpl;
Implementation of the interface com.sun.star.rdf.XDocumentMetadataAccess.
uno::Reference< rdf::XURI > createBaseURI(uno::Reference< uno::XComponentContext > const &i_xContext, uno::Reference< frame::XModel > const &i_xModel, OUString const &i_rPkgURI, std::u16string_view i_rSubDocument)