PHP Classes

File: CHANGELOG.md

Recommend this page to a friend!
  Packages of MVONE AYORATOU ARTHUR   Document Generator X   CHANGELOG.md   Download  
File: CHANGELOG.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Document Generator X
Generate PDF documents from HTML or DOCX templates
Author: By
Last change:
Date: 3 days ago
Size: 982 bytes
 

Contents

Class file image Download

Changelog

All notable changes to this project are documented in this file.

[2.0.7] - 2026-06-08

Added

  • array variable type (`{{name:array}}`) for repeating table rows. A list of values fills a table column top-to-bottom: the row holding the placeholder is cloned once per value, blank rows drawn beneath it are reused first, and extra rows are added (or surplus blank rows removed) so the table always matches the data length. Several `array` columns in the same row expand together to the longest list, padding shorter columns with blank cells. An `array` placeholder outside a table renders its values on separate lines. Values are XML-escaped and accept the same inline styles as text.

Tests

  • Unit tests `ArrayProcessorTest` and `VariableParserArrayTest`.
  • Real-`.docx` feature test `DocxArrayExpansionTest` covering the full fragment-repair -> array-expansion -> replacement pipeline.
  • Runnable example `examples/array_table_demo.php`.