RVNGHTMLTextGenerator.h Source File documentation

RVNGHTMLTextGenerator.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* librevenge
3 * Version: MPL 2.0 / LGPLv2.1+
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 * Major Contributor(s):
10 * Copyright (C) 2002-2005 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
12 *
13 * For minor contributions see the git repository.
14 *
15 * Alternatively, the contents of this file may be used under the terms
16 * of the GNU Lesser General Public License Version 2.1 or later
17 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18 * applicable instead of those above.
19 */
20
21 #ifndef RVNGHTMLTEXTGENERATOR_H
22 #define RVNGHTMLTEXTGENERATOR_H
23
24 #include "librevenge-generators-api.h"
25
26 #include <librevenge/librevenge.h>
27 #include <librevenge-stream/librevenge-stream.h>
28
29 namespace librevenge
30 {
31
32 struct RVNGHTMLTextGeneratorImpl;
33
34 class REVENGE_GENERATORS_API RVNGHTMLTextGenerator : public RVNGTextInterface
35 {
36 public:
37 explicit RVNGHTMLTextGenerator(RVNGString &document);
38 ~RVNGHTMLTextGenerator();
39
40 void setDocumentMetaData(const RVNGPropertyList &propList);
41
42 void startDocument(const RVNGPropertyList &propList);
43 void endDocument();
44
45 void defineEmbeddedFont(const RVNGPropertyList &propList);
46
47 void definePageStyle(const RVNGPropertyList &);
48 void openPageSpan(const RVNGPropertyList &propList);
49 void closePageSpan();
50 void openHeader(const RVNGPropertyList &propList);
51 void closeHeader();
52 void openFooter(const RVNGPropertyList &propList);
53 void closeFooter();
54
55 void defineSectionStyle(const RVNGPropertyList &);
56 void openSection(const RVNGPropertyList &propList);
57 void closeSection();
58
59 void defineParagraphStyle(const RVNGPropertyList &);
60 void openParagraph(const RVNGPropertyList &propList);
61 void closeParagraph();
62
63 void defineCharacterStyle(const RVNGPropertyList &);
64 void openSpan(const RVNGPropertyList &propList);
65 void closeSpan();
66
67 void openLink(const RVNGPropertyList &propList);
68 void closeLink();
69
70 void insertTab();
71 void insertText(const RVNGString &text);
72 void insertSpace();
73 void insertLineBreak();
74 void insertField(const RVNGPropertyList &propList);
75
76 void openOrderedListLevel(const RVNGPropertyList &propList);
77 void openUnorderedListLevel(const RVNGPropertyList &propList);
78 void closeOrderedListLevel();
79 void closeUnorderedListLevel();
80 void openListElement(const RVNGPropertyList &propList);
81 void closeListElement();
82
83 void openFootnote(const RVNGPropertyList &propList);
84 void closeFootnote();
85 void openEndnote(const RVNGPropertyList &propList);
86 void closeEndnote();
87 void openComment(const RVNGPropertyList &propList);
88 void closeComment();
89 void openTextBox(const RVNGPropertyList &propList);
90 void closeTextBox();
91
92 void openTable(const RVNGPropertyList &propList);
93 void openTableRow(const RVNGPropertyList &propList);
94 void closeTableRow();
95 void openTableCell(const RVNGPropertyList &propList);
96 void closeTableCell();
97 void insertCoveredTableCell(const RVNGPropertyList &propList);
98 void closeTable();
99
100 void openFrame(const RVNGPropertyList &propList);
101 void closeFrame();
102
103 void openGroup(const librevenge::RVNGPropertyList &propList);
104 void closeGroup();
105
106 void defineGraphicStyle(const librevenge::RVNGPropertyList &propList);
107 void drawRectangle(const librevenge::RVNGPropertyList &propList);
108 void drawEllipse(const librevenge::RVNGPropertyList &propList);
109 void drawPolygon(const librevenge::RVNGPropertyList &propList);
110 void drawPolyline(const librevenge::RVNGPropertyList &propList);
111 void drawPath(const librevenge::RVNGPropertyList &propList);
112 void drawConnector(const RVNGPropertyList &propList);
113
114 void insertBinaryObject(const RVNGPropertyList &propList);
115 void insertEquation(const RVNGPropertyList &propList);
116
117 private:
118 RVNGHTMLTextGeneratorImpl *m_impl;
119
120 // Unimplemented to prevent compiler from creating crasher ones
121 RVNGHTMLTextGenerator(const RVNGHTMLTextGenerator &);
122 RVNGHTMLTextGenerator &operator=(const RVNGHTMLTextGenerator &);
123 };
124
125 }
126
127 #endif /* RVNGHTMLTEXTGENERATOR_H */
128
129 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGPropertyList::child
const RVNGPropertyListVector * child(const char *name) const
Definition: RVNGPropertyList.cpp:350
librevenge::RVNGHTMLTextSpanStyleManager::getClass
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:303
librevenge::RVNGHTMLTextStream::flush
void flush()
flush delayed label, ...
Definition: RVNGHTMLTextGenerator.cpp:151
librevenge::RVNGHTMLTextTableStyleManager::send
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTableStyle.cpp:121
librevenge::RVNGHTMLTextZone::Z_NumZones
@ Z_NumZones
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextZone::RVNGHTMLTextZone
RVNGHTMLTextZone(RVNGHTMLTextZone const &orig)
librevenge::RVNGHTMLTextListStyleManager::send
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:92
librevenge::RVNGHTMLTextZone::RVNGHTMLTextZone
RVNGHTMLTextZone(Type tp=Z_Unknown)
constructor for basic stream
Definition: RVNGHTMLTextGenerator.cpp:51
librevenge::RVNGHTMLTextZone::m_type
Type m_type
the zone type
Definition: RVNGHTMLTextGenerator.cpp:118
librevenge::RVNGHTMLTextGenerator::openTable
void openTable(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGHTMLTextGenerator.cpp:683
librevenge::RVNGHTMLTextGenerator::insertText
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:556
librevenge::RVNGString::append
void void append(const RVNGString &s)
Definition: RVNGString.cpp:211
librevenge::RVNGHTMLTextZone::type
Type type() const
the type
Definition: RVNGHTMLTextGenerator.cpp:55
librevenge::RVNGHTMLTextListStyleManager::getClass
std::string getClass(RVNGPropertyList const &pList)
returns the classname corresponding to a list element
Definition: RVNGHTMLTextTextStyle.cpp:103
librevenge::RVNGHTMLTextGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition: RVNGHTMLTextGenerator.cpp:612
librevenge::RVNGHTMLTextGeneratorImpl::m_actualPage
int m_actualPage
Definition: RVNGHTMLTextGenerator.cpp:332
librevenge::RVNGHTMLTextGeneratorImpl::output
std::ostream & output(bool sendDelayed=true)
returns the actual output ( sending delayed data if needed)
Definition: RVNGHTMLTextGenerator.cpp:269
librevenge::RVNGHTMLTextGenerator::drawEllipse
void drawEllipse(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:749
librevenge::RVNGHTMLTextGenerator::RVNGHTMLTextGenerator
RVNGHTMLTextGenerator(const RVNGHTMLTextGenerator &)
librevenge-generators-api.h
librevenge::RVNGHTMLTextSpanStyleManager
Small class to manage the span style.
Definition: RVNGHTMLTextTextStyle.h:138
librevenge::RVNGHTMLTextListStyleManager::openLevel
std::string openLevel(RVNGPropertyList const &pList, bool ordered)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:130
librevenge-stream.h
librevenge::RVNGHTMLTextGenerator::closeFrame
void closeFrame()
Called when the current positioned box is closed.
Definition: RVNGHTMLTextGenerator.cpp:742
librevenge::RVNGHTMLTextGenerator::insertEquation
void insertEquation(const RVNGPropertyList &propList)
Called when a mathml object should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:756
RVNG_DEBUG_MSG
#define RVNG_DEBUG_MSG(M)
Definition: librevenge_internal.h:33
librevenge::RVNGHTMLTextGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:549
librevenge::RVNGPropertyList::remove
void remove(const char *name)
Definition: RVNGPropertyList.cpp:333
librevenge::RVNGHTMLTextGeneratorImpl::m_listManager
RVNGHTMLTextListStyleManager m_listManager
Definition: RVNGHTMLTextGenerator.cpp:335
librevenge::RVNGHTMLTextStream::stream
std::ostream & stream()
return the stream
Definition: RVNGHTMLTextGenerator.cpp:160
librevenge::RVNGHTMLTextParagraphStyleManager::send
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:204
librevenge::RVNGHTMLTextGeneratorImpl::m_ignore
bool m_ignore
Definition: RVNGHTMLTextGenerator.cpp:333
librevenge::RVNGHTMLTextGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGHTMLTextGenerator.cpp:482
librevenge::RVNGHTMLTextGenerator::openEndnote
void openEndnote(const RVNGPropertyList &propList)
Called when a endnote should be opened (a sub-document will be placed inside of it)
Definition: RVNGHTMLTextGenerator.cpp:635
librevenge::RVNGHTMLTextGenerator::operator=
RVNGHTMLTextGenerator & operator=(const RVNGHTMLTextGenerator &)
librevenge::RVNGHTMLTextZone::Z_Unknown
@ Z_Unknown
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge.h
librevenge::RVNGHTMLTextZone::setType
void setType(Type tp)
the type
Definition: RVNGHTMLTextGenerator.cpp:60
librevenge::RVNGHTMLTextGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGHTMLTextGenerator.cpp:702
librevenge::RVNGHTMLTextGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &)
Definition: RVNGHTMLTextGenerator.cpp:491
librevenge::RVNGHTMLTextGeneratorImpl::m_document
RVNGString & m_document
Definition: RVNGHTMLTextGenerator.cpp:330
librevenge::RVNGHTMLTextGeneratorImpl::m_paragraphManager
RVNGHTMLTextParagraphStyleManager m_paragraphManager
Definition: RVNGHTMLTextGenerator.cpp:336
librevenge::RVNGHTMLTextZone::Z_MetaData
@ Z_MetaData
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextZone::RVNGHTMLTextStream
friend struct RVNGHTMLTextStream
Definition: RVNGHTMLTextGenerator.cpp:46
librevenge::RVNGHTMLTextZone::deleteStream
void deleteStream(RVNGHTMLTextStream *stream)
delete a stream corresponding to this zone
Definition: RVNGHTMLTextGenerator.cpp:212
librevenge::RVNGHTMLTextGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition: RVNGHTMLTextGenerator.cpp:526
librevenge::RVNGHTMLTextGenerator::insertBinaryObject
void insertBinaryObject(const RVNGPropertyList &propList)
Called when a binary object should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:755
librevenge::RVNGHTMLTextGenerator::openPageSpan
void openPageSpan(const RVNGPropertyList &propList)
Called when a new page span is opened.
Definition: RVNGHTMLTextGenerator.cpp:419
librevenge::RVNGHTMLTextGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGHTMLTextGenerator.cpp:587
librevenge::RVNGHTMLTextGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGHTMLTextGenerator.cpp:723
librevenge::RVNGHTMLTextGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGHTMLTextGenerator.cpp:753
librevenge::RVNGHTMLTextParagraphStyleManager
Small class to manage the paragraph style.
Definition: RVNGHTMLTextTextStyle.h:37
librevenge::RVNGHTMLTextGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition: RVNGHTMLTextGenerator.cpp:496
librevenge::RVNGHTMLTextStream::RVNGHTMLTextStream
RVNGHTMLTextStream(RVNGHTMLTextStream const &orig)
librevenge::RVNGHTMLTextZone::Type
Type
the different zone
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextGenerator::closeHeader
void closeHeader()
Called when a header should be closed.
Definition: RVNGHTMLTextGenerator.cpp:435
librevenge::RVNGHTMLTextStream::m_stream
std::ostringstream m_stream
the stream
Definition: RVNGHTMLTextGenerator.cpp:199
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:39
librevenge::RVNGHTMLTextGeneratorImpl::RVNGHTMLTextGeneratorImpl
RVNGHTMLTextGeneratorImpl(RVNGString &document)
constructor
Definition: RVNGHTMLTextGenerator.cpp:252
librevenge::RVNGHTMLTextGenerator::definePageStyle
void definePageStyle(const RVNGPropertyList &)
Definition: RVNGHTMLTextGenerator.cpp:428
librevenge::RVNGHTMLTextGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGHTMLTextGenerator.cpp:596
librevenge::RVNGHTMLTextGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGHTMLTextGenerator.cpp:415
librevenge::RVNGHTMLTextGeneratorImpl::flushUnsent
void flushUnsent(std::ostream &out)
Definition: RVNGHTMLTextGenerator.cpp:309
librevenge::RVNGHTMLTextGenerator::closeFooter
void closeFooter()
Called when a footer should be closed.
Definition: RVNGHTMLTextGenerator.cpp:446
librevenge::RVNGHTMLTextListStyleManager::closeLevel
void closeLevel()
close a level
Definition: RVNGHTMLTextTextStyle.cpp:155
librevenge::RVNGHTMLTextGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &)
Definition: RVNGHTMLTextGenerator.cpp:455
librevenge::RVNGHTMLTextStream::m_zoneId
int m_zoneId
the zone id
Definition: RVNGHTMLTextGenerator.cpp:197
librevenge::RVNGHTMLTextGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Called at the start of the parsing process.
Definition: RVNGHTMLTextGenerator.cpp:388
librevenge::RVNGHTMLTextZone::getNewStream
RVNGHTMLTextStream * getNewStream()
returns a new stream corresponding to this zone
Definition: RVNGHTMLTextGenerator.cpp:207
librevenge::RVNGHTMLTextGenerator::openGroup
void openGroup(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:744
librevenge::RVNGHTMLTextGeneratorImpl::push
void push(RVNGHTMLTextZone::Type type)
Definition: RVNGHTMLTextGenerator.cpp:280
librevenge::RVNGProperty
Definition: RVNGProperty.h:33
librevenge::RVNGTextInterface
Definition: RVNGTextInterface.h:40
librevenge::RVNGHTMLTextGenerator::drawPolyline
void drawPolyline(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:751
librevenge::RVNGHTMLTextGeneratorImpl::m_tableManager
RVNGHTMLTextTableStyleManager m_tableManager
Definition: RVNGHTMLTextGenerator.cpp:338
librevenge_internal.h
librevenge::RVNGHTMLTextGeneratorImpl::m_currentParaElement
std::string m_currentParaElement
Definition: RVNGHTMLTextGenerator.cpp:340
librevenge::RVNGHTMLTextGenerator::openFrame
void openFrame(const RVNGPropertyList &propList)
Called when a positioned box should be opened.
Definition: RVNGHTMLTextGenerator.cpp:741
librevenge::RVNGHTMLTextStream::m_zone
RVNGHTMLTextZone * m_zone
a zone
Definition: RVNGHTMLTextGenerator.cpp:195
librevenge::RVNGString
UTF-8 string.
Definition: RVNGString.h:34
librevenge::RVNGHTMLTextGenerator::closeEndnote
void closeEndnote()
Called when a endnote should be closed.
Definition: RVNGHTMLTextGenerator.cpp:644
librevenge::RVNGHTMLTextListStyleManager
Small class to manage the list style.
Definition: RVNGHTMLTextTextStyle.h:69
librevenge::RVNGHTMLTextZone::Z_Comment
@ Z_Comment
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextGeneratorImpl::stream
RVNGHTMLTextStream & stream()
returns the actual stream
Definition: RVNGHTMLTextGenerator.cpp:276
librevenge::RVNGHTMLTextGeneratorImpl::RVNGHTMLTextGeneratorImpl
RVNGHTMLTextGeneratorImpl(RVNGHTMLTextGeneratorImpl const &orig)
librevenge::RVNGHTMLTextGenerator::openFooter
void openFooter(const RVNGPropertyList &propList)
Called when a footer should be opened (a sub-document will be placed inside of it).
Definition: RVNGHTMLTextGenerator.cpp:441
librevenge-generators.h
librevenge::RVNGHTMLTextTableStyleManager
Small class to manage the tables style.
Definition: RVNGHTMLTextTableStyle.h:37
librevenge::RVNGHTMLTextGenerator::closeTable
void closeTable()
Called when the current table is closed.
Definition: RVNGHTMLTextGenerator.cpp:732
librevenge::RVNGHTMLTextGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGHTMLTextGenerator.cpp:709
librevenge::RVNGHTMLTextZone::label
std::string label(int id) const
return a label corresponding to the zone
Definition: RVNGHTMLTextGenerator.cpp:217
librevenge::RVNGHTMLTextZone::send
void send(std::ostream &out) const
send the zone data
Definition: RVNGHTMLTextGenerator.cpp:77
librevenge::RVNGHTMLTextGeneratorImpl::operator=
RVNGHTMLTextGeneratorImpl operator=(RVNGHTMLTextGeneratorImpl const &orig)
librevenge::RVNGHTMLTextGenerator::closePageSpan
void closePageSpan()
Called when a page span is closed.
Definition: RVNGHTMLTextGenerator.cpp:424
librevenge::RVNGHTMLTextTableStyleManager::closeTable
void closeTable()
close a table
Definition: RVNGHTMLTextTableStyle.cpp:56
RVNGHTMLTextTableStyle.h
librevenge::RVNGHTMLTextGeneratorImpl::m_spanManager
RVNGHTMLTextSpanStyleManager m_spanManager
Definition: RVNGHTMLTextGenerator.cpp:337
librevenge::RVNGHTMLTextStream::m_delayedLabel
std::string m_delayedLabel
the label
Definition: RVNGHTMLTextGenerator.cpp:201
librevenge::RVNGHTMLTextGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGHTMLTextGenerator.cpp:695
librevenge::RVNGHTMLTextStream::~RVNGHTMLTextStream
~RVNGHTMLTextStream()
destructor
Definition: RVNGHTMLTextGenerator.cpp:137
librevenge::RVNGHTMLTextStream
Definition: RVNGHTMLTextGenerator.cpp:129
librevenge::RVNGString::escapeXML
static RVNGString escapeXML(const RVNGString &s)
Create a new string from s as escaped XML.
Definition: RVNGString.cpp:160
librevenge::RVNGHTMLTextParagraphStyleManager::getClass
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:173
librevenge::RVNGHTMLTextListStyleManager::defineLevel
void defineLevel(RVNGPropertyList const &property, bool ordered)
add a level to the corresponding list
Definition: RVNGHTMLTextTextStyle.cpp:115
librevenge::RVNGHTMLTextGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:563
librevenge::RVNGHTMLTextStream::label
std::string label() const
return the stream label
Definition: RVNGHTMLTextGenerator.cpp:185
librevenge::RVNGHTMLTextZone::Z_EndNote
@ Z_EndNote
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:542
librevenge::RVNGHTMLTextGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition: RVNGHTMLTextGenerator.cpp:504
librevenge::RVNGHTMLTextGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGHTMLTextGenerator.cpp:605
librevenge::RVNGHTMLTextGenerator::drawPath
void drawPath(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:752
librevenge::RVNGHTMLTextStream::addLabel
void addLabel(std::ostream &output)
add a label called on main and a label in this ( delayed to allow openParagraph to be called )
Definition: RVNGHTMLTextGenerator.cpp:139
librevenge::RVNGHTMLTextSpanStyleManager::send
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:335
librevenge::RVNGHTMLTextGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGHTMLTextGenerator.cpp:511
librevenge::RVNGHTMLTextGenerator
Definition: RVNGHTMLTextGenerator.h:35
librevenge::RVNGHTMLTextGenerator::drawPolygon
void drawPolygon(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:750
librevenge::RVNGHTMLTextGenerator::openFootnote
void openFootnote(const RVNGPropertyList &propList)
Called when a footnote should be opened (a sub-document will be placed inside of it)
Definition: RVNGHTMLTextGenerator.cpp:619
librevenge::RVNGHTMLTextGenerator::closeComment
void closeComment()
Called when a comment or annotation should be closed.
Definition: RVNGHTMLTextGenerator.cpp:660
librevenge::RVNGHTMLTextGenerator::openTextBox
void openTextBox(const RVNGPropertyList &propList)
Called when a text box should be opened (a sub-document will be placed inside of it)
Definition: RVNGHTMLTextGenerator.cpp:667
librevenge::RVNGHTMLTextGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGHTMLTextGenerator.cpp:361
librevenge::RVNGHTMLTextStream::sendMain
void sendMain(std::ostream &output)
send the data to the zone
Definition: RVNGHTMLTextGenerator.cpp:178
librevenge::RVNGHTMLTextGeneratorImpl
the internal state of a html document generator
Definition: RVNGHTMLTextGenerator.cpp:250
librevenge::RVNGHTMLTextZone::operator=
RVNGHTMLTextZone operator=(RVNGHTMLTextZone const &orig)
RVNGHTMLTextTextStyle.h
librevenge::RVNGHTMLTextGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGHTMLTextGenerator.cpp:579
librevenge::RVNGHTMLTextGeneratorImpl::~RVNGHTMLTextGeneratorImpl
~RVNGHTMLTextGeneratorImpl()
destructor
Definition: RVNGHTMLTextGenerator.cpp:259
librevenge::RVNGString::cstr
const char * cstr() const
Definition: RVNGString.cpp:174
librevenge::RVNGHTMLTextGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGHTMLTextGenerator.cpp:533
librevenge::RVNGHTMLTextGeneratorImpl::m_streamStack
std::vector< RVNGHTMLTextStream * > m_streamStack
Definition: RVNGHTMLTextGenerator.cpp:344
librevenge::RVNGHTMLTextZone::Z_Main
@ Z_Main
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextGenerator::openComment
void openComment(const RVNGPropertyList &propList)
Called when a comment or annotation should be opened (a sub-document will be placed inside of it)
Definition: RVNGHTMLTextGenerator.cpp:651
librevenge::RVNGHTMLTextZone::Z_TextBox
@ Z_TextBox
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGProperty::getInt
virtual int getInt() const =0
librevenge::RVNGHTMLTextGeneratorImpl::sendMetaData
void sendMetaData(std::ostream &out)
Definition: RVNGHTMLTextGenerator.cpp:305
librevenge::RVNGHTMLTextSpanStyleManager::defineSpan
void defineSpan(RVNGPropertyList const &pList)
define a span style
Definition: RVNGHTMLTextTextStyle.cpp:322
librevenge::RVNGHTMLTextZone::Z_FootNote
@ Z_FootNote
Definition: RVNGHTMLTextGenerator.cpp:49
librevenge::RVNGHTMLTextGeneratorImpl::m_actualStream
RVNGHTMLTextStream * m_actualStream
Definition: RVNGHTMLTextGenerator.cpp:343
librevenge::RVNGHTMLTextStream::operator=
RVNGHTMLTextStream operator=(RVNGHTMLTextStream const &orig)
librevenge::RVNGHTMLTextGenerator::endDocument
void endDocument()
Called at the end of the parsing process.
Definition: RVNGHTMLTextGenerator.cpp:392
librevenge::RVNGHTMLTextTableStyleManager::getRowClass
std::string getRowClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTableStyle.cpp:109
librevenge::RVNGHTMLTextParagraphStyleManager::defineParagraph
void defineParagraph(RVNGPropertyList const &pList)
define a paragraph style
Definition: RVNGHTMLTextTextStyle.cpp:191
librevenge::RVNGHTMLTextGeneratorImpl::pop
void pop()
Definition: RVNGHTMLTextGenerator.cpp:290
librevenge::RVNGHTMLTextTableStyleManager::openTable
void openTable(RVNGPropertyListVector const &colList)
open a table
Definition: RVNGHTMLTextTableStyle.cpp:34
librevenge::RVNGHTMLTextZone::isEmpty
bool isEmpty() const
returns true if there is no data
Definition: RVNGHTMLTextGenerator.cpp:69
librevenge::RVNGHTMLTextGenerator::closeTextBox
void closeTextBox()
Called when a text box should be closed.
Definition: RVNGHTMLTextGenerator.cpp:676
librevenge::RVNGHTMLTextGenerator::insertCoveredTableCell
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition: RVNGHTMLTextGenerator.cpp:730
librevenge::RVNGHTMLTextGenerator::defineGraphicStyle
void defineGraphicStyle(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:747
librevenge::RVNGPropertyListVector
Definition: RVNGPropertyListVector.h:35
librevenge::RVNGHTMLTextZone::m_stringList
std::vector< std::string > m_stringList
the list of data string
Definition: RVNGHTMLTextGenerator.cpp:122
librevenge::RVNGHTMLTextGenerator::m_impl
RVNGHTMLTextGeneratorImpl * m_impl
Definition: RVNGHTMLTextGenerator.h:118
librevenge::RVNGHTMLTextGenerator::closeGroup
void closeGroup()
Definition: RVNGHTMLTextGenerator.cpp:745
librevenge
Definition: RVNGBinaryData.cpp:39
librevenge::RVNGHTMLTextStream::RVNGHTMLTextStream
RVNGHTMLTextStream(RVNGHTMLTextZone *zone)
constructor
Definition: RVNGHTMLTextGenerator.cpp:131
librevenge::RVNGHTMLTextTableStyleManager::getCellClass
std::string getCellClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTableStyle.cpp:97
librevenge::RVNGHTMLTextGenerator::openHeader
void openHeader(const RVNGPropertyList &propList)
Called when a header should be opened (a sub-document will be placed inside of it).
Definition: RVNGHTMLTextGenerator.cpp:430
librevenge::RVNGHTMLTextGenerator::~RVNGHTMLTextGenerator
~RVNGHTMLTextGenerator()
Definition: RVNGHTMLTextGenerator.cpp:356
librevenge::RVNGHTMLTextGenerator::defineSectionStyle
void defineSectionStyle(const RVNGPropertyList &)
Definition: RVNGHTMLTextGenerator.cpp:451
librevenge::RVNGHTMLTextGenerator::RVNGHTMLTextGenerator
RVNGHTMLTextGenerator(RVNGString &document)
Definition: RVNGHTMLTextGenerator.cpp:352
librevenge::RVNGHTMLTextGenerator::drawRectangle
void drawRectangle(const librevenge::RVNGPropertyList &propList)
Definition: RVNGHTMLTextGenerator.cpp:748
librevenge::RVNGHTMLTextGeneratorImpl::m_zones
RVNGHTMLTextZone m_zones[RVNGHTMLTextZone::Z_NumZones]
Definition: RVNGHTMLTextGenerator.cpp:346
librevenge::RVNGHTMLTextStream::send
void send()
send the data to the zone
Definition: RVNGHTMLTextGenerator.cpp:165
REVENGE_GENERATORS_API
#define REVENGE_GENERATORS_API
Definition: librevenge-generators-api.h:34
librevenge::RVNGHTMLTextGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGHTMLTextGenerator.cpp:463
librevenge::RVNGHTMLTextGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGHTMLTextGenerator.cpp:570
librevenge::RVNGHTMLTextGenerator::openSection
void openSection(const RVNGPropertyList &propList)
Called when a new section is opened.
Definition: RVNGHTMLTextGenerator.cpp:452
librevenge::RVNGHTMLTextGenerator::closeFootnote
void closeFootnote()
Called when a footnote should be closed.
Definition: RVNGHTMLTextGenerator.cpp:628
librevenge::RVNGHTMLTextZone::m_actualId
int m_actualId
the actual id
Definition: RVNGHTMLTextGenerator.cpp:120
librevenge::RVNGHTMLTextGenerator::closeSection
void closeSection()
Called when a section is closed.
Definition: RVNGHTMLTextGenerator.cpp:453
librevenge::RVNGHTMLTextZone
a zone to regroup footnote/endnote,... data
Definition: RVNGHTMLTextGenerator.cpp:45