Main Page
Namespaces
Classes
Files
File List
File Members
WPXDocumentInterface.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2
/* libwpd
3
* Copyright (C) 2002-2005 William Lachance (wrlach@gmail.com)
4
* Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
5
* Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Library General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Library General Public License for more details.
16
*
17
* You should have received a copy of the GNU Library General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20
*
21
* For further information visit http://libwpd.sourceforge.net
22
*/
23
24
/* "This product is not manufactured, approved, or supported by
25
* Corel Corporation or Corel Corporation Limited."
26
*/
27
28
#ifndef WPXDOCUMENTINTERFACEIMPL_H
29
#define WPXDOCUMENTINTERFACEIMPL_H
30
#include "
WPXPropertyList.h
"
31
#include "
WPXPropertyListVector.h
"
32
#include "
WPXBinaryData.h
"
33
40
class
WPXInputStream
;
41
42
class
WPXDocumentInterface
43
{
44
public
:
45
virtual
~WPXDocumentInterface
() {}
46
102
virtual
void
setDocumentMetaData
(
const
WPXPropertyList
&propList) = 0;
103
107
virtual
void
startDocument
() = 0;
111
virtual
void
endDocument
() = 0;
112
113
virtual
void
definePageStyle
(
const
WPXPropertyList
&propList) = 0;
114
129
virtual
void
openPageSpan
(
const
WPXPropertyList
&propList) = 0;
133
virtual
void
closePageSpan
() = 0;
134
140
virtual
void
openHeader
(
const
WPXPropertyList
&propList) = 0;
144
virtual
void
closeHeader
() = 0;
145
151
virtual
void
openFooter
(
const
WPXPropertyList
&propList) = 0;
155
virtual
void
closeFooter
() = 0;
156
157
virtual
void
defineParagraphStyle
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&tabStops) = 0;
158
176
virtual
void
openParagraph
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&tabStops) = 0;
180
virtual
void
closeParagraph
() = 0;
181
182
virtual
void
defineCharacterStyle
(
const
WPXPropertyList
&propList) = 0;
183
200
virtual
void
openSpan
(
const
WPXPropertyList
&propList) = 0;
204
virtual
void
closeSpan
() = 0;
205
206
virtual
void
defineSectionStyle
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&columns) = 0;
207
220
virtual
void
openSection
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&columns) = 0;
224
virtual
void
closeSection
() = 0;
225
229
virtual
void
insertTab
() = 0;
233
virtual
void
insertSpace
() = 0;
238
virtual
void
insertText
(
const
WPXString
&text) = 0;
242
virtual
void
insertLineBreak
() = 0;
243
251
virtual
void
insertField
(
const
WPXString
&type,
const
WPXPropertyList
&propList) = 0;
252
265
virtual
void
defineOrderedListLevel
(
const
WPXPropertyList
&propList) = 0;
275
virtual
void
defineUnorderedListLevel
(
const
WPXPropertyList
&propList) = 0;
281
virtual
void
openOrderedListLevel
(
const
WPXPropertyList
&propList) = 0;
287
virtual
void
openUnorderedListLevel
(
const
WPXPropertyList
&propList) = 0;
291
virtual
void
closeOrderedListLevel
() = 0;
295
virtual
void
closeUnorderedListLevel
() = 0;
313
virtual
void
openListElement
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&tabStops) = 0;
317
virtual
void
closeListElement
() = 0;
318
324
virtual
void
openFootnote
(
const
WPXPropertyList
&propList) = 0;
328
virtual
void
closeFootnote
() = 0;
329
335
virtual
void
openEndnote
(
const
WPXPropertyList
&propList) = 0;
339
virtual
void
closeEndnote
() = 0;
340
345
virtual
void
openComment
(
const
WPXPropertyList
&propList) = 0;
349
virtual
void
closeComment
() = 0;
350
355
virtual
void
openTextBox
(
const
WPXPropertyList
&propList) = 0;
359
virtual
void
closeTextBox
() = 0;
360
372
virtual
void
openTable
(
const
WPXPropertyList
&propList,
const
WPXPropertyListVector
&columns) = 0;
380
virtual
void
openTableRow
(
const
WPXPropertyList
&propList) = 0;
384
virtual
void
closeTableRow
() = 0;
399
virtual
void
openTableCell
(
const
WPXPropertyList
&propList) = 0;
403
virtual
void
closeTableCell
() = 0;
410
virtual
void
insertCoveredTableCell
(
const
WPXPropertyList
&propList) = 0;
414
virtual
void
closeTable
() = 0;
430
virtual
void
openFrame
(
const
WPXPropertyList
&propList) = 0;
434
virtual
void
closeFrame
() = 0;
441
virtual
void
insertBinaryObject
(
const
WPXPropertyList
&propList,
const
WPXBinaryData
&data) = 0;
448
virtual
void
insertEquation
(
const
WPXPropertyList
&propList,
const
WPXString
&data) = 0;
449
};
450
451
#endif
/* WPXDOCUMENTINTERFACEIMPL_H */
452
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Generated for libwpd by
doxygen
1.8.3