diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-11-24 18:59:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-11-24 18:59:20 (GMT) |
commit | 549d5aeecdc909e6aa0434a2ddb30b735423ec03 (patch) | |
tree | 5bb069463344355e0d3c951415c5748fa05ed73b /src/docbookvisitor.h | |
parent | f46deb857a112f0991582ffa280dab6900cb4e60 (diff) | |
parent | 3820f6a841115bd66ed409221c73824ec41ae6ab (diff) | |
download | Doxygen-549d5aeecdc909e6aa0434a2ddb30b735423ec03.zip Doxygen-549d5aeecdc909e6aa0434a2ddb30b735423ec03.tar.gz Doxygen-549d5aeecdc909e6aa0434a2ddb30b735423ec03.tar.bz2 |
Merge branch 'albert-github-feature/bug_docbook_figure'
Diffstat (limited to 'src/docbookvisitor.h')
-rw-r--r-- | src/docbookvisitor.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/docbookvisitor.h b/src/docbookvisitor.h index 714b679..24b1fbb 100644 --- a/src/docbookvisitor.h +++ b/src/docbookvisitor.h @@ -20,15 +20,14 @@ #include "docvisitor.h" #include <qstack.h> +#include <qlist.h> #include <qcstring.h> +#include <docparser.h> class FTextStream; class CodeOutputInterface; class QCString; -void visitPreStart(FTextStream &t, bool hasCaption, QCString name, QCString width, QCString height, bool inlineImage=FALSE); -void visitPostEnd(FTextStream &t, bool hasCaption, bool inlineImage = FALSE); - /*! @brief Concrete visitor implementation for Docbook output. */ class DocbookDocVisitor : public DocVisitor { @@ -150,18 +149,27 @@ class DocbookDocVisitor : public DocVisitor void pushEnabled(); void popEnabled(); void startMscFile(const QCString &fileName,const QCString &width, - const QCString &height, bool hasCaption); + const QCString &height, bool hasCaption,const QList<DocNode> &children); void endMscFile(bool hasCaption); void writeMscFile(const QCString &fileName, DocVerbatim *s); void startDiaFile(const QCString &fileName,const QCString &width, - const QCString &height, bool hasCaption); + const QCString &height, bool hasCaption,const QList<DocNode> &children); void endDiaFile(bool hasCaption); void writeDiaFile(const QCString &fileName, DocVerbatim *s); void startDotFile(const QCString &fileName,const QCString &width, - const QCString &height, bool hasCaption); + const QCString &height, bool hasCaption,const QList<DocNode> &children); void endDotFile(bool hasCaption); void writeDotFile(const QCString &fileName, DocVerbatim *s); void writePlantUMLFile(const QCString &fileName, DocVerbatim *s); + void visitPreStart(FTextStream &t, + const QList<DocNode> &children, + bool hasCaption, + const QCString &name, + const QCString &width, + const QCString &height, + bool inlineImage = FALSE); + void visitPostEnd(FTextStream &t, bool hasCaption, bool inlineImage = FALSE); + void visitCaption(const QList<DocNode> &children); //-------------------------------------- // state variables //-------------------------------------- |