History log of /plugin/dw2pdf/renderer.php (Results 1 – 25 of 36)
Revision Date Author Comments
# 3ddddb3b 20-Jul-2026 Andreas Gohr <gohr@cosmocode.de>

rector fixes


# 631fdc31 28-Jan-2026 Anna Dabrowska <dabrowska@cosmocode.de>

Fix failing tests


# 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 ...


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

introduce a first test for rendering - testing numbered headlines

The test passes, but I am not 100% sure the behaviour is correct yet.
Static variables in the renderer might be a problem. Not teste

introduce a first test for rendering - testing numbered headlines

The test passes, but I am not 100% sure the behaviour is correct yet.
Static variables in the renderer might be a problem. Not tested with
multiple documents yet.

Currently render options need to be set via global conf and are not
passed from the Config object.

show more ...


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

rector and codesnifffer fixes


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

rewrite internal links. implements #526


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

decouple renderer

This starts to approach #528 and #526


# 5aaf6fd4 25-Oct-2023 Gerrit Uitslag <klapinklapin@gmail.com>

fix comment


# c4c95814 25-Oct-2023 Klap-in <Klap-in@users.noreply.github.com>

�� Automatic code style fixes


# 852931da 13-Sep-2023 Andreas Gohr <andi@splitbrain.org>

rector and php sniffer cleanups


# 2784c58c 28-Feb-2023 Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com>

Fix "Undefined array key" PHP warning with interwiki links

This fixes #474 that was happening when mPDF was attempting to parse interwiki link "img" tags. The "vertical-align" property should use "m

Fix "Undefined array key" PHP warning with interwiki links

This fixes #474 that was happening when mPDF was attempting to parse interwiki link "img" tags. The "vertical-align" property should use "middle" instead of "center", as "center" didn't exist as a value for this CSS property.

show more ...


# 2dc231c0 08-Oct-2022 Gerrit Uitslag <klapinklapin@gmail.com>

Merge pull request #410 from vincowl/numbered_headers

Allow headings numbering


# 21a55743 05-Oct-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix some PHP 8 warnings

Should fix #459


# ba7b42ad 29-Jun-2022 Gerrit Uitslag <klapinklapin@gmail.com>

add optional parameter to header() in renderer


# 9c76f78d 15-Aug-2020 Vincent GIRARD <vincent@heliosphere.fr>

Allow headings numbering


# db51f599 10-Dec-2017 Gerrit Uitslag <klapinklapin@gmail.com>

reformatting


# bb7717bc 10-Dec-2017 Gerrit Uitslag <klapinklapin@gmail.com>

bookmarklevels may rise by 'only' +1

It seems that bookmarklevels in pdf should only increase by +1
Of course this creates a mismatch between actual levels and
bookmarklevels. This patch flattens th

bookmarklevels may rise by 'only' +1

It seems that bookmarklevels in pdf should only increase by +1
Of course this creates a mismatch between actual levels and
bookmarklevels. This patch flattens the nesting at the original level
were the mismatch started.

Fixes #218

show more ...


# 130c62ee 30-Nov-2017 Gerrit Uitslag <klapinklapin@gmail.com>

reformatting


# 236e9da2 10-Dec-2017 Gerrit Uitslag <klapinklapin@gmail.com>

phpDocs renderer


# 57a1b6f9 29-Nov-2017 Gerrit Uitslag <klapinklapin@gmail.com>

add ToC item in dw2pdf's header() as well

Otherwise plugins that use the ToC don't have the ToC available.

See also #212


# 528811ff 04-Feb-2016 Anael Mobilia <AnaelMobilia@users.noreply.github.com>

Adjust method signatures to match parent


# 9e1a2ac6 04-Feb-2016 Anael Mobilia <AnaelMobilia@users.noreply.github.com>

Adjust method signatures to match parent


# 0a23c2bc 04-Feb-2016 Anael Mobilia <AnaelMobilia@users.noreply.github.com>

Adjust method signatures to match parent


# 02f9a447 15-Dec-2014 Gerrit Uitslag <klapinklapin@gmail.com>

add autogenerated ToC - export depend configs

- Note that the ToC provided by mpdf is quite rigide.

===Note===
replace / in header_odd.html by pagenumSuffix = '/' to have only / if
the total pagen

add autogenerated ToC - export depend configs

- Note that the ToC provided by mpdf is quite rigide.

===Note===
replace / in header_odd.html by pagenumSuffix = '/' to have only / if
the total pagenumber is defined for that page. (e.g. in autogenerated
ToC it is not defined)
Not default used because pagenumSuffix can create double // in already
existing non-default templates

show more ...


12