eclipse-birt / birt

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

WordEmitter, DOCX: Improve current docx-output to simplify the created wpml-structure of docx #1957

Closed speckyspooky closed 3 weeks ago

speckyspooky commented 3 weeks ago

The current word emitter has currently some challenges if the user tries to work with the result. From user side the BIRT-docx isn't like a standrad word-document and it is not easy to change the word-documents based on the created huge count of grids and empty lines (paragraphs).

The main topics are:

Discussions were done before:

1352 DOCX with additional lines add header and footer

1879 DOCX grid arround all HTML-wrapped text paragraphs

Reserach result:

Upcoming changes:

  1. Improve the MHT-file handling to activate the standard margin
  2. Allow the combination of margin & padding handling (point 1) to simulate the current handling
  3. Avoid the additional grid and paragraph on header & footer
  4. Avoid the empty paragraph of the list grid cell
  5. Add new standard option for WordEmitter-user properties
  6. All options can be controlled by user properties to change back the behavior because the docx-structure will be changed

Planned timeline: I will implements these changes and will create a PR for BIRT 4.18

speckyspooky commented 3 weeks ago

This change is merged to the master with PR #1958