GNOME Bugzilla – Bug 149792
Mainpage title has wrong style in RTF
Last modified: 2015-12-30 10:19:18 UTC
Use default doxygen configuration file and a single doc as follows: /** @mainpage The mainpage Blabla @section sone Section One Blabla */ HTML output is correct. RTF output has the following problems: - The "The Mainpage" title is output in style 'Body Text' and bold. It shuld be style "Heading 1". - Immediatly after the title an empty paragraph is inserted in "Heading 1". - This paragraph should not be there. - It looks as if an attempt is made to set the "The mainpage" title in the "Heading 1" style, but obviously without success.
I have same problems on title page in rtf Can I commit changes to correct it?
Hi Kirill, Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem? also mention the version of doxygen you are using.
last version from svn ( revision 797 ) In file doxygen-svn/src/rtfgen.cpp:588 t << rtf_Style_Reset << rtf_Style["SubTitle"]->reference << endl; // set to subtitle style t << "{\\field\\fldedit {\\*\\fldinst AUTHOR \\\\*MERGEFORMAT}{\\fldrslt AUTHOR}}\\par" << endl; t << "Version " << Config_getString("PROJECT_NUMBER") << "\\par"; t << "{\\field\\fldedit {\\*\\fldinst CREATEDATE \\\\*MERGEFORMAT}" "{\\fldrslt CREATEDATE}}\\par"<<endl; Project number get as "Config_getString("PROJECT_NUMBER")" , but other fields get as not changeable text result you can see it in 1/snapshot.png in attach in 1 folder some src
Created attachment 205821 [details] src and snapshot
I've just pushed a, partial, proposed patch for the problem as indicated by Kirill Podlivaev. It concerns here the TITLE and the CREATEDATE and the "Version" string. For other items I don't know suitable replacements. Regarding the problem from Frank HJ Cuypers this looks OK in the output.
Pushed also the last changes regarding author and "begin body". All is in pull request 356 on github
Thanks, I've merged the pull request
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).