Completed
Last Updated: 21 Dec 2021 10:32 by ADMIN
Release R1 2022
Marcin
Created on: 15 Dec 2021 14:36
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: DocxFormatProvider: Table default cell left and right margin values are changed when not specified in the document
The default left and right margins for a table in MS Word are 0.08". However, the DocxFormatProvider uses 0 as a default value and overrides the padding when any of the top, bottom, right, or left is applied. For example:

<w:tblCellMar>
	<w:top w:w="2880" w:type="dxa"/>
	<w:bottom w:w="2880" w:type="dxa"/>
</w:tblCellMar>
after import/export results in
<w:tblCellMar>
	<w:top w:w="2880" w:type="dxa"/>
	<w:left w:w="0" w:type="dxa"/>
	<w:right w:w="0" w:type="dxa"/>
	<w:bottom w:w="2880" w:type="dxa"/>
</w:tblCellMar>

3 comments
ADMIN
Dimitar
Posted on: 21 Dec 2021 10:32

Hi Marcin,

I am sorry to hear that you have experienced issues with our library. Please note that we are constantly working on issues and new features but there still can be unhandled cases since the formats support many features and ways for creating documents.

I can see that you have unlimited support. The best way for such cases would be to open a new ticket and attach your document. This way our support team will be able to properly investigate each case and provide solutions where possible. The tickets are confidential and the documents will not be shared with any third parties.  

Thank you in advance for your patience and cooperation. Do not hesitate to contact us if you have any questions.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Marcin
Posted on: 20 Dec 2021 10:18
Thank you for fixing this bug :) In the meantime, I needed to switch from Telerik Word Processing to OpenXML. I found that your library does not preserve many nuances of the Word files I have been using. A simple operation, such as loading a Word document in your provider and then saving it under another name, was a root cause of many layout changes. OpenXML is stable solid in this regard, though a little bit harder to use.
ADMIN
Peshito
Posted on: 20 Dec 2021 09:44

Hello,

This item will be available in R1 2022 Release. 

It is also available with Telerik UI for WPF's latest internal build - LIB 2021.3.1220 (20 Dec 2021) if you need it earlier. 

Regards,
Peshito
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.