Page 1 of 1
Refactoring tool to apply table borders
Posted: Sun Apr 16, 2023 12:46 pm
by SathyaOX
Hi team,
I am looking for a refactoring tool that would apply table separators or borders to the tables.
Re: Refactoring tool to apply table borders
Posted: Sun Apr 16, 2023 12:52 pm
by chrispitude
Hi Sathya,
You can probably use the Add/Change attribute refactoring operation to set the @frame, @rowsep, and @colsep attributes as needed.
Can you describe specifically what separators you are looking for?
- Chris
Re: Refactoring tool to apply table borders
Posted: Mon Apr 17, 2023 12:57 pm
by SathyaOX
I imported a table and by default, the table borders are not applied. I had to apply table borders manually. So I was looking for a refactoring tool to automate this.
Re: Refactoring tool to apply table borders
Posted: Mon Apr 17, 2023 1:39 pm
by chrispitude
Hi Sathya,
If all your tables use the same border/separator format, and you are using a CSS-based PDF or HTML transformation, then it might be better to apply a default table formatting in CSS and not have to worry about the table attributes.
If most of your tables have a common default format but some deviate from the default format, then you can use attributes to specify the deviations from the default.
If all of your tables are different, or you are using a non-CSS transformation like XSL-FO, then you can use just the attributes.
I explored this topic in the first post of the following discussion:
Implementing shared CSS table formatting across the Oxygen editor, PDF Chemistry, and HTML5/WebHelp
Re: Refactoring tool to apply table borders
Posted: Mon Apr 17, 2023 9:02 pm
by Radu
Hi,
By the way, how did you import the table in Oxygen? If you used our tools maybe we can work on our conversion process to automatically generate row and column separators in the future by default.
Regards,
Radu
Re: Refactoring tool to apply table borders
Posted: Wed Apr 19, 2023 9:47 am
by SathyaOX
Hi Radu, I used Batch Documents Converter.
Re: Refactoring tool to apply table borders
Posted: Thu Apr 20, 2023 9:51 am
by Cosmin Duna
Hi,
Thank you for reaching out to us regarding the issues you have experienced while importing tables from Word.
We already had an internal issue for adding the @frame, @rowsep, and @colsep attributes on tables when importing from Word and I added your feedback on it for increasing its priority. I will update this thread when we will fix it in the next versions of the Batch Documents Converter add-on.
Best regards,
Cosmin
Re: Refactoring tool to apply table borders
Posted: Mon Jul 24, 2023 10:56 am
by Cosmin Duna
Hi,
I wanted to inform you that version 5.2.0 of the Batch Documents Converter add-on has been released. The tables resulting from Word to HTML/DITA conversion now include 'frame', 'rowsep', and 'colsep' attributes.
Best regards,
Cosmin