diff options
author | (no author) <(no author)@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-08-08 20:01:03 (GMT) |
---|---|---|
committer | (no author) <(no author)@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-08-08 20:01:03 (GMT) |
commit | 001e27ddbb1bfaa351b5f268b22418fb0557d6c2 (patch) | |
tree | a390a2400721fd1ed137738bd2679ab33ed0306f /src/mandocvisitor.h | |
parent | 0559d5795f6e2adc993577a4dd55b5370d31677c (diff) | |
download | Doxygen-Release_1_4_4_20050804.zip Doxygen-Release_1_4_4_20050804.tar.gz Doxygen-Release_1_4_4_20050804.tar.bz2 |
This commit was manufactured by cvs2svn to create tagRelease_1_4_4_20050804
'Release_1_4_4_20050804'.
Diffstat (limited to 'src/mandocvisitor.h')
-rw-r--r-- | src/mandocvisitor.h | 155 |
1 files changed, 0 insertions, 155 deletions
diff --git a/src/mandocvisitor.h b/src/mandocvisitor.h deleted file mode 100644 index aa1c54b..0000000 --- a/src/mandocvisitor.h +++ /dev/null @@ -1,155 +0,0 @@ -/****************************************************************************** - * - * - * - * - * Copyright (C) 1997-2005 by Dimitri van Heesch. - * - * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software - * for any purpose. It is provided "as is" without express or implied warranty. - * See the GNU General Public License for more details. - * - * Documents produced by Doxygen are derivative works derived from the - * input used in their production; they are not affected by this license. - * - */ - -#ifndef _MANDOCVISITOR_H -#define _MANDOCVISITOR_H - -#include "docvisitor.h" -#include <qstack.h> -#include <qcstring.h> - -class QTextStream; -class CodeOutputInterface; -class QString; - -/*! @brief Concrete visitor implementation for LaTeX output. */ -class ManDocVisitor : public DocVisitor -{ - public: - ManDocVisitor(QTextStream &t,CodeOutputInterface &ci,const char *langExt); - - //-------------------------------------- - // visitor functions for leaf nodes - //-------------------------------------- - - void visit(DocWord *); - void visit(DocLinkedWord *); - void visit(DocWhiteSpace *); - void visit(DocSymbol *); - void visit(DocURL *); - void visit(DocLineBreak *); - void visit(DocHorRuler *); - void visit(DocStyleChange *); - void visit(DocVerbatim *); - void visit(DocAnchor *); - void visit(DocInclude *); - void visit(DocIncOperator *); - void visit(DocFormula *); - void visit(DocIndexEntry *); - - //-------------------------------------- - // visitor functions for compound nodes - //-------------------------------------- - - void visitPre(DocAutoList *); - void visitPost(DocAutoList *); - void visitPre(DocAutoListItem *); - void visitPost(DocAutoListItem *); - void visitPre(DocPara *); - void visitPost(DocPara *); - void visitPre(DocRoot *); - void visitPost(DocRoot *); - void visitPre(DocSimpleSect *); - void visitPost(DocSimpleSect *); - void visitPre(DocTitle *); - void visitPost(DocTitle *); - void visitPre(DocSimpleList *); - void visitPost(DocSimpleList *); - void visitPre(DocSimpleListItem *); - void visitPost(DocSimpleListItem *); - void visitPre(DocSection *s); - void visitPost(DocSection *); - void visitPre(DocHtmlList *s); - void visitPost(DocHtmlList *s); - void visitPre(DocHtmlListItem *); - void visitPost(DocHtmlListItem *); - //void visitPre(DocHtmlPre *); - //void visitPost(DocHtmlPre *); - void visitPre(DocHtmlDescList *); - void visitPost(DocHtmlDescList *); - void visitPre(DocHtmlDescTitle *); - void visitPost(DocHtmlDescTitle *); - void visitPre(DocHtmlDescData *); - void visitPost(DocHtmlDescData *); - void visitPre(DocHtmlTable *t); - void visitPost(DocHtmlTable *t); - void visitPre(DocHtmlCaption *); - void visitPost(DocHtmlCaption *); - void visitPre(DocHtmlRow *); - void visitPost(DocHtmlRow *) ; - void visitPre(DocHtmlCell *); - void visitPost(DocHtmlCell *); - void visitPre(DocInternal *); - void visitPost(DocInternal *); - void visitPre(DocHRef *); - void visitPost(DocHRef *); - void visitPre(DocHtmlHeader *); - void visitPost(DocHtmlHeader *) ; - void visitPre(DocImage *); - void visitPost(DocImage *); - void visitPre(DocDotFile *); - void visitPost(DocDotFile *); - void visitPre(DocLink *lnk); - void visitPost(DocLink *); - void visitPre(DocRef *ref); - void visitPost(DocRef *); - void visitPre(DocSecRefItem *); - void visitPost(DocSecRefItem *); - void visitPre(DocSecRefList *); - void visitPost(DocSecRefList *); - //void visitPre(DocLanguage *); - //void visitPost(DocLanguage *); - void visitPre(DocParamSect *); - void visitPost(DocParamSect *); - void visitPre(DocParamList *); - void visitPost(DocParamList *); - void visitPre(DocXRefItem *); - void visitPost(DocXRefItem *); - void visitPre(DocInternalRef *); - void visitPost(DocInternalRef *); - void visitPre(DocCopy *); - void visitPost(DocCopy *); - void visitPre(DocText *); - void visitPost(DocText *); - - private: - - //-------------------------------------- - // helper functions - //-------------------------------------- - - void filter(const char *str); - - void pushEnabled(); - void popEnabled(); - - //-------------------------------------- - // state variables - //-------------------------------------- - - QTextStream &m_t; - CodeOutputInterface &m_ci; - bool m_insidePre; - bool m_hide; - bool m_firstCol; - int m_indent; - QStack<bool> m_enabled; - QCString m_langExt; -}; - -#endif |