Hi,
I can confirm this bug(?). modifyPageLayout works perfectly, all margins are set correctly including marginFooter and marginHeader.
Now I import via importHeadersAndFooters('./Vorlage.docx', 'footer') and the footer margin is set to 1,25cm. Since there is no header to import, the marginHeader is still correct.
I also tried to importHeadersAndFooters and then modifyPageLayout, but also modifyPageLayout and then importHeadersAndFooters but this changes nothing.
If there is a solution/fix for this behaviour, I'll be happy to get a hint!
Thanks!