Header "Align with page margins" on

Topics: Developer Forum, User Forum
Jun 19, 2012 at 1:43 PM
Edited Jun 19, 2012 at 4:58 PM

Hello! I am trying to create *.xls document with "Excel5 Writer", that checkbox "Align with page margins" was activated, but when i create document, and open it, this checkbox is not activated, so if I change margins with code getActiveSheet()->getPageMargins()->setRight(0), header doesnt' margin with primary body.

I tryed to activate this checkbox with calling function getHeaderFooter()->setAlignWithMargins( true ), but it doesn' work!