/* AbiSource * * Copyright (C) 2011 Volodymyr Rudyj * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. */ #ifndef IE_EXP_EPUB_EPUB3WRITER_H #define IE_EXP_EPUB_EPUB3WRITER_H // Abiword includes #include #define EPUB3_CONTENT_PROFILE "http://www.idpf.org/epub/30/profile/content/" class IE_Exp_EPUB_EPUB3Writer : public IE_Exp_HTML_DocumentWriter { public: IE_Exp_EPUB_EPUB3Writer(IE_Exp_HTML_OutputWriter* pOutputWriter); void openAnnotation(); void closeAnnotation(); void openDocument(); void insertDTD(); void insertTOC(const gchar *title, const std::vector &items, const std::vector &itemUriList); void insertEndnotes(const std::vector &endnotes); void insertFootnotes(const std::vector &footnotes); void insertAnnotations(const std::vector &titles, const std::vector &authors, const std::vector &annotations); }; class IE_Exp_EPUB_EPUB3WriterFactory : public IE_Exp_HTML_WriterFactory { public: IE_Exp_HTML_DocumentWriter *constructDocumentWriter( IE_Exp_HTML_OutputWriter* pOutputWriter); }; #endif /* IE_EXP_EPUB_EPUB3WRITER_H */