Page 1 of 1

Filter processing-instructions from actions

Posted: Tue Mar 22, 2016 2:11 pm
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

Re: Filter processing-instructions from actions

Posted: Tue Mar 22, 2016 4:22 pm
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

Re: Filter processing-instructions from actions

Posted: Wed May 04, 2016 3:19 pm
by Radu
Hi,

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

Regards,
Radu