History log of /plugin/dw2pdf/src/Writer.php (Results 1 – 16 of 16)
Revision Date Author Comments
# 6444f9a1 27-Jan-2026 Anna Dabrowska <dabrowska@cosmocode.de>

Fix revision handling


# 1a52a777 15-Jan-2026 Anna Dabrowska <dabrowska@cosmocode.de>

Rename DokuPdf class to avoid accidental deletion based on deleted.files

deleted.files includes DokuPDF already, and on some systems the extension manager might delete DokuPdf as well


# b08d5470 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

pass the Config object into the renderer

This streamlines the configuration to a single point of entry. The
renderer was the last bit not adhering to that.


# bee95f00 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

Overhaul chapter/header counting in renderer

Using static variables makes it impossible to automatically test this
correctly.

The PDF renderer is now a singleton. The Writer class initializes it
an

Overhaul chapter/header counting in renderer

Using static variables makes it impossible to automatically test this
correctly.

The PDF renderer is now a singleton. The Writer class initializes it
anew for each export, but during the export, the same renderer is
reused.

show more ...


# f2000117 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

make PdfExportService reusable in debug mode

This refactors the service so that tests can easily access the produced
debug HTML


# 7542e5b4 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

some minor fixes based on PR feedback


# 5340eaff 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

rector and codesnifffer fixes


# 5eabda9a 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

fix additional blank page at the end


# bbcdb3fe 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

rewrite internal links. implements #526


# f77f381a 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

fixed issues from first real run


# 0eefd8f7 25-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

decouple renderer

This starts to approach #528 and #526


# 293d84e6 24-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

more refactoring

The basic handling of page collecting, caching and rendering is now
defined.

There is still some ugly dependency in the renderer and the
ImageProcessor loading is not reimplemented

more refactoring

The basic handling of page collecting, caching and rendering is now
defined.

There is still some ugly dependency in the renderer and the
ImageProcessor loading is not reimplemented yet.

After the above a first attempt to actually run the code can be made.

show more ...


# 081fc334 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

Handle styles

We now have a Styles class that takes care of loading the styles from
plugins etc.


# 1d334a8c 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

handle debug writing


# b883aece 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

add toc handling


# c5c184fd 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

first start at refactoring

We now have a few classes that separate the concerns

DokuPDF - inherits from mPDF and doesn't do much anymore except for a
few internal defaults and overwrite

first start at refactoring

We now have a few classes that separate the concerns

DokuPDF - inherits from mPDF and doesn't do much anymore except for a
few internal defaults and overwrites
Config - encapsulate the configuration (file and input vars) and created
an mpdf config array
Template - handles loading the template files and applies placeholders
Writer - composites the above classed and gives access to write
operations

show more ...