Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

notesgen.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           notesgen.h  -  description
00003                              -------------------
00004     begin                : Wed Sep 4 2002
00005     copyright            : (C) 2002 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef NOTESGEN_H
00019 #define NOTESGEN_H
00020 
00021 #include <qobject.h>
00022 #include "pbrowser.h"
00023 #include "pcontent.h"
00024 #include "putils.h"
00025 
00026 #define MAX_DEPTH 10
00027 
00032 class NotesGen : public QObject
00033 {
00034 public:
00038      NotesGen();
00042      ~NotesGen();
00049      QString generateText(PresentationBrowser* pb, int i);
00050 private:
00054      QString recursiveGen(pXmlNode *node);
00059      QString findStylePropertyInStyleRecursive(pXmlNode *node,const QString &val);
00067      QString findStyleProperty(pXmlNode *node, const QString &val);
00076      QString findStylePropertyWithParentDelimiter(pXmlNode *node,const QString &val,const QString &delimiter);
00080      QString getBullet(int depth, bool usecounter);  
00084      bool flag;
00088      pXmlNode *content;
00092      pXmlNode *style;
00096      int itemdepth;
00100      int olddepth;
00104      bool ol;
00108      pXmlNode *cnode;
00112      int depthcounter[MAX_DEPTH];
00113 };
00114 
00115 #endif

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18