After setting a table background color, saving as RTF, and loading back the RTF, the background color of the table is reset to "transparent" instead of the color selected before the save.
Is this a bug? Presumably the table background color should be saved and loaded back with the rest of the rich text.
Thanks,
Eric
Table background color not preserved in RTF load/save
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Table background color not preserved in RTF load/save
RTF and DocX formats do not support table backgrounds.
You can test it in MS Word. In the table properties dialog, click options, Allow spacing between cells (to view table around cells).
When click the dropdown button for borders on the ribbon (Home | Paragraph), choose "Borders and Shading".
Apply color to the table and then another color to some cells.
Looks good, but...
Then save as RTF and as DocX.
After loading, you will see that table color becomes transparent.
You can test it in MS Word. In the table properties dialog, click options, Allow spacing between cells (to view table around cells).
When click the dropdown button for borders on the ribbon (Home | Paragraph), choose "Borders and Shading".
Apply color to the table and then another color to some cells.
Looks good, but...
Then save as RTF and as DocX.
After loading, you will see that table color becomes transparent.
Re: Table background color not preserved in RTF load/save
Ok,thanks for the information. That makes sense. I was confused a bit because that property is in the built-in table configuration page (rvActionTableProperties). But I assume you have it there because other formats will support it. Makes sense. I assume there is no way to hidethat from the table properties page?
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Table background color not preserved in RTF load/save
Assign RVAControlPanel.UserInterface = rvauiRTF.
This setting hides or disables most features incompatible with RTF/DocX.
This setting hides or disables most features incompatible with RTF/DocX.
Re: Table background color not preserved in RTF load/save
Awesome. Thanks!