summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/XMLTextFrameContext.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-08-17 18:03:53 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-08-17 20:30:11 +0200
commit28102e471d3cb6b6976380ca84b1094078ac1af1 (patch)
tree12cefdf9b5c7b726b17643eb29e376ea06d840c1 /writerperfect/source/writer/exp/XMLTextFrameContext.hxx
parentdc9d435f6fcfe413c5891aac8d1fe236ee11ccb6 (diff)
EPUB export: handle inline images
Just the bare minimum, so that the binary file-related member functions of the package interface are triggered, so I can implement them. Change-Id: I996659126667423fded1f89f8097ac726418fa00 Reviewed-on: https://gerrit.libreoffice.org/41261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect/source/writer/exp/XMLTextFrameContext.hxx')
-rw-r--r--writerperfect/source/writer/exp/XMLTextFrameContext.hxx41
1 files changed, 41 insertions, 0 deletions
diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.hxx b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx
new file mode 100644
index 000000000000..2cf14889df05
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx
@@ -0,0 +1,41 @@
+/* -*- 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_XMLTEXTFRAMECONTEXT_HXX
+#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTEXTFRAMECONTEXT_HXX
+
+#include <rtl/ref.hxx>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect
+{
+namespace exp
+{
+
+class XMLBase64ImportContext;
+
+/// Handler for <draw:frame>.
+class XMLTextFrameContext : public XMLImportContext
+{
+public:
+ XMLTextFrameContext(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: */