Filter processing-instructions from actions

Post here questions and problems related to oXygen frameworks/document types.
Denis
Posts: 47
Joined: Thu Jun 19, 2014 3:55 pm

Filter processing-instructions from actions

Post by Denis »

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: 9470
Joined: Fri Jul 09, 2004 5:18 pm

Re: Filter processing-instructions from actions

Post by Radu »

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: 9470
Joined: Fri Jul 09, 2004 5:18 pm

Re: Filter processing-instructions from actions

Post by Radu »

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
Post Reply