summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxtablestyleexport.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-30 13:36:46 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-30 17:50:35 +0100
commite0f1ddca3f26df3e84d6fbf1cc373ec287396397 (patch)
tree51774c8c65b0642add7a59ebc1067f706737b85d /sw/source/filter/ww8/docxtablestyleexport.hxx
parent0501d66d7ea4d91a0542b8d16b873461d4e9b13d (diff)
Factor out DocxTableStyleExport from DocxAttributeOutput
Also add a docxhelper, that contains stuff that was local to DocxAttributeOutput till now, but required by DocxTableStyleExport. Change-Id: I24dcc62d11862078202244c214b317e3bc600567
Diffstat (limited to 'sw/source/filter/ww8/docxtablestyleexport.hxx')
-rw-r--r--sw/source/filter/ww8/docxtablestyleexport.hxx32
1 files changed, 32 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxtablestyleexport.hxx b/sw/source/filter/ww8/docxtablestyleexport.hxx
new file mode 100644
index 000000000000..c66372e061d6
--- /dev/null
+++ b/sw/source/filter/ww8/docxtablestyleexport.hxx
@@ -0,0 +1,32 @@
+/* -*- 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 _DOCXTABLESTYLEXPORT_HXX_
+#define _DOCXTABLESTYLEXPORT_HXX_
+
+#include <boost/shared_ptr.hpp>
+#include <sax/fshelper.hxx>
+
+class SwDoc;
+
+/// Handles DOCX export of table styles, based on InteropGrabBag.
+class DocxTableStyleExport
+{
+ class Impl;
+ boost::shared_ptr<Impl> m_pImpl;
+public:
+ void TableStyles();
+ void SetSerializer(sax_fastparser::FSHelperPtr pSerializer);
+ DocxTableStyleExport(SwDoc* pDoc, sax_fastparser::FSHelperPtr pSerializer);
+ ~DocxTableStyleExport();
+};
+
+#endif // _DOCXTABLESTYLEXPORT_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */