Issue Details (XML | Word | Printable)

Key: CONF-6919
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Matt Ryall [Atlassian]
Votes: 30
Watchers: 18
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Confluence

Macros and plugins should be able to render themselves properly for PDF and HTML export

Created: 01/Sep/06 02:11 AM   Updated: 10/Nov/08 04:55 AM
Component/s: Export Page / Space, PDF Generation, WIKI / HTML
Affects Version/s: 2.2.8
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Part
 
Reference

Participants: Andy Brook, Ankur Gupta, Dan Hardiker, Hendrik Vermeiren, Matt Ryall [Atlassian] and Stefan Baader
Since last comment: 8 weeks, 3 days ago
Support reference count: 8
Labels:


 Description  « Hide
At the moment, macros and other plugins that generate content are aware of their render mode but don't have the facilities to correctly render themselves for the destination format. The following things are often broken in the export of macros:
  • links, especially to Confluence content
  • images
  • styles and complex markup

To fix this, macro plugins need access to a link/image URL generator for Confluence content.*

A better API that indicates which render modes are required would also help. The current method of relying on the author to check a field in the RenderContext means that the export render modes are often forgotten.

This issue incorporates specific instances of this problem.

  • There is actually a linkRenderer in the renderContext already. But to use it means creating a Link object, which itself requires a GenericLinkParser, a Manager and the object to be linked to. Not the easiest interface to work with.


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Stefan Baader added a comment - 20/Oct/06 08:29 AM
Hello
in our company's wiki we have the same problems exporting pdf.
Confluence 2.2.9
Stefan

Ankur Gupta added a comment - 11/Dec/06 11:47 AM
We were using PDF export as a means of taking confluence to those who don't want to come to it. The macros not working in the PDF export is a big disappointment.

Hendrik Vermeiren added a comment - 05/Dec/07 01:18 AM
We use the ms visio viewer as a user macro.
This displays fine, but the export to PDF misses the visio flow. See https://support.atlassian.com/browse/CSP-13435.
Please vote for this!

Dan Hardiker added a comment - 09/Nov/08 01:00 PM

Andy Brook added a comment - 10/Nov/08 04:55 AM
My users are starting to use more macros in pages, and are now hitting this. As company confluence advocate, its a little embarrassing that simple features break. I for one would trade new features for existing features working as users expect them to.

Given this issue has not many votes, and has been open for some time, I just know its not going anwhere soon. If I got each of my users to vote (~800 last check), would that speed up addressing the problem?!