24class XMLTextNoteCitationContext :
public XMLImportContext
27 XMLTextNoteCitationContext(XMLImport& rImport, librevenge::RVNGPropertyList& rProperties);
29 void SAL_CALL characters(
const OUString& rCharacters)
override;
30 void SAL_CALL endElement(
const OUString& rName)
override;
38XMLTextNoteCitationContext::XMLTextNoteCitationContext(XMLImport& rImport,
39 librevenge::RVNGPropertyList& rProperties)
40 : XMLImportContext(rImport)
45void XMLTextNoteCitationContext::endElement(
const OUString& )
50void XMLTextNoteCitationContext::characters(
const OUString& rCharacters)
62 const librevenge::RVNGPropertyList& rProperties);
65 CreateChildContext(
const OUString& rName,
66 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
override;
69 startElement(
const OUString& rName,
70 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
override;
71 void SAL_CALL endElement(
const OUString& rName)
override;
79 XMLImport& rImport,
const librevenge::RVNGPropertyList& rProperties)
80 : XMLImportContext(rImport)
86 const OUString& rName,
const css::uno::Reference<css::xml::sax::XAttributeList>& )
91void XMLFootnoteBodyImportContext::startElement(
93 const css::uno::Reference<css::xml::sax::XAttributeList>& )
98void XMLFootnoteBodyImportContext::endElement(
const OUString& )
100 GetImport().GetGenerator().closeFootnote();
109 const OUString& rName,
const css::uno::Reference<css::xml::sax::XAttributeList>& )
111 if (rName ==
"text:note-citation")
113 if (rName ==
"text:note-body")
115 SAL_WARN(
"writerperfect",
"XMLFootnoteImportContext::CreateChildContext: unhandled " << rName);
121 const css::uno::Reference<css::xml::sax::XAttributeList>& )
SvXMLImport & GetImport()
XMLFootnoteBodyImportContext(SvXMLImport &rImport)
Base class for a handler of a single XML element during ODF -> librevenge conversion.
ODT export feeds this class to make librevenge calls.
#define SAL_WARN(area, stream)
rtl::Reference< XMLImportContext > CreateTextChildContext(XMLImport &rImport, std::u16string_view rName, bool bTopLevel)
Context factory for body text, section, table cell, etc.