summaryrefslogtreecommitdiff
path: root/writerperfect/source/common/OdtGenerator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/common/OdtGenerator.hxx')
-rw-r--r--writerperfect/source/common/OdtGenerator.hxx105
1 files changed, 0 insertions, 105 deletions
diff --git a/writerperfect/source/common/OdtGenerator.hxx b/writerperfect/source/common/OdtGenerator.hxx
deleted file mode 100644
index 7876e39a47e7..000000000000
--- a/writerperfect/source/common/OdtGenerator.hxx
+++ /dev/null
@@ -1,105 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* OdtGenerator: Collects sections and runs of text from a
- * wordperfect file (and styles to go along with them) and writes them
- * to a target file
- *
- * 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/.
- *
- * For further information visit http://libwpd.sourceforge.net
- */
-
-#ifndef _ODTGENERATOR_H
-#define _ODTGENERATOR_H
-
-#include <libwpd/libwpd.h>
-
-#include "OdfDocumentHandler.hxx"
-
-
-typedef bool (*OdfEmbeddedObject)(const WPXBinaryData &data, OdfDocumentHandler *pHandler, const OdfStreamType streamType);
-typedef bool (*OdfEmbeddedImage)(const WPXBinaryData &input, WPXBinaryData &output);
-
-class OdtGeneratorPrivate;
-
-class OdtGenerator : public WPXDocumentInterface
-{
-public:
- OdtGenerator(OdfDocumentHandler *pHandler, const OdfStreamType streamType);
- ~OdtGenerator();
-
- // WPXDocumentInterface's implementation
- void setDocumentMetaData(const WPXPropertyList &propList);
- void startDocument();
- void endDocument();
-
- void definePageStyle(const WPXPropertyList &);
- void openPageSpan(const WPXPropertyList &propList);
- void closePageSpan();
-
- void defineSectionStyle(const WPXPropertyList &, const WPXPropertyListVector &);
- void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns);
- void closeSection();
-
- void openHeader(const WPXPropertyList &propList);
- void closeHeader();
- void openFooter(const WPXPropertyList &propList);
- void closeFooter();
-
- void defineParagraphStyle(const WPXPropertyList &, const WPXPropertyListVector &);
- void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops);
- void closeParagraph();
-
- void defineCharacterStyle(const WPXPropertyList &);
- void openSpan(const WPXPropertyList &propList);
- void closeSpan();
-
- void insertTab();
- void insertSpace();
- void insertText(const WPXString &text);
- void insertLineBreak();
- void insertField(const WPXString &type, const WPXPropertyList &propList);
-
- void defineOrderedListLevel(const WPXPropertyList &propList);
- void defineUnorderedListLevel(const WPXPropertyList &propList);
- void openOrderedListLevel(const WPXPropertyList &propList);
- void openUnorderedListLevel(const WPXPropertyList &propList);
- void closeOrderedListLevel();
- void closeUnorderedListLevel();
- void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops);
- void closeListElement();
-
- void openFootnote(const WPXPropertyList &propList);
- void closeFootnote();
- void openEndnote(const WPXPropertyList &propList);
- void closeEndnote();
- void openComment(const WPXPropertyList &propList);
- void closeComment();
- void openTextBox(const WPXPropertyList &propList);
- void closeTextBox();
-
- void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns);
- void openTableRow(const WPXPropertyList &propList);
- void closeTableRow();
- void openTableCell(const WPXPropertyList &propList);
- void closeTableCell();
- void insertCoveredTableCell(const WPXPropertyList &propList);
- void closeTable();
-
- void openFrame(const WPXPropertyList &propList);
- void closeFrame();
-
- void insertBinaryObject(const WPXPropertyList &propList, const WPXBinaryData &data);
- void insertEquation(const WPXPropertyList &propList, const WPXString &data);
-
- // Register special converter for certain embedded binary objects
- void registerEmbeddedObjectHandler(const WPXString &mimeType, OdfEmbeddedObject objectHandler);
- void registerEmbeddedImageHandler(const WPXString &mimeType, OdfEmbeddedImage imageHandler);
-
-private:
- OdtGeneratorPrivate *mpImpl;
-};
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */