Confluence Table not exported to PDF correctly with Gliffy embedded in column (and customized CSS)

BenoitP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2014

Hi all,

  1. Create a page with a 2 column table.
  2. Embed a Gliffy in the second column.
  3. Customize your CSS with the typical table workaround:
    table.confluenceTable
    { table-layout:auto !important;
    width: 100% !important;
    font-size: 10pt !important;
    page-break-inside: auto;}
  4. Limit the size of your gliffy to 301px
  5. Export your page as PDF

Then your table is not rendered correctly in the PDF. The column where your gliffy is embedded is taking 90 % of the page width. It should take around 50%.

If you use the default CSS, it works ok (as it forces columns to static sizes...).

What did I miss?

Is there a special class to configure in the CSS to circumvent the problem?

Thanks.

1 answer

0 votes
BenoitP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2014

The only workaround I found is to use the .png file generated together with the gliffy instead of the gliffy itself. Then it works... but you loose the gliffy edition feature in the confluence page and you need to edit the attachements to get access to your gliffy...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events