Page margins for PDF report output changed after changing from LibreOffice to OpenOffice

I initially deploy the reports application with LibreOffice and pdf output was okay but Excel output was corrupted. I then changed to OpenOffice and both pdf and Excel outputs are working okay except that margins for existing reports have been affected and content which was fitting in one page is overflowing to next page. Instead of readjusting the templates, is there another quick solution.