EBOOKSubDocument.h Source File documentation

EBOOKSubDocument.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef EBOOKSUBDOCUMENT_H_INCLUDED
11#define EBOOKSUBDOCUMENT_H_INCLUDED
12
13#include <librevenge/librevenge.h>
14
15namespace libebook
16{
17
18 class EBOOKSubDocument : public librevenge::RVNGTextInterface
19{
20 // disable copying
21 EBOOKSubDocument(const EBOOKSubDocument &);
22 EBOOKSubDocument &operator=(const EBOOKSubDocument &);
23
24public:
25 explicit EBOOKSubDocument(librevenge::RVNGTextInterface &document);
26 ~EBOOKSubDocument() override;
27
28 void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override;
29
30 void startDocument(const librevenge::RVNGPropertyList &propList) override;
31 void endDocument() override;
32
33 void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override;
34
35 void definePageStyle(const librevenge::RVNGPropertyList &propList) override;
36 void openPageSpan(const librevenge::RVNGPropertyList &propList) override;
37 void closePageSpan() override;
38 void openHeader(const librevenge::RVNGPropertyList &propList) override;
39 void closeHeader() override;
40 void openFooter(const librevenge::RVNGPropertyList &propList) override;
41 void closeFooter() override;
42
43 void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override;
44 void openParagraph(const librevenge::RVNGPropertyList &propList) override;
45 void closeParagraph() override;
46
47 void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override;
48 void openSpan(const librevenge::RVNGPropertyList &propList) override;
49 void closeSpan() override;
50
51 void openLink(const librevenge::RVNGPropertyList &propList) override;
52 void closeLink() override;
53
54 void defineSectionStyle(const librevenge::RVNGPropertyList &propList) override;
55 void openSection(const librevenge::RVNGPropertyList &propList) override;
56 void closeSection() override;
57
58 void insertTab() override;
59 void insertSpace() override;
60 void insertText(const librevenge::RVNGString &text) override;
61 void insertLineBreak() override;
62 void insertField(const librevenge::RVNGPropertyList &propList) override;
63
64 void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override;
65 void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override;
66 void closeOrderedListLevel() override;
67 void closeUnorderedListLevel() override;
68 void openListElement(const librevenge::RVNGPropertyList &propList) override;
69 void closeListElement() override;
70
71 void openFootnote(const librevenge::RVNGPropertyList &propList) override;
72 void closeFootnote() override;
73 void openEndnote(const librevenge::RVNGPropertyList &propList) override;
74 void closeEndnote() override;
75 void openComment(const librevenge::RVNGPropertyList &propList) override;
76 void closeComment() override;
77 void openTextBox(const librevenge::RVNGPropertyList &propList) override;
78 void closeTextBox() override;
79
80 void openTable(const librevenge::RVNGPropertyList &propList) override;
81 void openTableRow(const librevenge::RVNGPropertyList &propList) override;
82 void closeTableRow() override;
83 void openTableCell(const librevenge::RVNGPropertyList &propList) override;
84 void closeTableCell() override;
85 void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override;
86 void closeTable() override;
87
88 void openFrame(const librevenge::RVNGPropertyList &propList) override;
89 void closeFrame() override;
90
91 void openGroup(const librevenge::RVNGPropertyList &propList) override;
92 void closeGroup() override;
93
94 void defineGraphicStyle(const librevenge::RVNGPropertyList &propList) override;
95 void drawRectangle(const librevenge::RVNGPropertyList &propList) override;
96 void drawEllipse(const librevenge::RVNGPropertyList &propList) override;
97 void drawPolygon(const librevenge::RVNGPropertyList &propList) override;
98 void drawPolyline(const librevenge::RVNGPropertyList &propList) override;
99 void drawPath(const librevenge::RVNGPropertyList &propList) override;
100 void drawConnector(const librevenge::RVNGPropertyList &propList) override;
101
102 void insertBinaryObject(const librevenge::RVNGPropertyList &propList) override;
103 void insertEquation(const librevenge::RVNGPropertyList &propList) override;
104
105private:
106 librevenge::RVNGTextInterface &m_document;
107};
108
109}
110
111#endif // EBOOKSUBDOCUMENT_H_INCLUDED
112
113/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
document
XMLTreeNodePtr_t document
Definition EBOOKHTMLParser.cpp:163
text
qi::rule< Iterator, AttrValue_t, qi::space_type > text
Definition TealDocParser.cpp:232
libebook::EBOOKSubDocument
Definition EBOOKSubDocument.h:19
libebook::EBOOKSubDocument::closeTextBox
void closeTextBox() override
Definition EBOOKSubDocument.cpp:221
libebook::EBOOKSubDocument::insertSpace
void insertSpace() override
Definition EBOOKSubDocument.cpp:136
libebook::EBOOKSubDocument::closeFootnote
void closeFootnote() override
Definition EBOOKSubDocument.cpp:191
libebook::EBOOKSubDocument::insertTab
void insertTab() override
Definition EBOOKSubDocument.cpp:131
libebook::EBOOKSubDocument::drawEllipse
void drawEllipse(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:291
libebook::EBOOKSubDocument::closeSpan
void closeSpan() override
Definition EBOOKSubDocument.cpp:101
libebook::EBOOKSubDocument::closeSection
void closeSection() override
Definition EBOOKSubDocument.cpp:126
libebook::EBOOKSubDocument::openComment
void openComment(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:206
libebook::EBOOKSubDocument::~EBOOKSubDocument
~EBOOKSubDocument() override
Definition EBOOKSubDocument.cpp:20
libebook::EBOOKSubDocument::insertEquation
void insertEquation(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:321
libebook::EBOOKSubDocument::startDocument
void startDocument(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:28
libebook::EBOOKSubDocument::closeGroup
void closeGroup() override
Definition EBOOKSubDocument.cpp:276
libebook::EBOOKSubDocument::openOrderedListLevel
void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:156
libebook::EBOOKSubDocument::closeFrame
void closeFrame() override
Definition EBOOKSubDocument.cpp:266
libebook::EBOOKSubDocument::closeHeader
void closeHeader() override
Definition EBOOKSubDocument.cpp:61
libebook::EBOOKSubDocument::openTableCell
void openTableCell(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:241
libebook::EBOOKSubDocument::closeFooter
void closeFooter() override
Definition EBOOKSubDocument.cpp:71
libebook::EBOOKSubDocument::drawConnector
void drawConnector(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:311
libebook::EBOOKSubDocument::closeListElement
void closeListElement() override
Definition EBOOKSubDocument.cpp:181
libebook::EBOOKSubDocument::insertField
void insertField(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:151
libebook::EBOOKSubDocument::insertText
void insertText(const librevenge::RVNGString &text) override
Definition EBOOKSubDocument.cpp:141
libebook::EBOOKSubDocument::defineCharacterStyle
void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:91
libebook::EBOOKSubDocument::defineSectionStyle
void defineSectionStyle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:116
libebook::EBOOKSubDocument::openTextBox
void openTextBox(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:216
libebook::EBOOKSubDocument::closeParagraph
void closeParagraph() override
Definition EBOOKSubDocument.cpp:86
libebook::EBOOKSubDocument::insertBinaryObject
void insertBinaryObject(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:316
libebook::EBOOKSubDocument::openEndnote
void openEndnote(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:196
libebook::EBOOKSubDocument::closeEndnote
void closeEndnote() override
Definition EBOOKSubDocument.cpp:201
libebook::EBOOKSubDocument::closeUnorderedListLevel
void closeUnorderedListLevel() override
Definition EBOOKSubDocument.cpp:171
libebook::EBOOKSubDocument::openParagraph
void openParagraph(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:81
libebook::EBOOKSubDocument::openSection
void openSection(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:121
libebook::EBOOKSubDocument::openTableRow
void openTableRow(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:231
libebook::EBOOKSubDocument::openListElement
void openListElement(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:176
libebook::EBOOKSubDocument::openTable
void openTable(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:226
libebook::EBOOKSubDocument::endDocument
void endDocument() override
Definition EBOOKSubDocument.cpp:32
libebook::EBOOKSubDocument::setDocumentMetaData
void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:24
libebook::EBOOKSubDocument::closeTable
void closeTable() override
Definition EBOOKSubDocument.cpp:256
libebook::EBOOKSubDocument::insertCoveredTableCell
void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:251
libebook::EBOOKSubDocument::EBOOKSubDocument
EBOOKSubDocument(const EBOOKSubDocument &)
libebook::EBOOKSubDocument::openFooter
void openFooter(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:66
libebook::EBOOKSubDocument::openPageSpan
void openPageSpan(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:46
libebook::EBOOKSubDocument::closeTableCell
void closeTableCell() override
Definition EBOOKSubDocument.cpp:246
libebook::EBOOKSubDocument::operator=
EBOOKSubDocument & operator=(const EBOOKSubDocument &)
libebook::EBOOKSubDocument::closeOrderedListLevel
void closeOrderedListLevel() override
Definition EBOOKSubDocument.cpp:166
libebook::EBOOKSubDocument::closePageSpan
void closePageSpan() override
Definition EBOOKSubDocument.cpp:51
libebook::EBOOKSubDocument::drawPath
void drawPath(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:306
libebook::EBOOKSubDocument::openHeader
void openHeader(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:56
libebook::EBOOKSubDocument::closeLink
void closeLink() override
Definition EBOOKSubDocument.cpp:111
libebook::EBOOKSubDocument::openFootnote
void openFootnote(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:186
libebook::EBOOKSubDocument::openGroup
void openGroup(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:271
libebook::EBOOKSubDocument::m_document
librevenge::RVNGTextInterface & m_document
Definition EBOOKSubDocument.h:106
libebook::EBOOKSubDocument::openUnorderedListLevel
void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:161
libebook::EBOOKSubDocument::insertLineBreak
void insertLineBreak() override
Definition EBOOKSubDocument.cpp:146
libebook::EBOOKSubDocument::defineEmbeddedFont
void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:36
libebook::EBOOKSubDocument::drawPolygon
void drawPolygon(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:296
libebook::EBOOKSubDocument::openSpan
void openSpan(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:96
libebook::EBOOKSubDocument::defineParagraphStyle
void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:76
libebook::EBOOKSubDocument::openFrame
void openFrame(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:261
libebook::EBOOKSubDocument::drawPolyline
void drawPolyline(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:301
libebook::EBOOKSubDocument::drawRectangle
void drawRectangle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:286
libebook::EBOOKSubDocument::closeComment
void closeComment() override
Definition EBOOKSubDocument.cpp:211
libebook::EBOOKSubDocument::closeTableRow
void closeTableRow() override
Definition EBOOKSubDocument.cpp:236
libebook::EBOOKSubDocument::defineGraphicStyle
void defineGraphicStyle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:281
libebook::EBOOKSubDocument::definePageStyle
void definePageStyle(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:41
libebook::EBOOKSubDocument::openLink
void openLink(const librevenge::RVNGPropertyList &propList) override
Definition EBOOKSubDocument.cpp:106
libebook
Definition BBeBCollector.cpp:19