filters

footnote.h
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.
3 */
4/*
5** Header file for inclusion with kword_xml2latex.c
6**
7** Copyright (C) 2000 Robert JACOLIN
8**
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.
13**
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.
18**
19** To receive a copy of the GNU Library General Public License, write to the
20** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
22**
23*/
24
25#ifndef __KWORD_LATEX_FOOTNOTE_H__
26#define __KWORD_LATEX_FOOTNOTE_H__
27
28#include <tqstring.h>
29#include "format.h"
30
31/***********************************************************************/
32/* Class: Footnote */
33/***********************************************************************/
34
39class Footnote: public Format
40{
41 int _from, _to;
42 int _start, _end;
43 TQString _before, _after, _space; // TODO: Change in TQChar
44 TQString _ref;
45
46 public:
54 Footnote(Para* para = 0);
55 //Footnote(TextZone);
56
57 /*
58 * Destructor
59 *
60 * Nothing to do
61 */
62 virtual ~Footnote();
63
67
71 void setFrom (int f) { _from = f; }
72 void setTo (int t) { _to = t; }
73 void setSpace (TQString);
74 void setStart (int s) { _start = s; }
75 void setEnd (int e) { _end = e; }
76 void setBefore(TQString);
77 void setAfter (TQString);
78 void setRef (TQString);
79
83 void analyse (const TQDomNode);
84 void analyseInternal(const TQDomNode);
85 void analyseRange(const TQDomNode);
86 void analyseText(const TQDomNode);
87 void analyseDescript(const TQDomNode);
88
89 void generate(TQTextStream&);
90
91 //private:
92};
93
94
95#endif /* __KWORD_LATEX_FOOTNOTE_H__ */
96
Footnote(Para *para=0)
Constructors.
Definition footnote.cpp:28
void analyse(const TQDomNode)
Helpfull functions.
Definition footnote.cpp:59
void setFrom(int f)
Accessors.
Definition footnote.h:71
Format()
Constructors.
This class hold a real paragraph.
Definition para.h:59