Card/Deck macros do not export to PDF with Confluence 3.0
Card/Deck macros do not export to PDF using version 2.3.4 with Confluence 3.0. Only thing you see is the Title of the page, the rest is blank. In 2.10.2 Confluence this was working. Suggestions?
4
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hi there. Sounds like a bug we need to address. Could you please create a bug report and I'll schedule it for investigation.
-
Inappropriate?The bug report link returns a 404
TTP Status 404 - /jira/POSI
type Status report
message /jira/POSI
description The requested resource (/jira/POSI) is not available. -
Inappropriate?Sorry, bad link. I'm still getting used to the new JIRA location. Try here instead...
-
Inappropriate?Is there any improvement with this bug? We tried to solve our pdf-printing problem (cause we get only white sheet with title) with css until we found this topic. Do we just have to rebuild the structure of our pages or is there going to be some kind of solution with this?
-
Inappropriate?Hi! We solved this problem by using hide-if -macro (display=printable). It's not the most beautiful solution (we needed 4 hide-if macros per page...) but seems to work anyway!
-
Inappropriate?No resolution yet, I'm afraid. Another approach you might try is adding your own CSS styles which only apply when display is not 'view'. For example, you might be able to specify that the div class for the cards defaults to 'display: visible', rather than hidden, as is currently the case. Not 100% sure that will help in PDFs, but should at least help with the Printable view.
-
Hi David,
I did not know where to put this, so I'm filing it here.
We had the same problem with a customer installation. We found a way to fix it, by altering the source code of the deck macro (net.customware.confluence.plugin.composition.DeckMacro.java). The macro now realises if it is rendered during a pdf export and sets the "startHidden" parameter to false if so.
I could commit the changes at https://studio.plugins.atlassian.com/... if you like (we altered the trunk and tested for Confluence versions 2.8 to 3.1). -
Inappropriate?I have similar problem with cloak. If I define visibility=true, then everything exports to PDF correctly, but if I define it as false, I get nothing. I hope this will get fixed soon, otherwise the functionality has not much use to us.
-
Inappropriate?Yeah, PDF/print view is not detected for either currently.
Cummunardo - feel free to commit the changes, but would you mind creating a Code Review and assigning it to me so I can confirm? My username there is 'dpeterson'.
Thanks. -
Just figured out that with migration to studio.atlassian.com I don't have commit rights any more to your project (one of the many changes).
There are two options:
You add me to your project group for POSI (username is 'cpt.kolute') or I send you an email and attach the changed code :) -
Inappropriate?Simplest thing at the moment would be to create an issue in the JIRA project for that project and attach the patch. I'll assign it for the next release.
We are still using our own JIRA server presently - figuring out our strategy for that. As such, the best place to create it is here:
http://www.customware.net/greenhouse/...
Thanks,
David -
-
Thanks, scheduled to be looked at for the next release. -
Inappropriate?Has this been fixed in an available release for cloak?
-
Inappropriate?Before this is fixed with original plugin, i use this:
{composition-setup}
deck.startHidden=false
{composition-setup}
This way, you will pdf export the whole page.
Sincerly,
Michael
I’m thankful
Loading Profile...



EMPLOYEE

