Hi,
I have Confluence Data Center and there I use the feature that spaces can have custom header, footer, sidebar texts. The feature is under "Look and Feel" in die GUI.
However, I would like to automate what is written in the header, ... depending on the space. Therefore, I am working on a plugin to set header texts for all spaces.
My question: Is there an (internal/Java) API that I can use to get/set the text for header/footer/sidebar?
In the Confluence Javadoc, I found a class "CustomPageContentAction" that has a method "setHeaderText" - but I have no idea how to use it.
Is it possible? If so, how?
Bonus question: If possible, I would also like to change the stylesheet for a space. My best guess is, that if above is possible, then it will also be possible to change the style?!
Thanks!
Tim