Hi all,
I already asked the same question in the mail group but there was no answer. Just in case some couldn’t see, I’ll try my luck here also.
I’m converting documents(usually .docx) to .pdf files in my ubuntu server 12.04.
I’m using terminal commands because I’m doing it on PHP code.
Here’s code I use:
<?php
$myCommand = "libreoffice -headless -convert-to pdf:writer_pdf_Export *.docx";
exec ($myCommand);
?>
I saw that it’s possible to add line numbers like this: http://help.libreoffice.org/Writer/Adding_Line_Numbers
Can I insert line numbers with a terminal code in Ubuntu, too?
Thanks in advance.