DocxFactory is a free project for generating .DOCX files.
Features at a glance -
Simple to use - To create a .DOCX file, design a template (regular .DOCX file) and merge your data with the template using 4GL/ABL or from the command line. No technical knowledge of the .DOCX file format (Open XML) is required.
Powerful - Does a lot more than simply inserting values and creating simple letters, it allows you to truly create real world, sophisticated reports and includes barcodes, pictures, paging features and much more.
Barcodes - Supports an extensive list of 1D and 2D barcodes including Code39, Code128, EAN, UPC, ISBN, Databar, Postal Codes, PDF417, Data Matrix, QR Code, Maxi Code and many more.
Fast - Create a .DOCX file in milliseconds and millions of files per day.
Free - DocxFactory is Freeware. It is completely free for private and commercial use without any time or feature limits.
Cross platform - Available on Windows and UNIX/Linux.
To get started download the binaries for your operating system and follow the tutorial.
P.S. The slibxlsx project for generating .XLSX files and tutorial are also included for free.