Probesys / lotemplate

LOTemplate is document generator used to create documents programatically (ODT, DOCX, PDF) from a template (DOCX or ODT) and a json file.
GNU Affero General Public License v3.0
23 stars 1 forks source link

Major refactoring, separated statements #27

Closed philippe-levan closed 11 months ago

philippe-levan commented 11 months ago

Only an internal change. We separate statement management into separate files in order to have a code more readable

We created 6 "Statement" classes in a Statement/ directory that will manage

All classes and methods like IfStatement, ForStatement, ... and all the methods like scan_text, scan_table, scan_if, scan_for,... if_replacement, fill_text, fill_table,... are moved to the corresponding Statement class.

Changes

Checklist