Custom word export button


I'd like to customise the "export to word" function as described in your official help document (using CSS styles). But the problem is that I'd like to do that only for a certain subset of my pages. I want the rest to be exported in the usual way. I thought that adding another type of export (with another set of CSS rules) would be very helpful, so that user could choose which type of export (regular or specification in my case) he/she wants to perform.

Could you please direct me to any resource on this topic? I googled a lot and I've checked in this forum - didn't get any answer.

Thanks a lot!


2 answers

Just for brainstorming :

For that, you would "just" have to build a plugin, which offers a button in the EXTRAS menu. If you have sourcecode access, you could maybe clone the "standard word export" and build your own plugin ontop of that.

Or you check with the repository. There is an old "expot to word" plugin running aroung It never got very far and was buggy, but maybe the sourcecode is available. You coud start from there.

Alternatively, you check you the "Theme builder" from adaptavist to use certain themes for certain areas. At the most, you would need to create a "fassade" pagetree, importing the orignal pages and applying its own theme on them. maybe you dont need even that stunt.

Finally, you can assign "own" css-classes to your content in many places. You could use "user makros" to wrap the standard-macros with special CSS classes. Something like

mymacro = org-macro + mycssstyles

have fund checking this out and let us know, whats the best approach :)


There is a new plugin Intelligent Reporter which allows you to create as many templates as you like, formatting and laying them out in Word itself. You can also choose exactly which fields to export, and where they should appear in the document.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

900 views 23 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you