DOCXReadWrite kills table formatting
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
DOCXReadWrite kills table formatting
Hi,
I have the following problem with a simple find/replace. The docx contains data in a formatted table. The data is replaced fine, but in the process the table formatting is destroyed.
e.g. coloured header is gone or the complete background of the table is black (I beleive the shading fill is black)
I cannot attach the document but it is simple to reproduce. Just create a table with a default style. find/replace and the style is gone.
Can I send you some of the documents that failed to replace? Maybe I'm doing something wrong or else it would realy be great if this can be fixed soon.
Thanks for your help.
Frank
I have the following problem with a simple find/replace. The docx contains data in a formatted table. The data is replaced fine, but in the process the table formatting is destroyed.
e.g. coloured header is gone or the complete background of the table is black (I beleive the shading fill is black)
I cannot attach the document but it is simple to reproduce. Just create a table with a default style. find/replace and the style is gone.
Can I send you some of the documents that failed to replace? Maybe I'm doing something wrong or else it would realy be great if this can be fixed soon.
Thanks for your help.
Frank
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Also, when the docx contains a table and the table Text wrapping is set to Around, the find does not return anything. Setting the text wrapping to None will make the find return the desired value.
Regards,
Frank
Regards,
Frank
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Hi, I found the formatting error in the search/replace.
The table properties "Borders and Shading" are set incorrect after find/replace
- Borders Setting All Color is set to Black in stead of the original value automatic
- Shading Setting Fill is set to Black instead of the original value No Color
Please advise... is there a way in code to work around this?
The table properties "Borders and Shading" are set incorrect after find/replace
- Borders Setting All Color is set to Black in stead of the original value automatic
- Shading Setting Fill is set to Black instead of the original value No Color
Please advise... is there a way in code to work around this?
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Any response would be appreciated...
paying customer here
paying customer here
Re: DOCXReadWrite kills table formatting
Hello
Can you show the code you are using?
Can you show the code you are using?
Lars Arvidsson, Axolot Data
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Hi,
the sample 4 application (DOCXRWSampleFindingText in directory 4-FindingText)
Can I send my sample docx to you for easy reproducing the issue?
Regards,
Frank
the sample 4 application (DOCXRWSampleFindingText in directory 4-FindingText)
Can I send my sample docx to you for easy reproducing the issue?
Regards,
Frank
Re: DOCXReadWrite kills table formatting
Hello
Yes. Please send your file to components(a)axolot.com
Yes. Please send your file to components(a)axolot.com
Lars Arvidsson, Axolot Data
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Hi Lars,
I have send the docx to you. Note that for example a simple find on the word Datum does not return results. Also note that the black header of the first table is removed after saving.
Regards,
Frank
I have send the docx to you. Note that for example a simple find on the word Datum does not return results. Also note that the black header of the first table is removed after saving.
Regards,
Frank
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Hi Lars,
sorry to be pushing you, but my customer is pushing me for a new implementation without MSWord. I need your component for this and I cannot continue now. Can you give a timeline for a solution?
Regards,
Frank
sorry to be pushing you, but my customer is pushing me for a new implementation without MSWord. I need your component for this and I cannot continue now. Can you give a timeline for a solution?
Regards,
Frank
Re: DOCXReadWrite kills table formatting
Hello
The color issue is fixed now. Please download the latest update.
Regarding setting wrapping to Around on a table; this will store the table in a text box. If you want to find any text, you have to search the text boxes.
The color issue is fixed now. Please download the latest update.
Regarding setting wrapping to Around on a table; this will store the table in a text box. If you want to find any text, you have to search the text boxes.
Lars Arvidsson, Axolot Data
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
Thanks! I'll try the new version.
-
- Posts: 20
- Joined: Mon Jun 27, 2016 5:34 pm
Re: DOCXReadWrite kills table formatting
It is working fine. Thanks for the support.