LibreOffice Module xmloff (master) 1
|
#include <RDFaImportHelper.hxx>
Public Member Functions | |
RDFaImportHelper (const SvXMLImport &i_rImport) | |
~RDFaImportHelper () | |
std::shared_ptr< ParsedRDFaAttributes > | ParseRDFa (OUString const &i_rAbout, OUString const &i_rProperty, OUString const &i_rContent, OUString const &i_rDatatype) |
Parse RDFa attributes. More... | |
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. More... | |
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. More... | |
void | InsertRDFa (css::uno::Reference< css::rdf::XRepositorySupplier > const &i_xModel) |
Insert all added statements into the RDF repository. More... | |
Private Member Functions | |
const SvXMLImport & | GetImport () const |
Private Attributes | |
const SvXMLImport & | m_rImport |
::std::vector< RDFaEntry > | m_RDFaEntries |
Definition at line 41 of file RDFaImportHelper.hxx.
xmloff::RDFaImportHelper::RDFaImportHelper | ( | const SvXMLImport & | i_rImport | ) |
Definition at line 361 of file RDFaImportHelper.cxx.
xmloff::RDFaImportHelper::~RDFaImportHelper | ( | ) |
Definition at line 366 of file RDFaImportHelper.cxx.
void xmloff::RDFaImportHelper::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.
Definition at line 401 of file RDFaImportHelper.cxx.
References m_RDFaEntries, and SAL_WARN.
Referenced by ParseAndAddRDFa().
|
inlineprivate |
Definition at line 49 of file RDFaImportHelper.hxx.
References m_rImport.
Referenced by InsertRDFa(), and ParseRDFa().
void xmloff::RDFaImportHelper::InsertRDFa | ( | css::uno::Reference< css::rdf::XRepositorySupplier > const & | i_xModel | ) |
Insert all added statements into the RDF repository.
This is done after the input file has been read, to prevent collision between generated ids and ids in the file.
Definition at line 434 of file RDFaImportHelper.cxx.
References GetImport(), m_RDFaEntries, and SAL_WARN_IF.
void xmloff::RDFaImportHelper::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.
Definition at line 419 of file RDFaImportHelper.cxx.
References AddRDFa(), and ParseRDFa().
std::shared_ptr< ParsedRDFaAttributes > xmloff::RDFaImportHelper::ParseRDFa | ( | OUString const & | i_rAbout, |
OUString const & | i_rProperty, | ||
OUString const & | i_rContent, | ||
OUString const & | i_rDatatype | ||
) |
Parse RDFa attributes.
Definition at line 371 of file RDFaImportHelper.cxx.
References GetImport(), and SAL_INFO.
Referenced by ParseAndAddRDFa().
|
private |
Definition at line 47 of file RDFaImportHelper.hxx.
Referenced by AddRDFa(), and InsertRDFa().
|
private |
Definition at line 45 of file RDFaImportHelper.hxx.
Referenced by GetImport().