Customize "collapse icons" style, size and position

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 66

Customize "collapse icons" style, size and position

Thu Dec 10, 2015 12:27 pm

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: 5516

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

Thu Dec 10, 2015 2:28 pm

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/17.1/ug-editor/index.html#topics/button-editor.html
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/index.html#topics/dg-custom-css-pseudo-classes.html
https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/commons/operations/TogglePseudoClassOperation.html

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 1 guest