Workaround/plugin for applying pdf custimizations to single page export?

Hi,

Is there anybody who has come up with a hack/plugin to make the single page export redirect to the flyingpdf thing until Atlassian fixes CONF-17853 ?

It seems that if you create a PDF via the advanced section, a HTTP POST is done with the id of the page against this URL:

http://confluence.mycomp.com/spaces/flyingpdf/doflyingpdf.action?key=SPACEKEY

with this form data:

  1. atl_token:
    G3vRXONLa2
  2. contentToBeExported:
    31031379
  3. synchronous:
    false
  4. confirm:
    Export

Where 31031379 is the id of the page.

Given this information, it seems very likely that somebody who created a Confluence plugin before can hack together something to fix this :)

regards,

Wim

PS: I am aware of the Atlassian proposed workaround to define the styles 2 times in different ways, but for me, I cannot get them to match exactly, so I would like to have this as workaround.

1 answer

Single page exports still use the PDF stylesheets. You could apply your customizations using CSS instead than the HTML layouts as explained in Adding Headers and Footers to Single Page Exports.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

628 views 21 11
Join discussion

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