eclipse-birt / birt

Eclipse BIRT™ The open source reporting and data visualization project.
http://www.eclipse.org/birt
Eclipse Public License 2.0
457 stars 394 forks source link

DOCX: new handling of word cause an word-error if the word-paragraph is empty #1975

Closed speckyspooky closed 1 week ago

speckyspooky commented 1 week ago

With the modernization of the word structure #1957 for foreign text content (= html content) the layout grid will not longer used. This cause a word error at opening. The condition of it is that the foreign text is internally "null" and part of a grid cell or table cell. The foreign content with content value "null" creates internally a word-paragraph but without content structure. The internal structure of foreign content should be created for every content situations and for a null value an empty foreign-content shall be created.

This wasn't a problem with the old version because many empty paragraphs was created at the end of a cell.

I will create a PR for the fix.