New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mainpage title has wrong style in RTF (Origin: bugzilla #149792) #1204

Closed
doxygen opened this Issue Jul 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 1, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.3.x on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2004-08-10 08:55:49 +0000, Frank HJ Cuypers wrote:

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.

On 2012-01-22 15:29:55 +0000, Kirill Podlivaev wrote:

I have same problems on title page in rtf
Can I commit changes to correct it?

On 2012-01-22 15:32:25 +0000, Dimitri van Heesch wrote:

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.

On 2012-01-22 16:43:39 +0000, Kirill Podlivaev wrote:

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

On 2012-01-22 16:45:27 +0000, Kirill Podlivaev wrote:

Created attachment 205821
src and snapshot

On 2015-06-14 18:27:35 +0000, albert wrote:

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.

On 2015-06-15 17:54:53 +0000, albert wrote:

Pushed also the last changes regarding author and "begin body".

All is in pull request 356 on github

On 2015-07-26 10:02:20 +0000, Dimitri van Heesch wrote:

Thanks, I've merged the pull request

On 2015-12-30 10:19:18 +0000, Dimitri van Heesch wrote:

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).

@doxygen doxygen closed this Jul 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment