On 6-1-2019 17:36, Drew Jensen wrote:
On Sun, Jan 6, 2019 at 10:54 AM Bruno Patin - wanadoo <
bruno.pa...@wanadoo.fr> wrote:
Hi,
Howdy,
I would like to know if there exists roadmap that would allow to create
a server version of libreoffice that would execute macros job on office
docs. It would mean a version not using all the interface part of
libreoffice that would be much more compact. The goal would be to
process many files using remote services or on some files to automate
some processing such as creation of html files. Is there something
foreseen? Is it totally ridiculous? Has it been done and I do not find
the correct documentation?
First - redirecting the reply email to the User mailing list (the website
ML you originally posted to is for issues regarding the LibreOffice website
not the application).
Second - LibreOffice has always had the ability to run in what is referred
to as 'headless' mode. This means there is no GUI active while all the
document processing functions are available. The application even has
command line options specifically designed to take ODF files and generate
other fie types (html for instance) from them, in this non-GUI mode. This
feature is used as a backend for web applications today in production
environments. You can also call macros (sriptis) from the command line and
again if the macro is written properly can run just fine in this headless
mode.
Finally - I don't personally have a bunch of links for you with information
on setting that up but expect others on the users list will.
Best wishes,
Drew
Thanks in advance
Bruno
--
To unsubscribe e-mail to: website+unsubscr...@global.libreoffice.org
Problems?
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/website/
Privacy Policy: https://www.documentfoundation.org/privacy
C:\Program Files\LibreOffice\program>soffice --help
LibreOffice 6.1.3.2 86daf60bf00efa86ad547e59e09d6bb77c699acb
Usage: soffice [argument...]
argument - switches, switch parameters and document URIs
(filenames).
Using without special arguments:
Opens the start center, if it is used without any arguments.
{file} Tries to open the file (files) in the components
suitable for them.
{file} {macro:///Library.Module.MacroName}
Opens the file and runs specified macros from
the file.
Getting help and information:
--help | -h | -? Shows this help and quits.
--helpwriter Opens built-in or online Help on Writer.
--helpcalc Opens built-in or online Help on Calc.
--helpdraw Opens built-in or online Help on Draw.
--helpimpress Opens built-in or online Help on Impress.
--helpbase Opens built-in or online Help on Base.
--helpbasic Opens built-in or online Help on Basic scripting
language.
--helpmath Opens built-in or online Help on Math.
--version Shows the version and quits.
--nstemporarydirectory
(MacOS X sandbox only) Returns path of the temporary
directory for the current user and exits. Overrides
all other arguments.
General arguments:
--quickstart[=no] Activates[Deactivates] the Quickstarter service.
--nolockcheck Disables check for remote instances using one
installation.
--infilter={filter} Force an input filter type if possible. For example:
--infilter="Calc Office Open XML"
--infilter="Text (encoded):UTF8,LF,,,"
--pidfile={file} Store soffice.bin pid to {file}.
--display {display} Sets the DISPLAY environment variable on UNIX-like
platforms to the value {display} (only supported
by a
start script).
User/programmatic interface control:
--nologo Disables the splash screen at program start.
--minimized Starts minimized. The splash screen is not
displayed.
--nodefault Starts without displaying anything except the splash
screen (do not display initial window).
--invisible Starts in invisible mode. Neither the start-up
logo nor
the initial program window will be visible.
Application
can be controlled, and documents and dialogs can be
controlled and opened via the API. Using the
parameter,
the process can only be ended using the taskmanager
(Windows) or the kill command (UNIX-like
systems). It
cannot be used in conjunction with --quickstart.
--headless Starts in "headless mode" which allows using the
application