Adding thead or choptionhd to an existing table

Hi group Is there an easy way to: - Add a heading row (<thead> or <choptionhd>) to an existing table in oXygen XML Author's Author view? - Convert/transform the first row of an existing table to a heading row? Thanks -- Yves Barbion www.scripto.nu

Hi Yves, Starting with oXygen version 16 (that will be released in a couple of weeks) a "Table Properties" action will be available in the Author contextual menu. This action will allow you to change a table row type from body row to header row (and vice versa). To add a table header row you will be able to use the "Insert Row Below" action (when the caret is positioned before the first row) and then change its type to header (using the "Table Properties" action). What you can do right now is to insert a header element directly from the contextual menu, but this will result in a header row with a single cell inside (and you have to manually insert the rest of the cells to complete the row). If you want to have the two actions (adding a header row and converting a row to a header row) available in oXygen 15.2 you can create a custom action that uses an XSLTOperation to modify the table fragment. An XSLTOperation applies an XSLT on a source element and then replaces or inserts the result in a specified target element. For more information see our online documentation: http://www.oxygenxml.com/doc/ug-editor/topics/dg-default-author-operations.h... Regards, Mihaela Mihaela Calotescu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/30/2014 4:04 PM, Yves Barbion wrote:
Hi group
Is there an easy way to:
* Add a heading row (<thead> or <choptionhd>) to an existing table in oXygen XML Author's Author view? * Convert/transform the first row of an existing table to a heading row?
Thanks
-- Yves Barbion www.scripto.nu <http://www.scripto.nu>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Oxygen XML Editor Support (Mihaela Calotescu)
-
Yves Barbion