Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I need to export odt writer file that contains forms to pdf via command line, but without exporting the odt as pdf form (the same thing as you do in libreoffice when you choose export as PDF and don't select forms). I know I can do conversion via unoconv or libreoffice command line, but both export odt to pdf with forms, as far as I have tried. So is it possible to convert odt to pdf without exporting the form via command line? If not via command line, can this be done programatically, like in java or some other language for example?

share|improve this question
there's this library written in java. – OluCode Feb 18 '14 at 15:05

1 Answer 1

One possible solution is to use "unoconv" while setting the --export=ExportFormFields=false option.

unoconv -f pdf --export=ExportFormFields=false mydocument.odt


share|improve this answer
In My case, unoconv imply input file is document, and to convert .ods I need to use unoconv -f pdf -d spreadsheet file.ods – mmv-ru Oct 6 '14 at 10:32

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.