* Fixed reenabling of autopagebreak after disabling it to prevent image reescaling in  imageItems .
* Re fixed table header margins.
We support custom margins.
Updated tests.