diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2012-03-17 20:32:54 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2012-03-17 20:32:54 (GMT) |
commit | 6cbcbc787daeae62ce59c04bbc35597986bcca7d (patch) | |
tree | 5c9d2280ca0cb07840bfa26ca4dbed5b3225d21f /src/latexdocvisitor.h | |
parent | c3a03d5cb1f856d2b3a7bff8ddf74416a1281f66 (diff) | |
download | Doxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.zip Doxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.tar.gz Doxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.tar.bz2 |
Release-1.8.0
Diffstat (limited to 'src/latexdocvisitor.h')
-rw-r--r-- | src/latexdocvisitor.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/latexdocvisitor.h b/src/latexdocvisitor.h index b325b21..a4892ce 100644 --- a/src/latexdocvisitor.h +++ b/src/latexdocvisitor.h @@ -22,7 +22,8 @@ #include "docvisitor.h" #include <qstack.h> #include <qcstring.h> -#include <qmap.h> +#include <qlist.h> +//#include <qmap.h> class FTextStream; class CodeOutputInterface; @@ -134,6 +135,18 @@ class LatexDocVisitor : public DocVisitor private: + struct ActiveRowSpan + { + ActiveRowSpan(DocHtmlCell *c,int rs,int cs,int col) + : cell(c), rowSpan(rs), colSpan(cs), column(col) {} + DocHtmlCell *cell; + int rowSpan; + int colSpan; + int column; + }; + + typedef QList<ActiveRowSpan> RowSpanList; + //-------------------------------------- // helper functions //-------------------------------------- @@ -166,11 +179,14 @@ class LatexDocVisitor : public DocVisitor bool m_insideItem; bool m_hide; bool m_insideTabbing; + bool m_insideTable; + int m_numCols; QStack<bool> m_enabled; QCString m_langExt; - QMap<int, int> m_rowspanIndices; + RowSpanList m_rowSpans; int m_currentColumn; bool m_inRowspan; + bool m_inColspan; }; #endif |