|
OFFICESYNC(8) manual page
Name
officesync - Makes PDF files out of Office documents using the OpenOffice.org
export-as-PDF feature, then passes result to pdfsync (8)
to extract previews.
Synopsis
officesync action
Description
The officesync program calls
the main OpenOffice.org (or LibreOffice ) program, soffice , to make intermediate
PDFs and then passes them on to pdfsync (8)
. The system depends on two
programs, officesync (8)
and o2pdf.oxt . The program fpod (8)
calls officesync
to generate previews for a given fileid . The officesync program then
calls soffice , having it run a macro that converts the file to a PDF,
then passes the PDF file to pdfsync (8)
to build Web previews. The WebNative
Suite o2pdf.oxt program is an OpenOffice.org extension, which installs
an OpenOffice.org BASIC macro called XinetLib.Venture.ConvertToPDF. (You
can browse and verify its existence using the OpenOffice.org GUI.)
Prerequisites
See the Xinet Administration Guide's Installation chapter
for supported versions of the Openoffice.org or LibreOffice.org software,
which should be installed in the following locations:
- Mac OS X
- /Application/Openoffice.*
/Application/LibreOffice.*
- Other Unix variants
- /opt/openoffice*
/opt/libreoffice*
- Windows
- Anywhere
Command Options
The flags are
defined as follows:
- -D
- Turns on debugging in the console for all other
flags.
- -install
- Install o2pdf.oxt as an extension for OpenOffice.org and
sets up the /usr/etc/venture/var/do_office_sync file with the installation
path of OpenOffice.org. Success or failure messages will be written in
file /var/adm/appletalk/at_log.
- -libre
- Use LibreOffice instead of Openoffice.
The option is only needed for the -install action.
- -uninstall
- Removes
o2pdf.oxt as an extension for OpenOffice.org and removes do_office_sync.
- -isinstalled
- Examines the installation for completeness and returns either
yes or no. If no, it will also return a list of missing elements.
- -ipath
- Returns the path that is being used to call soffice.
Files
- /usr/etc/venture/bin/officesync
- /usr/etc/venture/bin/o2pdf.oxt
- /usr/etc/venture/bin/pdfsync
-