diff options
Diffstat (limited to 'writerperfect/source/writer/exp/txtparai.hxx')
-rw-r--r-- | writerperfect/source/writer/exp/txtparai.hxx | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/writerperfect/source/writer/exp/txtparai.hxx b/writerperfect/source/writer/exp/txtparai.hxx index ace8d740397a..b87a5762b7a3 100644 --- a/writerperfect/source/writer/exp/txtparai.hxx +++ b/writerperfect/source/writer/exp/txtparai.hxx @@ -20,18 +20,21 @@ namespace writerperfect { namespace exp { - /// Handler for <text:p>/<text:h>. class XMLParaContext : public XMLImportContext { public: - XMLParaContext(XMLImport &rImport); + XMLParaContext(XMLImport& rImport); - rtl::Reference<XMLImportContext> CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &/*xAttribs*/) override; + rtl::Reference<XMLImportContext> CreateChildContext( + const OUString& rName, + const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/) override; - void SAL_CALL startElement(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs) override; - void SAL_CALL endElement(const OUString &rName) override; - void SAL_CALL characters(const OUString &rChars) override; + void SAL_CALL + startElement(const OUString& rName, + const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override; + void SAL_CALL endElement(const OUString& rName) override; + void SAL_CALL characters(const OUString& rChars) override; private: OUString m_aStyleName; @@ -40,14 +43,16 @@ private: }; /// Shared child context factory for paragraph and span contexts. -rtl::Reference<XMLImportContext> CreateParagraphOrSpanChildContext(XMLImport &rImport, const OUString &rName, const librevenge::RVNGPropertyList &rTextPropertyList); +rtl::Reference<XMLImportContext> +CreateParagraphOrSpanChildContext(XMLImport& rImport, const OUString& rName, + const librevenge::RVNGPropertyList& rTextPropertyList); /// Looks for rName in rAutomaticStyles (and failing that, in rNamedStyles) and /// fills rPropertyList based on that. -void FillStyles(const OUString &rName, - std::map<OUString, librevenge::RVNGPropertyList> &rAutomaticStyles, - std::map<OUString, librevenge::RVNGPropertyList> &rNamedStyles, - librevenge::RVNGPropertyList &rPropertyList); +void FillStyles(const OUString& rName, + std::map<OUString, librevenge::RVNGPropertyList>& rAutomaticStyles, + std::map<OUString, librevenge::RVNGPropertyList>& rNamedStyles, + librevenge::RVNGPropertyList& rPropertyList); } // namespace exp } // namespace writerperfect |