diff options
author | albert-github <albert.tests@gmail.com> | 2018-06-05 09:46:03 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-06-05 09:46:03 (GMT) |
commit | 79ac5232cf029f3d40543641e92daa8aaa1c9f7c (patch) | |
tree | 92f9b9a839849faadf167225554a053704b4ce57 /src/doxygen.cpp | |
parent | 2899a2d6eefed0cef26647e1c89cf08e02b800d5 (diff) | |
download | Doxygen-79ac5232cf029f3d40543641e92daa8aaa1c9f7c.zip Doxygen-79ac5232cf029f3d40543641e92daa8aaa1c9f7c.tar.gz Doxygen-79ac5232cf029f3d40543641e92daa8aaa1c9f7c.tar.bz2 |
Add formula (images) to RTF output
The RTF output was lacking the possibility to have formulas in it (were written as text). This patch generates the images analogous to the HTML, non MATHJAX, version and includes them in the output.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 263b59f..bc244b7 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -11558,6 +11558,12 @@ void generateOutput() Doxygen::formulaList->generateBitmaps(Config_getString(HTML_OUTPUT)); g_s.end(); } + if (Doxygen::formulaList->count()>0 && generateRtf) + { + g_s.begin("Generating bitmaps for formulas in RTF...\n"); + Doxygen::formulaList->generateBitmaps(Config_getString(RTF_OUTPUT)); + g_s.end(); + } if (Config_getBool(SORT_GROUP_NAMES)) { |