Table stylesheet not applied to tables on import

This forum is for all Flare issues related to importing files or projects.
Post Reply
elin_decker
Propeller Head
Posts: 10
Joined: Thu Aug 24, 2023 11:26 am

Table stylesheet not applied to tables on import

Post by elin_decker »

Hi, there. I'm importing Word documents with lots of tables. On the Advanced Options tab of the Word import file, I use "Apply a selected table stylesheet to all imported tables" and selected the stylesheet in the TableStyles folder. Yet when I import the Word files, the tables don't have the lines and shading as they are set up in the stylesheet. When I hover over the table tag, it indicates that I'm using the table stylesheet. It shows this: <table>class: TableStyle-Table-Styles. If I select the table and add the stylesheet (right-click the table > Table Style > Table-Styles.css) then the lines and shading are added. Now when I hover over the style, it shows the same thing: <table>class: TableStyle-Table-Styles. Any idea what I'm doing wrong?
Psider
Propellus Maximus
Posts: 850
Joined: Wed Jul 06, 2011 1:32 am

Re: Table stylesheet not applied to tables on import

Post by Psider »

The import process doesn't seem to apply a "style" property to the table tag that includes a relative link to the table style. (You can compare the table tag code before and after manually applying the correct table style to see the difference.)

However, the table styling appears correct in the output for me. So if this is a perpetual import rather than a once off, perhaps you can ignore the cruddy look?

And in either case, log a bug report with Madcap in the hopes it is fixed. :)
Psider
Propellus Maximus
Posts: 850
Joined: Wed Jul 06, 2011 1:32 am

Re: Table stylesheet not applied to tables on import

Post by Psider »

This also seems to only happen when "Remove inline formatting" is selected in the Advanced Options tab. If you have "Keep inline formatting" or "Convert inline formatting to CSS styles" the table styling appears correctly in the editor.
Post Reply