summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/xmltbli.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-08-22 17:53:33 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-08-22 17:53:51 +0200
commit54ad8ad0f0ce22299d28b4ec09eea26ad2691642 (patch)
tree7187c106ba7c775986e1a473c87bfa723b2b0d33 /writerperfect/source/writer/exp/xmltbli.hxx
parent15253417276d3239a57b37dfa608f5b8eab9912a (diff)
EPUB export: initial table support
Focusing on just not loosing plain text content, no actual formatting yet. Change-Id: Ic242f849730e1eb174f621f2235fa04563024e4e
Diffstat (limited to 'writerperfect/source/writer/exp/xmltbli.hxx')
-rw-r--r--writerperfect/source/writer/exp/xmltbli.hxx37
1 files changed, 37 insertions, 0 deletions
diff --git a/writerperfect/source/writer/exp/xmltbli.hxx b/writerperfect/source/writer/exp/xmltbli.hxx
new file mode 100644
index 000000000000..ceeb098c1f9c
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmltbli.hxx
@@ -0,0 +1,37 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX
+#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect
+{
+namespace exp
+{
+
+/// Handler for <table:table>.
+class XMLTableContext : public XMLImportContext
+{
+public:
+ XMLTableContext(XMLImport &rImport);
+
+ 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;
+};
+
+} // namespace exp
+} // namespace writerperfect
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */