Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86792 - OpenOffice 1.1.4 XMerge Plugins Not Available From "File > Open" and "File > Save As" menus
Summary: OpenOffice 1.1.4 XMerge Plugins Not Available From "File > Open" and "File > ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 11:37 UTC by Steven Elling
Modified: 2011-07-25 12:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Elling 2005-03-26 11:37:12 UTC
The OpenOffice 1.1.4 build includes the xmerge.jar plugins but the list of available file formats in the open or save as dialogs does not include the Palm AportisDoc, Palm MiniCalc, Pocket Word and Pocket Excel formats.

Reproducible: Always
Steps to Reproduce:
1. Create a document in Writer or Calc.
2. Try to save the file as a Palm AportisDoc, Palm MiniCalc, Pocket Word or Pocket Excel format.
3. Or, try to open a Palm AportisDoc, Palm MiniCalc, Pocket Word or Pocket Excel file.

Actual Results:  
The option to save or open Palm AportisDoc, Palm MiniCalc, Pocket Word or 
Pocket Excel file formats is not available.

Expected Results:  
OpenOffice should have the Palm AportisDoc, Palm MiniCalc, Pocket Word or 
Pocket Excel formats in the Open or Save As dialogs.

In addition to the Palm AportisDoc, Palm MiniCalc, Pocket Word or Pocket Excel 
formats not being available, the xmerge.jar included with the OpenOffice 
sources is not configured properly prior to installation.

When trying to run the Test Driver as documented in "Document Editing on Small 
Devices - XMerge" (http://xml.openoffice.org/xmerge/index.html#plug-ins), the 
following error is displayed:

$> java -cp /opt/OpenOffice.org/program/classes/xmerge.jar 
org.openoffice.xmerge.test.Driver -from staroffice/sxw -to application/x-pocket-
word /tmp/test.sxw

Cannot not load 
<file:///export/home/xml/xmerge/unxsols3.pro/class/pocketword.jar> from the 
<ConverterInfoList.properties> property file

Cannot not load <file:///export/home/xml/xmerge/unxsols3.pro/class/pexcel.jar> 
from the <ConverterInfoList.properties> property file

Cannot not load 
<file:///export/home/xml/xmerge/unxsols3.pro/class/aportisdoc.jar> from the 
<ConverterInfoList.properties> property file

Converting from staroffice/sxw to application/x-pocket-word

No plug-in exists to convert from <staroffice/sxw> to <application/x-pocket-
word>

Usage:

   java org.openoffice.xmerge.test.Driver <args>

   where <args> is as follows:
   -from <MIMETYPE> -to <MIMETYPE> [ -merge <OrigDoc ] <document>
-----

If the jarname1, jarname2 and jarname3 variables in 
the "org/openoffice/xmerge/test/ConverterInfoList.properties" file in 
xmerge.jar are changed to point to the correct paths of pocketword.jar, 
pexcel.jar and aportisdoc.jar; the Test Driver works as expected:

$> java -cp /opt/OpenOffice.org/program/classes/xmerge.jar 
org.openoffice.xmerge.test.Driver -from staroffice/sxw -to application/x-pocket-
word /tmp/test.sxw

Converting from staroffice/sxw to application/x-pocket-word
-----

I don't know whether the ConverterInfoList.properties file needs to be modified 
in order to get the XMerge plugins to work in OpenOffice but I am reporting it 
as well just in case.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-04-15 15:45:34 UTC
Support for these file formats is not built atm, event though xmerge.jar is there other necessary files like pocketword.jar are missing, so it is no wonder, that it doesn't work.

ATM this is still quite complicated to build for instance you have to copy ant and co. to the build tree, which would add another bit of dependencies, see the build instructions:

" To build XMerge, you will also need to copy the Ant and Xalan-J Jar files into your solver's bin directory, e.g. ${SOLARVER}/642/{platform}/bin."

So I won't do this for the moment, maybe later, but for now please use openoffice-bin if you really need this kind of functionality
Comment 2 Steven Elling 2005-04-19 15:46:10 UTC
pocketword.jar, pexcel.jar and aportisdoc.jar are NOT missing.  They are bundled within xmerge.jar file.  Run 'unzip -l /opt/OpenOffice.org/program/classes/xmerge.jar' and you will see the files listed.

As I stated in this bug report; if jarname1, jarname2 and jarname3 variables in 
the "org/openoffice/xmerge/test/ConverterInfoList.properties" file located in 
xmerge.jar are changed to point to the correct paths of pocketword.jar, 
pexcel.jar and aportisdoc.jar; the Test Driver works as expected.

The `correct paths' I am talking about are the paths within the jar file not a path in the file system.  The correct paths can be determined when listing the contents of the zip file and making note of the paths for pocketword.jar, 
pexcel.jar and aportisdoc.jar.

When I submitted the bug report I provided proof that XMerge plugins work as expected after the ConverterInfoList.properties was updated with the correct paths in the form of output from running the XMerge plugins manually.

Plus, I copied to resulting test.psw file to my HP IPAQ and was able to open it.

So, to spell out what I am reporting:

1. A patch needs to be included in the OpenOffice ebuild to correct the ConverterInfoList.properties file in xmerge.jar so that users can at least run the XMerge plugins from the console or by other means.

2. OpenOffice 1.1.4 does not include the Palm AportisDoc, Palm MiniCalc, Pocket Word and Pocket Excel formats on the open or save as dialogs but I cannot figure out why.  I doubt it is due to the ConverterInfoList.properties file because even after being fixed they did not show up in the open or save as dialogs.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-04-19 23:52:24 UTC
Please work out a patch and reopen the bug if you have one
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 12:49:45 UTC
Move deprecated bugs still being marked as LATER to Fixed.