Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Changing the Heading Level of Included Page Edited

We have a number of 'source' pages that are intended to be used as objects within a larger document. Each of the source pages begins with a Level 3 heading.

Authors choose the objects they need and {include-page} them into a larger document. Most of the time, heading level 3 is suitable. However, sometimes the heading structure of each larger document may need to change depending on its use.

Ideally we would be able to allow the author to change the heading level of the source pages to Level 2 or Level 4 when they are included in a document.

Does anyone have any experience handling this scenario, or have any suggestions? The documents are exported, so the change needs to be made to the stored content itself not just what's displayed on screen.

2 answers

This tends to work with lists, like when including a page containing a list within a list, it will create a sub-list with appropriate numbering.

That said, I've never found a way to manipulate headings. I was hoping that applying the heading style I want it to start with on the Include macro itself would do it, but no luck.

The projectdoc Toolbox (commercial license) allows to adjust section levels on transclusion. But it does so by the use of its own set of macros. The tip Heading Level Transposition shows how this works.

We use this feature and export the pages with Scroll Products to PDF or Word. Since you explicitly have requirements according to the stored content, I am not sure if your use case is different to ours and therefore may not be covered. The solution is generated on the server side and is not applied in the browser. But I need to recommend to check your requirements with a trial version to be sure. In case you have questions, please get in touch!

Please note that I am one of the authors of the projectdoc Toolbox. So my answer is certainly biased.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,559 views 6 7
Join discussion

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