Re: LibreOffice Headless

2013-01-28 Thread John Rowe
On Sun, 2013-01-27 at 12:17 -0600, Gerald Waugh wrote:
 Hello,
 
 Anyone running LibreOffice on a Server?
 Appreciate ideas on how to implement some of the MS office features on a 
 Web Server

It's a little vague but we use unoconv from our very own Dag Wieers to
generate PDFs from a web form and an openoffice file. (Thanks Dag, if
you're reading this.)

It's worth kicking off libreoffice in server mode and leaving it lying
around to connect to.

John


LibreOffice Headless

2013-01-28 Thread Nico Kadel-Garcia
On Sun, Jan 27, 2013 at 2:29 PM, Larry Linder
larry.lin...@micro-controls.com wrote:
 On Sunday 27 January 2013 1:17 pm, Gerald Waugh wrote:
 Hello,

 Anyone running LibreOffice on a Server?
 Appreciate ideas on how to implement some of the MS office features on a
 Web Server

 TIA

 We have been running LibreOffice3.5 for a while and recently upgraded systems
 to LibreOffice3.6 to enable us to read and write more M$ formats.  See
 previous posts about  adding export  OOO_FORCE_DESKTOP=none to .bashrc
 or /etc/bashrc if you have a number of users on a server.  Off line I can
 give you an idea what kind of stuff we have hooked together.

The best location for that is /etc/profile.d/libreoffice.sh, if you're
going to tweak system settings for all users. This keeps you from
editing a core system file and potentially and accidentally breaking
it for *everyone*.


Re: LibreOffice Headless

2013-01-28 Thread zxq9

On 01/28/2013 03:17 AM, Gerald Waugh wrote:

Hello,

Anyone running LibreOffice on a Server?
Appreciate ideas on how to implement some of the MS office features on a
Web Server

TIA


No idea what features you are looking to implement, but if the goal is 
to have your web server generate ODF files natively...


I've found it a lot easier to generate ODFs directly from templates 
rather than go through LibreOffice. I've written tools to do this for me 
from within Django and Snap but haven't gone to the trouble to 
generalize (or clean up) the solution. ODF turns out to be wonderfully 
easy to generate, parse, manipulate, etc. and is now the only XML format 
that doesn't make me gag.


This might not be at all the direction you are trying to head in, but if 
it is a generate docs/spreadsheets/charts/etc from source data type 
problem don't write off the idea of generating your own from an 
extension to your web framework.


Re: LibreOffice Headless

2013-01-28 Thread Dag Wieers

On Tue, 29 Jan 2013, zxq9 wrote:


On 01/28/2013 03:17 AM, Gerald Waugh wrote:

 Hello,

 Anyone running LibreOffice on a Server?
 Appreciate ideas on how to implement some of the MS office features on a
 Web Server

 TIA


No idea what features you are looking to implement, but if the goal is to 
have your web server generate ODF files natively...


I've found it a lot easier to generate ODFs directly from templates rather 
than go through LibreOffice. I've written tools to do this for me from within 
Django and Snap but haven't gone to the trouble to generalize (or clean up) 
the solution. ODF turns out to be wonderfully easy to generate, parse, 
manipulate, etc. and is now the only XML format that doesn't make me gag.


This might not be at all the direction you are trying to head in, but if it 
is a generate docs/spreadsheets/charts/etc from source data type problem 
don't write off the idea of generating your own from an extension to your web 
framework.


If you're looking into generating ODF output from a structured language 
(for documentation/publishing purposes) take a look at:


http://github.com/dagwieers/asciidoc-odf

Unfortunately, Github broke native asciidoc support for the README, so 
you better read that from:


https://github.com/dagwieers/asciidoc-odf/blob/master/README.asciidoc

Kind regards,
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]


Re: LibreOffice Headless

2013-01-28 Thread Larry Linder
On Monday 28 January 2013 9:08 am, Nico Kadel-Garcia wrote:
 On Sun, Jan 27, 2013 at 2:29 PM, Larry Linder

 larry.lin...@micro-controls.com wrote:
  On Sunday 27 January 2013 1:17 pm, Gerald Waugh wrote:
  Hello,
 
  Anyone running LibreOffice on a Server?
  Appreciate ideas on how to implement some of the MS office features on a
  Web Server
 
  TIA
 
  We have been running LibreOffice3.5 for a while and recently upgraded
  systems to LibreOffice3.6 to enable us to read and write more M$ formats.
   See previous posts about  adding export  OOO_FORCE_DESKTOP=none to
  .bashrc or /etc/bashrc if you have a number of users on a server.  Off
  line I can give you an idea what kind of stuff we have hooked together.

 The best location for that is /etc/profile.d/libreoffice.sh, if you're
 going to tweak system settings for all users. This keeps you from
 editing a core system file and potentially and accidentally breaking
 it for *everyone*.

Suggestion is appreciated and implemented - Done.

Thank You All
Larry Linder


Re: LibreOffice Headless

2013-01-28 Thread Gerald Waugh

On 01/28/2013 10:43 AM, Dag Wieers wrote:

 On Tue, 29 Jan 2013, zxq9 wrote:


 On 01/28/2013 03:17 AM, Gerald Waugh wrote:

  Hello,

  Anyone running LibreOffice on a Server?
  Appreciate ideas on how to implement some of the MS office features
 on a
  Web Server

  TIA


 No idea what features you are looking to implement, but if the goal
 is to have your web server generate ODF files natively...

 I've found it a lot easier to generate ODFs directly from templates
 rather than go through LibreOffice. I've written tools to do this for
 me from within Django and Snap but haven't gone to the trouble to
 generalize (or clean up) the solution. ODF turns out to be
 wonderfully easy to generate, parse, manipulate, etc. and is now the
 only XML format that doesn't make me gag.

 This might not be at all the direction you are trying to head in, but
 if it is a generate docs/spreadsheets/charts/etc from source data
 type problem don't write off the idea of generating your own from an
 extension to your web framework.


 If you're looking into generating ODF output from a structured
 language (for documentation/publishing purposes) take a look at:

 http://github.com/dagwieers/asciidoc-odf

 Unfortunately, Github broke native asciidoc support for the README, so
 you better read that from:

 https://github.com/dagwieers/asciidoc-odf/blob/master/README.asciidoc

 Kind regards,


thanks to all for the suggestions
will post back later on the results.

--
Gerald


Re: LibreOffice Headless

2013-01-28 Thread Florian Philipp
Am 28.01.2013 17:43, schrieb Dag Wieers:
 On Tue, 29 Jan 2013, zxq9 wrote:
 
 On 01/28/2013 03:17 AM, Gerald Waugh wrote:
  Hello,

  Anyone running LibreOffice on a Server?
  Appreciate ideas on how to implement some of the MS office features
 on a
  Web Server
[...]
 I've found it a lot easier to generate ODFs directly from templates
 rather than go through LibreOffice. [...]

 This might not be at all the direction you are trying to head in, but
 if it is a generate docs/spreadsheets/charts/etc from source data
 type problem don't write off the idea of generating your own from an
 extension to your web framework.
 
 If you're looking into generating ODF output from a structured language
 (for documentation/publishing purposes) take a look at:
 [...]

You might also be interested in these projects:

http://opendocumentfellowship.com/development/projects/odftools

https://pypi.python.org/pypi/odfpy

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


LibreOffice Headless

2013-01-27 Thread Gerald Waugh

Hello,

Anyone running LibreOffice on a Server?
Appreciate ideas on how to implement some of the MS office features on a 
Web Server


TIA
--
Gerald


Re: LibreOffice Headless

2013-01-27 Thread Larry Linder
On Sunday 27 January 2013 1:17 pm, Gerald Waugh wrote:
 Hello,

 Anyone running LibreOffice on a Server?
 Appreciate ideas on how to implement some of the MS office features on a
 Web Server

 TIA

We have been running LibreOffice3.5 for a while and recently upgraded systems 
to LibreOffice3.6 to enable us to read and write more M$ formats.  See 
previous posts about  adding export  OOO_FORCE_DESKTOP=none to .bashrc 
or /etc/bashrc if you have a number of users on a server.  Off line I can 
give you an idea what kind of stuff we have hooked together.

In the process of updating SL5.6 to SL 5.8 for some reason in the process KDE 
3 was updated to KDE 4  on one system and not on some others.   It may be due 
to what was set up on that box.   Last summer we made the decision  we didn't 
care for SL 6 and decided to update our systems to SL 5.8.   
Certain people think that if you complain or offer a solution to a problem you 
are OFF TOPIC and should shut up.  
My opinion is that a lot of people who run Linux are mavericks and load and 
run what is best for them.  We just make up dates several times a year to the 
keep noise to a minimum.   We still have an OS/2 system running in the 
building to do a special job.  It was decided that we need to use it every so 
often and it was not worth the cost to move applications to SL.  
Since we are a commercial user - we don't care about a lot of stuff but Linux  
SL fills our needs and then some.   One of its great features is that is is 
reliable and well supported by the end users.
We run a small factory using SL and VMware to run M$ applications.  Other than 
the small hick up we ran into over the weekend we are happy as a clam.

Off topic 
At some point in time the engineering community may need to make a fork in the 
road to support engineering needs that is not driven by the general 
entertainment establishment.
That is why we opted to start using SL 4. a few years ago.   What we run on SL 
besides a factory is a couple of control simulations for a turbine engine  
its control, a simulation of a wind driven vortex (like a tornado), and a 
number of tools to convert data from Time Domain to Frequency Domain for 
analysis of data.   FF transform modified to run for an extended time period 
and track the trend of the data that can have a Gaussian distribution.  

A big help is the Numerical Recipes in C and C for engineers.   Covers a lot 
of basic stuff and is very accurate.  If you buy the books and get the 
optional source code for examples it saves a boat load of time.


Larry Linder