Customize "collapse icons" style, size and position

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 198
Joined: Wed Jun 17, 2015 12:46 pm

Customize "collapse icons" style, size and position

Post by Johann »

Hello everyone,

I am using the last Oxygen SDK (17.1.0) and I would like to customize the collapse icons in the Author View. Is there a way to change the "arrow" icons used or maybe their size or position ?
The only related interface I found is ro.sync.exml.workspace.api.editor.page.author.fold.AuthorFoldManager but I cannot do what I want with it.

Thank you for your help,

Johann
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customize "collapse icons" style, size and position

Post by Radu »

Hi Johann,

Sorry but we do not have API which would allow you to customize the way in which the fold icon looks like or is placed.
Maybe a possibility would be not to use our folding support at all.
You can add form control buttons in the Author mode which can be associated to Author actions.
An Author Action can use a predefined operation to toggle a pseudo class on a certain element:

https://www.oxygenxml.com/doc/versions/ ... ditor.html
https://www.oxygenxml.com/doc/versions/ ... asses.html
https://www.oxygenxml.com/InstData/Edit ... ation.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply