Custom word export button

Greetings!

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!

Igor

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 plugins.atlassian.com 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 :)

Josh

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.

https://marketplace.atlassian.com/plugins/com.clariostechnology.intelligentreports

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,132 views 2 6
Read article

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