Skip to content

bonitasoft/bonita-connector-document-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bonita-connector-document-converter

Sonarcloud Status GitHub release Maven Central License: GPL v2

Bonita connector converting office document (in formats docx and odt) to pdf/html format

Implementation is based on XDocReport

Bonita compatibility

v2.3.0 is compatible with Bonita version 7.11.x and above

Build

Clone or fork this repository, then at the root of the project run:

./mvnw

Release

In order to create a new release:

  • On the release branch, make sure to update the pom version (remove the -SNAPSHOT)
  • Run the action 'Create release', set the version to release as parameter
  • When the action is completed, do not forget to manage the release on the nexus (close and release)
  • Update the master with the next SNAPSHOT version.

Known limitations

Rendering issues:

  • Bullet points
  • Strike-through
  • Exponents
  • Indexes
  • Highlighting
  • Asian fonts support need a specific iText jar with a non-compliant license. Therefore, it cannot be provided built-in.
  • Image positioning
  • Drawing shapes
  • Aligning of some text elements

Execution performance

  • Simple doc (1 to 5 pages) without images (< 500ms) on a standard desktop configuration.
  • Simple doc (1 to 5 pages) with images (1 to 5 s) on a standard desktop configuration.
  • Advanced doc (50 pages) without images ( 5s) on a standard desktop configuration.
  • Advanced doc (~50 pages) with images (> 5s) on a standard desktop configuration and can fail with a stack overflow exception for very large documents and many images.

Contributing

We would love you to contribute, pull requests are welcome! Please see the CONTRIBUTING.md for more information.

License

The sources and documentation in this project are released under the GPLv2 License