Hello,
Thank you for the info. It only affect the library when setting a marginFooter with modifyPageLayout method.
This is patch to solve it if using the classic package:
diff --git a/classes/CreateDocx.inc b/classes/CreateDocx.inc
index 52651e2..171433d 100755
--- a/classes/CreateDocx.inc
+++ b/classes/CreateDocx.inc
@@ -4663,7 +4663,7 @@ class CreateDocx extends CreateDocument
if (isset($layout['marginHeader'])) {
$sectionNode->getElementsByTagName('pgMar')->item(0)->setAttribute('w:header', $layout['marginHeader']);
}
- if (isset($layout[$paperType]['marginFooter'])) {
+ if (isset($layout['marginFooter'])) {
$sectionNode->getElementsByTagName('pgMar')->item(0)->setAttribute('w:footer', $layout['marginFooter']);
}
if (isset($layout['gutter'])) {
We have fixed it in the current stable branch.
Regards.