filters

anchor.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_ANCHOR_H__
26#define __KWORD_LATEX_ANCHOR_H__
27
28#include <tqstring.h>
29#include "format.h"
30
31/***********************************************************************/
32/* Class: Anchor */
33/***********************************************************************/
34
39class Anchor: public Format
40{
41 TQString _type;
42 TQString _instance;
43
44 public:
45
49
55 Anchor(Para* para = 0);
56 //Anchor(TextZone);
57
63 virtual ~Anchor();
64
68 TQString getType () const { return _type; }
69 TQString getInstance() const { return _instance; }
70
74 void setType (TQString type) { _type = type; }
75 void setInstance(TQString inst) { _instance = inst; }
76
80
81 void analyse (const TQDomNode);
82
83 void generate(TQTextStream&);
84
85 //private:
86};
87
88
89#endif /* __KWORD_LATEX_ANCHOR_H__ */
90
void analyse(const TQDomNode)
Helpfull functions.
Definition anchor.cpp:38
Anchor(Para *para=0)
Constructors.
Definition anchor.cpp:29
void setType(TQString type)
Modifiers.
Definition anchor.h:74
virtual ~Anchor()
Destructor.
Definition anchor.cpp:33
TQString getType() const
Accessors.
Definition anchor.h:68
Format()
Constructors.
This class hold a real paragraph.
Definition para.h:59