Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Export: change font sized used for "Page Properties Report" and "Table" content only

Gavin Fowler
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.
June 24, 2016

Hi

can anyone help - I'm looking to address some anomalies I'm getting when creating PDF output on pages that use either "page properties report" or "table". Typically my user community is finding that this data is often truncated or badly formatted. changing the page orientation form portrait to landscape is undesirable - so my thoughts turned to selectively change the PDF stylesheet to change the font size only when a "page properties report" or "table" macro is being output  - the remainder of the PDF output uses the default font. 

I've looked at the examples: https://confluence.atlassian.com/conf53/customising-exports-to-pdf-411108704.html where it outlines how to change the font for the whole PDF output - but my desire is to change the output for just the PDF output for the macros stated (page properties report / table)

Many thanks!

1 answer

0 votes
Steffen Heller
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.
August 29, 2016

Changing the font size for a specific area within the page (like these macros) should be possible when you find the right CSS selectors. In other words you must check the HTML source code for that area and then define CSS that will (1) take effect for these HTML tags, (2) leave all the rest unaffected and (3) has a higher priority and overwrites other (standard) CSS formats.

First step is to know the HTML code. If I did, I could try my luck.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events