Mailinglist Archive: opensuse-bugs (12990 mails)

< Previous Next >
[Bug 441737] java interface to open office doesn't work
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 19 Jan 2009 08:20:17 -0700 (MST)
  • Message-id: <20090119152017.600BE245390@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=441737

User pmladek@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=441737#c6


Petr Mladek <pmladek@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |pmladek@xxxxxxxxxx




--- Comment #6 from Petr Mladek <pmladek@xxxxxxxxxx> 2009-01-19 08:20:16 MST
---
First, I am sorry for the late reply. This bug somewhat went out of my radar...

I was able to get your sample working the following way:

$> mkdir -p eu/hlavki/oo/codelist
$> cp FileHelper.java Main.java eu/hlavki/oo/codelist/
$> export
CLASSPATH=/usr/lib/ooo3/ure/share/java/ridl.jar:/usr/lib/ooo3/ure/share/java/juh.jar:/usr/lib/ooo3/basis3.0/program/classes/unoil.jar:.
$> javac eu/hlavki/oo/codelist/*.java
$> ln -sf /usr/lib/ooo3/program/soffice soffice
$> mkdir xls csv
$> cp test.xls xls
$> java eu/hlavki/oo/codelist/Main xls csv
19.1.2009 16:15:10 eu.hlavki.oo.codelist.Main main
INFO: Setting SRC_DIR and DST_DIR...
19.1.2009 16:15:12 eu.hlavki.oo.codelist.Main openDocument
INFO: Openning document test.xls
19.1.2009 16:15:12 eu.hlavki.oo.codelist.Main createUNOFileURL
INFO: before URL: file:/test/Documents/java/interface/xls/test.xls
19.1.2009 16:15:12 eu.hlavki.oo.codelist.Main createUNOFileURL
INFO: after URL: file:///test/Documents/java/interface/xls/test.xls
19.1.2009 16:15:14 eu.hlavki.oo.codelist.Main convertAllFiles
INFO: xComponent:
[Proxy:24807938,88a46a8;gcc3[0];8394ba5ffee04635b4b52e6a72e77c
5,Type[com.sun.star.lang.XComponent]]
19.1.2009 16:15:14 eu.hlavki.oo.codelist.Main convert
INFO: Converting document...
19.1.2009 16:15:14 eu.hlavki.oo.codelist.Main createUNOFileURL
INFO: before URL: file:/test/Documents/java/interface/csv/test.csv
19.1.2009 16:15:14 eu.hlavki.oo.codelist.Main createUNOFileURL
INFO: after URL: file:///test/Documents/java/interface/csv/test.csv
19.1.2009 16:15:14 eu.hlavki.oo.codelist.Main close
INFO: Closing document test.xls
$>

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >