This simple tool allows to use Smart Document Engine for filling DOCX template documents using fields recognized from images.
Requires Python 3, python-docx, wxPython, and Smart Document Engine.
Build instructions tested for MacOS, Smart Document Engine v1.11.0, but can be easily adapted for other operating systems supported by Smart Document Engine (Windows, Linux-based).
-
Add your personal signature to the line 95 of
docengine_cli.cpp
, taken from/doc/README.html
file of Smart Document Engine SDK. -
Build
docengine_cli.cpp
with a dynamic linking tolibdocengine
(assumingdocengine_cli.cpp
is in/bin
folder of the SDK:
$ clang++ docengine_cli.cpp -O2 -I ../include -L. -l docengine -o docengine_cli -Wl,-rpath,"@executable_path"
-
Move
docengine_cli
executable andlibdocengine
binary to theresources
folder. -
Move the configuration bundle (from
/data-zip
directory of the SDK) to theresources
folder. -
Modify
resources/config.json
if necessary.