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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,944 views 27 12
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