[GRLUG] UNO / Remoting LibreOffice [Was: May WMLUG Meeting Reminder]

John-Thomas Richards jtr at jrichards.org
Sat May 28 08:15:45 EDT 2011


On Fri, May 27, 2011 at 05:04:32PM -0400, Benjamin Flanders wrote:
> On Fri, May 27, 2011 at 4:55 PM, Adam Tauno Williams
> <awilliam at whitemice.org> wrote:
> > On Thu, 2011-05-26 at 15:44 -0400, John-Thomas Richards wrote:
> >> On Thu, May 26, 2011 at 01:54:55PM -0400, Adam Tauno Williams wrote:
> >> > On Thu, 2011-05-26 at 13:00 -0400, Steve Romanow wrote:
> >> > > I have f15 liveusb in both gnome3 and kde spins I will bring.
> >> > > Can you also cover running LO as a daemon?
> >> > That's pretty simple -
> >> > USERNAME='wwwrun'
> >> > SOFFICE_PATH='/usr/lib/ooo-2.4/program'
> >> > SOFFICE_ARGS='-accept=socket,host=localhost,port=8100;urp'
> >> > SOFFICE_BIN='soffice.bin'
> >> > sudo -u $USERNAME $SOFFICE_PATH/$SOFFICE_BIN $SOFFICE_ARGS > /dev/null &
> >> > Much less complicated in 2.0 and later; no fussing about with headless,
> >> > framebuffers, etc...
> >> Running LibreOffice as a dæmon does...what?
> >
> > Yes, the application will run and listen on a socket.  It provides a
> > COM/CORBA like remote-object framework called UNO.  All
> > OpenOffice/LibreOffice applications are just manipulating UNO objects.
> > Then you can use various UNO bindings to use LibreOffice from your PHP /
> > Python / etc... application.  You can use it to create documents,
> > convert documents, print documents, etc... [basically anything
> > LibreOffice can do - which is a lot]. Our e-commerce facilities use it
> > to produce PDF documents, DOC, and XLS documents..  In general it works
> > *much* better than the various document generation libraries that are
> > floating around the interwebs;  LibreOffice is a much more highly tested
> > solution.
> >
> 
> that is frickin cool.  Never knew.

That is cool...but not really useful for those of us who are simply
end-users.  I thought perhaps it had something to do with performance or
some really cool neat-o feature for us mortals.  It is beyond unlikely
that I'd ever need to create a document in Python.  :-)

Though LibreOffice does a lot of things well, I'll stick
with LaTeX for my sermons and papers in grad school and for
typesetting really old texts just for fun.  :-)
-- 
john-thomas
------
Nearly all men can stand adversity, but if you want to test a man's
character, give him power.
Abraham Lincoln, 16th president of the U.S. (1809-1865)

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list