Ask Your Question
1

How to Add Line Numbers With Code?

asked 2012-06-27 11:00:40 +0200

kublaios gravatar image kublaios
11 2

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.

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-02-19 04:11:54 +0200

qubit gravatar image qubit flag of United States
5709 3 48 41

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!

link delete flag offensive edit

Login/Signup to Answer

Donate

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!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-06-27 11:00:40 +0200

Seen: 238 times

Last updated: Feb 19