25#include <com/sun/star/uno/Reference.h>
26#include <rtl/ustring.hxx>
29 namespace uno {
class XComponentContext; }
30 namespace rdf {
class XMetadatable; }
31 namespace rdf {
class XRepositorySupplier; }
39struct ParsedRDFaAttributes;
58 std::shared_ptr<ParsedRDFaAttributes>
ParseRDFa(
59 OUString
const & i_rAbout,
60 OUString
const & i_rProperty,
61 OUString
const & i_rContent,
62 OUString
const & i_rDatatype);
66 css::uno::Reference< css::rdf::XMetadatable>
const & i_xObject,
67 std::shared_ptr<ParsedRDFaAttributes>
const & i_pRDFaAttributes);
71 css::uno::Reference< css::rdf::XMetadatable>
const & i_xObject,
72 OUString
const & i_rAbout,
73 OUString
const & i_rProperty,
74 OUString
const & i_rContent,
75 OUString
const & i_rDatatype);
81 void InsertRDFa( css::uno::Reference< css::rdf::XRepositorySupplier >
const & i_xModel);
void InsertRDFa(css::uno::Reference< css::rdf::XRepositorySupplier > const &i_xModel)
Insert all added statements into the RDF repository.
::std::vector< RDFaEntry > m_RDFaEntries
const SvXMLImport & m_rImport
RDFaImportHelper(const SvXMLImport &i_rImport)
void AddRDFa(css::uno::Reference< css::rdf::XMetadatable > const &i_xObject, std::shared_ptr< ParsedRDFaAttributes > const &i_pRDFaAttributes)
Add a RDFa statement; must have been parsed with ParseRDFa.
const SvXMLImport & GetImport() const
std::shared_ptr< ParsedRDFaAttributes > ParseRDFa(OUString const &i_rAbout, OUString const &i_rProperty, OUString const &i_rContent, OUString const &i_rDatatype)
Parse RDFa attributes.
void ParseAndAddRDFa(css::uno::Reference< css::rdf::XMetadatable > const &i_xObject, OUString const &i_rAbout, OUString const &i_rProperty, OUString const &i_rContent, OUString const &i_rDatatype)
Parse and add a RDFa statement; parameters are XML attribute values.