Hello,
I was trying to set up a footer for our pdf export. And for testing purposes I used very simple HTML and CSS codes, but they won't show up in the exported pdf file. I used this documentation already to set it up:
https://confluence.atlassian.com/conf56/exporting-confluence-pages-and-spaces-to-pdf-658736967.html
https://confluence.atlassian.com/conf56/advanced-pdf-export-customisations-658736969.html
https://confluence.atlassian.com/conf56/customising-exports-to-pdf-658736968.html
I also tried it on our first confluence instance and I had the same result. Nothing showed up in the exported file.
Thank you in advance,
Ingo Herbrich
I will be happy to try your CSS and HTML on my test instance to see if it works for me. Would you mind posting it? There is a code block option under the Formats menu here on the forum.
I noticed you linked documentation for Confluence 5.6. Is that your version? If not, please let me know the version of Confluence you are running.
We are currently running version 6.3.3. I used simple HTML code like <p>Hello</p> for testing which didn't work out. But I also prepared a HTML which we want to use later, but it won't show up either. I also tried to set it up globally and space wide but nothing worked out. This is the code we would like to use later:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<p><img style="width: 270px; height: 91px; float: left;" src="test.png" /></p>
<div class="fusion-column col-lg-3 col-md-3 col-sm-3">
<div id="text_icl-7" class="fusion-footer-widget-column widget widget_text_icl">
<h4 class="widget-title" style="text-align: right;"> </h4>
<h4 class="widget-title" style="text-align: right;"> </h4>
<h4 class="widget-title" style="text-align: right;"> <span style="font-family: calibri;"><span style="font-size: small;">Test</span></span></h4>
</div>
</div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update: When I export via Space Tools -> Export -> PDF -> Normal Export/Custom Export the HTML code is working. But it has to work on the page itself via the "..." menu. Everything else wouldn't make any sense for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the update. According to our doc, Customize Exports to PDF, it is working as expected:
PDF customization only applies to space exports (not single page exports via Tools > Export to PDF)
I was not surprised to see a suggestion ticket open for this:
Provide ability to customize single-page PDF and Word exports
I noticed there aren't any comments, which did surprise me. I can see why you wouldn't want to grant access to space tools to everyone who needs to export a page to pdf.
If you vote or comment on the suggestion, you will be added to notifications so you will know when there is activity on the issue.
In the meantime, please check out this free add-on and let me know if it works for your use case: PDF Macros for Confluence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.