1
/* A PARA IS A TITLE, A SET OF WORDS OR A LIST. TO KNOW ITS TYPE,
2
* YOU MUST LOOK AT IN THE LAYOUT CLASS.
5
** Header file for inclusion with kword_xml2latex.c
7
** Copyright (C) 2000 Robert JACOLIN
9
** This library is free software; you can redistribute it and/or
10
** modify it under the terms of the GNU Library General Public
11
** License as published by the Free Software Foundation; either
12
** version 2 of the License, or (at your option) any later version.
14
** This library is distributed in the hope that it will be useful,
15
** but WITHOUT ANY WARRANTY; without even the implied warranty of
16
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
** Library General Public License for more details.
19
** To receive a copy of the GNU Library General Public License, write to the
20
** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
** Boston, MA 02111-1307, USA.
25
#ifndef __KWORD_LATEX_FOOTNOTE_H__
26
#define __KWORD_LATEX_FOOTNOTE_H__
31
/***********************************************************************/
33
/***********************************************************************/
36
* This class hold a footnote. This class will be a lot modified because
37
* it doesn't correspond whith the dtd 1.0.
39
class Footnote: public Format
43
QString _before, _after, _space; // TODO: Change in QChar
50
* Creates a new instances of Footnote.
52
* @param Para is the parent class
54
Footnote(Para* para = 0);
71
void setFrom (int f) { _from = f; }
72
void setTo (int t) { _to = t; }
73
void setSpace (QString);
74
void setStart (int s) { _start = s; }
75
void setEnd (int e) { _end = e; }
76
void setBefore(QString);
77
void setAfter (QString);
78
void setRef (QString);
83
void analyse (const QDomNode);
84
void analyseInternal(const QDomNode);
85
void analyseRange(const QDomNode);
86
void analyseText(const QDomNode);
87
void analyseDescript(const QDomNode);
89
void generate(QTextStream&);
95
#endif /* __KWORD_LATEX_FOOTNOTE_H__ */