Pergunte aqui

Perfil de Harry - atividade

2019-07-07 15:29:18 +0100 Medalha recebida  Pergunta boa (fonte)
2017-07-17 11:20:19 +0100 Medalha recebida  Pergunta boa (fonte)
2015-10-17 00:11:17 +0100 Medalha recebida  Pergunta notável (fonte)
2015-10-17 00:11:17 +0100 Medalha recebida  Pergunta famosa (fonte)
2013-02-01 10:42:25 +0100 Medalha recebida  Taxonomista
2013-01-22 03:41:06 +0100 Medalha recebida  Pergunta popular (fonte)
2013-01-20 21:32:17 +0100 Medalha recebida  Pergunta famosa (fonte)
2012-08-31 21:09:59 +0100 Medalha recebida  Pergunta boa (fonte)
2012-07-27 11:26:41 +0100 Medalha recebida  Pergunta notável (fonte)
2012-05-23 17:34:56 +0100 Medalha recebida  Pergunta famosa (fonte)
2012-05-23 05:35:05 +0100 Medalha recebida  Pergunta popular (fonte)
2012-04-10 23:44:26 +0100 Medalha recebida  Pergunta notável (fonte)
2012-03-28 01:28:16 +0100 Medalha recebida  Pergunta popular (fonte)
2012-03-13 05:30:23 +0100 Perguntou How to write to stdout in headless mode?

In headless mode, is there a way to make LO write to stdout instead of to a file on disk?

2012-02-29 16:52:54 +0100 Medalha recebida  Estudante (fonte)
2012-02-29 06:00:58 +0100 Perguntou Headless mode examples for socket and pipe methods.

Hello.

For LO 3.4/3.5, I want to run LO in --headless mode and try out both the socket (listening on an arbitrary port) and pipe methods.

However, what is not clear to me is this...

1) With the socket method: if I specify an arbitrary port (instead of the default 2002) in the --accept argument, how does the the connecting client (a shell script) know about this port (meaning, where/how do I specify it in the client)?

2) With the pipe method: Do I have to create the pipe myself (using mkfifo) before passing its name to the --accept argument, or will LO automatically create the pipe for me? Further, how do I tell the connecting client (a shell script) about the name of this pipe?

Would greatly appreciate if you could give an example invocation for listening and connecting, and for socket and pipe methods.

Many thanks in advance,

/HS

2012-02-29 05:48:55 +0100 Medalha recebida  Acadêmico (fonte)
2012-02-25 05:01:03 +0100 Resposta comentada How to (batch) convert Microsoft Office Files from commandline?

Thanks, but I need a converter for not just Word but for Excel and PPT as well. Can't upvote your answer due to insufficient points.

2012-02-25 04:58:25 +0100 Resposta comentada How to (batch) convert Microsoft Office Files from commandline?

Thanks. Can't upvote your answer due to insufficient points.

2012-02-24 07:11:33 +0100 Medalha recebida  Editor (fonte)
2012-02-24 07:10:58 +0100 Perguntou How to (batch) convert Microsoft Office Files from commandline?

Hello,

I'm using LibreOffice 3.4 on Fedora 16. I want to batch convert lots of .xls/x, .doc/x, and .ppt/x files to plain text.

  1. When I issue the following command to just try to convert a single file, the command fails silently with an exit code of 1.

    $ soffice.bin --headless --convert-to txt foo.xls

    $ echo $?

    1

    $

  2. I'd also like to know how to efficiently convert a whole bunch of these files without starting and stopping LibreOffice everytime. It appears that the --accept argument may be the way, but there seems to be no example of this anywhere. Would greatly appreciate if you could share one.

Many thanks in advance, /HS