First time here? Check out the FAQ!
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.
Hi @kublaios,
Sounds like this may not be currently possible via the command-line. Please file an enhancement bug and provide as much information as possible. Don't forget to mark your bug as an 'enhancement'. The QA team will be happy to help you triage your feature request in the bugtracker.
Please post a link to any bugs you file in a comment below using the format "fdo#123456".
Thanks!
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-06-27 11:00:40 +0200
Seen: 238 times
Last updated: Feb 19
Adding fonts to Libreoffice in Ubuntu 13.04(Beta)
setting email program as gmail via google chrome, ubuntu 12.04 linux [closed]
Libreoffice on multiple monitors (Ubuntu 12.04). Menus open in wrong monitor [closed]
convert files to PDF/A on command line, headless mode
How do I fix UI display corruption?
Inserting graphs from calc to writter
[Solved] DisableCommandsTest.java: "Open" command cannot be disabled with Java
Why doesn't CLI work when GUI is loaded? [closed]
Thesaurus from Dictionary extensions for English on LO 3.6 on linux
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.