Hello everybody!
I've just finished my home opensource project and I'm ready to share the results with you.
I've been coding for ARIS Platform (scripts, macros) for many years. And there was a lot of situations when I needed to make special formatting in report, but standard output functions didn't allow to meet these requirements.
Some months ago I faced with the problem again, when I needed to create a footnote in output file. But there was no functions to create footnotes as well as endnotes. Yes, I know about POI library and I read a post on this forum about it. But POI has many other restrictions and you can't change it on the fly to make special output you need.
That's why I decided to create own JS library for .docx output. It's called wdxLibrary. It works over OpenXML4J and ooxml-schemas.
It has next features:
- Sections and their properties
- Columns of the page
- Special text formatting (any formatting you can find in ECMA standards)
- Special paragraph formatting
- Footnotes
- Endnotes
- Headers
- Footers
- Fields (page number, table of contents etc)
- Tables, table rows, table cells and their properties
- Bookmarks
- Hyperlinks (internal and external)
- Numbered and bulleted lists (including multilevel lists)
- Embedded files
- Graphic output
- “Native” styles of document
You can find this library here https://github.com/kitmarty/wdxLibrary. Don't forget about readme file. Hope you'll find wdxLibrary useful. It works in ARIS 7.2 and 9.8 (9.6). I don't have an opportunity to test it on ARIS 10.
In attached file you can find some formatting you can get if you use wdxLibrary. This file was generated using it.
It's possible to use base of wdxLibrary to develop same libraries for .xlsx and .pptx.