Filter processing-instructions from actions

Post here questions and problems related to oXygen frameworks/document types.
Denis
Posts: 47

Filter processing-instructions from actions

Tue Mar 22, 2016 2:11 pm

Hi,
we are using Eclipse Oxygen Author 17.1.

We are using processing-instructions (pi) to hold informations. If there are informations that the user want to see, we read the pi and show the information through CSS. So the user do not see the pi's. Now I have found some actions, which break the informations, which are stored in the pi.

When I'm turn on the option Full Tags in the author tab, I can select the tags and get the following actions in the context menu entry 'Text':
  • To Lower Case
  • To Upper Case
  • Capitalize Sentence
  • Capitalize Words
This actions are going through the content and do they work for all elements, which are within the selection. Also the pi's.
Is there a way to filter pi's, when the user want to use this actions?

Best regards
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
Radu
Posts: 5689

Re: Filter processing-instructions from actions

Tue Mar 22, 2016 4:22 pm

Hi Denis,

Indeed, right now the operations count or modify even the invisible content and indeed I also think they should skip over the invisible areas. So I will add an issue for this on our side.
Right now, as a possible workaround you could try to implement the actions on your side, the Java sources for them should be available in our Maven based SDK:

ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation

ro.sync.ecss.extensions.commons.operations.text.FormSelectedTextOperation

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

Re: Filter processing-instructions from actions

Wed May 04, 2016 3:19 pm

Hi,

Just to update this thread, this issue should be fixed in Oxygen 18.0.

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 0 guests