Where is HTML file on server for PDF export?

I read in Confluence docs that an HTML file is created before conversion to PDF (when exporting a site to PDF).

The location given in that thread was "the TEMP directory" in Confluence. I couldn't find any HTML or HTM files in any TEMP directories.

We are running Confluence 4.1 (500-seat license) on Windows 2000 Server.

If it matters, the reason I need the HTML file is to troubleshoot CSS/formatting issues in our PDF output.

1 answer

1 accepted

0 votes
Accepted answer
Joe Clark Atlassian Team Mar 07, 2012

The HTML files probably get deleted after the export is completed, since they're just intended as temporary files.

I'm pretty sure that the HTML Export in Confluence is very similar to the PDF Export - can you try exporting to HTML instead of PDF to see if you can use those files to troubleshoot your problem?

Thanks for the reply. I'm going to try that HTML export, because there are still some very difficult to troubleshoot issues with formatting in the PDF. Now I am aware more of the "heading demotion" issue.

I still have some strange formatting that I want to track down the cause of. Some body paragraphs and some table paragraphs that appear different point size, for no reason that I can see. In the Confluence editor, the paragraphs all seem to be formatted the same, but in the PDF their point (font) size changes. I've tried "clear formatting" and re-applying the "Paragraph" style. I guess this goes back to the need for access to the actual XML/XHTML or whatever it is code.

Does anybody use the developer tools built into Chrome or the plugins for Firefox to directly manipulate the wiki storage formatting?

Joe Clark Atlassian Team Mar 22, 2012

We're working on a source editing mode for Confluence, but it's not available yet. Unfortunately, you can't use the browser's developer tools to edit the source because the HTML that is rendered in the editor is different to the source that is actually saved in Confluence.

You could try using the Remote API to access the XHTML source of the page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

481 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you