[oXygen-user] PI between <tr> visible in Author mode?
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Wed Aug 14 01:07:03 CDT 2019
Hi Tony,
About this remark:
> I also haven't found a way to insert a PI between <tr> in Author mode.
That's because usually when moving inside a table the cursor moves from
one row to another and does not stop between the rows.
In the Oxygen Preferences->"Editor / Edit Modes / Author / Cursor
Navigation" page there is a checkbox called "Quick navigation in tables"
which can be disabled to allow the cursor to also be placed between
rows. But I think it's best to create some kind of custom Author action
based on a pre-existing operation like "InsertFragmentOperation":
https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/dg-default-author-operations.html#dg-default-author-operations__insertfragmentoperation
The action defined in the framework configuration could be called
"Insert a page break processing instruction before current row". And it
could be added for example to the contextual menu when you right click
inside a table cell.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
On 8/13/2019 10:17 AM, Tony Graham wrote:
> On 13/08/2019 07:14, Oxygen XML Editor Support (Radu Coravu) wrote:
>> I will add an issue for this but I can give no guarantees that this
>> will be done. It's something quite hard to implement using our
>> current architecture and the use cases are not very frequent.
>
> Thanks anyway.
>
> I also haven't found a way to insert a PI between <tr> in Author mode.
>
>> Maybe you can try as a workaround to implement some kind of side view
>> in which the processing instructions are shown and edited when the
>> cursor is places on a table row and then use our API to make changes
>> to the processing instructions and update the XML document.
>
> We already have info-level Schematron <report> as a budget way of
> locating the PIs. I'll look into what can be done once the PI is
> selected by clicking on the little blue bar.
>
> Regards,
>
>
> Tony Graham.
More information about the oXygen-user
mailing list