Ask Your Question
1

How to Add Line Numbers With Code? [closed]

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

kublaios gravatar image

updated 2015-10-22 16:02:04 +0200

Alex Kemp gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-22 16:02:20.656060

1 Answer

Sort by » oldest newest most voted
0

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

qubit gravatar image

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!

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 1,072 times

Last updated: Feb 19 '13