It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Wim Deblauwe Jul 01, 2012

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

0 votes

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

851 views 6 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you