filters

anchor.h

00001 /* A PARA IS A TITLE, A SET OF WORDS OR A LIST. TO KNOW ITS TYPE,
00002  * YOU MUST LOOK AT IN THE LAYOUT CLASS.
00003  */
00004 /*
00005 ** Header file for inclusion with kword_xml2latex.c
00006 **
00007 ** Copyright (C) 2000 Robert JACOLIN
00008 **
00009 ** This library is free software; you can redistribute it and/or
00010 ** modify it under the terms of the GNU Library General Public
00011 ** License as published by the Free Software Foundation; either
00012 ** version 2 of the License, or (at your option) any later version.
00013 **
00014 ** This library is distributed in the hope that it will be useful,
00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 ** Library General Public License for more details.
00018 **
00019 ** To receive a copy of the GNU Library General Public License, write to the
00020 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021  * Boston, MA 02110-1301, USA.
00022 **
00023 */
00024 
00025 #ifndef __KWORD_LATEX_ANCHOR_H__
00026 #define __KWORD_LATEX_ANCHOR_H__
00027 
00028 #include <qstring.h>
00029 #include "format.h"
00030 
00031 /***********************************************************************/
00032 /* Class: Anchor                                                       */
00033 /***********************************************************************/
00034 
00039 class Anchor: public Format
00040 {
00041     QString _type;
00042     QString _instance;
00043 
00044     public:
00045 
00055         Anchor(Para* para = 0);
00056         //Anchor(TextZone);
00057 
00063         virtual ~Anchor();
00064 
00068         QString getType    () const { return _type; }
00069         QString getInstance() const { return _instance; }
00070 
00074         void setType    (QString type) { _type   = type; }
00075         void setInstance(QString inst) { _instance = inst; }
00076 
00081         void analyse (const QDomNode);
00082 
00083         void generate(QTextStream&);
00084 
00085     //private:
00086 };
00087 
00088 
00089 #endif /* __KWORD_LATEX_ANCHOR_H__ */
00090 
KDE Home | KDE Accessibility Home | Description of Access Keys