Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to hide page header and footer during the Excel file export with unoconv?

I've tried to use a template (narrow margins, disabled header, disabled footer), but it does not work. I mean: margins become narrow, but I still can see header and footer.

Command I use to export:

$ unoconv -d spreadsheet -f pdf -t margins.ots -v document.xml


  • document.xml is XML structured Excel file
  • margins.ots is a template with narrow margins and disabled header/footer

Any help is greatly appreciated!

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.