diff options
author | albert-github <albert.tests@gmail.com> | 2018-11-23 17:35:29 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-11-23 17:35:29 (GMT) |
commit | 2e3c07357f208033b502bb6cc5ae015ff76668de (patch) | |
tree | 2fb3f6f4060b178acad2a284d20eef2b504c2db8 /src/docbookvisitor.h | |
parent | 50879dd77d551cd62c5a6db2f3f322ae69b115b7 (diff) | |
download | Doxygen-2e3c07357f208033b502bb6cc5ae015ff76668de.zip Doxygen-2e3c07357f208033b502bb6cc5ae015ff76668de.tar.gz Doxygen-2e3c07357f208033b502bb6cc5ae015ff76668de.tar.bz2 |
Doxygen creates empty image titles for Docbook output
The title of an image needs to be at a specific place in docbook. The current place was incorrect
(based on https://stackoverflow.com/questions/53448764/doxygen-creates-empty-image-titles-for-docbook-output)
Diffstat (limited to 'src/docbookvisitor.h')
-rw-r--r-- | src/docbookvisitor.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/docbookvisitor.h b/src/docbookvisitor.h index 714b679..87035f8 100644 --- a/src/docbookvisitor.h +++ b/src/docbookvisitor.h @@ -20,16 +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 { public: @@ -150,15 +148,15 @@ 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,QList<DocNode> childs); 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,QList<DocNode> childs); 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,QList<DocNode> childs); void endDotFile(bool hasCaption); void writeDotFile(const QCString &fileName, DocVerbatim *s); void writePlantUMLFile(const QCString &fileName, DocVerbatim *s); @@ -173,4 +171,9 @@ class DocbookDocVisitor : public DocVisitor QCString m_langExt; }; +void visitPreStart(FTextStream &t, bool hasCaption, DocbookDocVisitor *parent, QList<DocNode> children, 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. */ + #endif |