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

HTML: Support "@media print" (Origin: bugzilla #650958) #4278

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

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

On 2011-05-24 11:49:28 +0000, Simon A Watts wrote:

Doxygen 1.7.4 introduces a new dynamic HTML page layout.

However, this breaks print-ability of the pages - only the visible portion (top) of the documentation is printed, along with the navigation elements.

Doxygen should use the "@media print" css directive to support alternate layout for the purpose of printing. This is normally done through the style-sheet - however the dynamic layout (JavaScript) gets in the way.

JavaScript does not directly support recognition of the "@media" style being used. This can be done by testing a dummy css property, or (for our purposes) identifying hidden elements and setting their size to zero when performing the layout.

Print output should include the header and footer, all of the body document, but not the navigational parts of the page.

On 2011-06-06 11:26:32 +0000, Simon A Watts wrote:

I have changed this from an enhancement to a bug - since the new HTML layout stops pages from being correctly printed.

The original report suggests an approach to correct this.

On 2011-06-23 19:30:14 +0000, Dimitri van Heesch wrote:

Thanks for the suggestion to use @media. Works nicely as you will see in the next subversion update.

On 2011-08-14 14:05:26 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. 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.

@doxygen doxygen closed this Jul 2, 2018

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