19class XDocumentMetadataAccess;
28class XComponentContext;
44 SmartTagHandler(css::uno::Reference<css::uno::XComponentContext> xComponentContext,
45 const css::uno::Reference<css::text::XTextDocument>& xTextDocument);
51 void setURI(
const OUString& rURI);
55 void handle(
const css::uno::Reference<css::text::XTextRange>& xParagraph);
An SPRM: Section, Paragraph and Run Modifier.
Handler for smart tags, i.e. <w:smartTag> and below.
void lcl_sprm(Sprm &rSprm) override
SmartTagHandler(css::uno::Reference< css::uno::XComponentContext > xComponentContext, const css::uno::Reference< css::text::XTextDocument > &xTextDocument)
void setElement(const OUString &rElement)
std::vector< std::pair< OUString, OUString > > m_aAttributes
~SmartTagHandler() override
void setURI(const OUString &rURI)
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
void lcl_attribute(Id nId, Value &rValue) override
void handle(const css::uno::Reference< css::text::XTextRange > &xParagraph)
Set m_aAttributes as RDF statements on xParagraph.
css::uno::Reference< css::rdf::XDocumentMetadataAccess > m_xDocumentMetadataAccess