Table cells color in preview panel but not in MSWord file

Questions and answers on how to use DOCXReadWrite
Post Reply
Michel Huybrechts
Posts: 3
Joined: Sun Sep 10, 2017 1:30 pm

Table cells color in preview panel but not in MSWord file

Post by Michel Huybrechts »

I used the example “Tables” to find out how to color cells. That works perfectly on the preview pane, but the color does not appear in the MSWord file.
Below are the preview and the MSWord images to show the results (I hope) of “Create a Table”, followed by “Borders and Colors”.

In addition, changing the border colors also does produce problems in the cell corners (upper right, lower left and lower right corners: lines do not close).

Is there a way to solve this problem? Showing a fill color is more important than changing the border colors.

I inserted the pictures file names between <img> and </img> but I am not sure this makes the pictures visible.

Kind regards,

Michel Huybrechts
MICRI Consult BVBA
www.micriconsult.be

[img]C:\Embarcadero\DocxRW\Issues\preview.jpg[/img]
[img]C:\Embarcadero\DocxRW\Issues\word.jpg[/img]
Vinski
Posts: 12
Joined: Thu Dec 16, 2021 7:41 am

Re: Table cells color in preview panel but not in MSWord file

Post by Vinski »

I have the same problem, of cell colors only showing in the Preview.
Has this problem been fixed in an update, yet?

Kind regards!
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Table cells color in preview panel but not in MSWord file

Post by larsa »

Hello

Have you tried the latest update? As you can see, the first posting is more than 4 years old...
Lars Arvidsson, Axolot Data
Vinski
Posts: 12
Joined: Thu Dec 16, 2021 7:41 am

Re: Table cells color in preview panel but not in MSWord file

Post by Vinski »

I have the latest version 1.

The main motivation for my question was to find out, whether it is worth upgrading to version 2.
I couldn't find anything in the changelog, hence I was asking here.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Table cells color in preview panel but not in MSWord file

Post by larsa »

Hello

Cell colors works correct with version 2.
Lars Arvidsson, Axolot Data
Vinski
Posts: 12
Joined: Thu Dec 16, 2021 7:41 am

Re: Table cells color in preview panel but not in MSWord file

Post by Vinski »

Thanks for the answer!
I will upgrade, then.
Post Reply