Hello,
I have created a small java application that embeds OpenOffice into a
java AWT frame utilising the OfficeBean.
This seems to function fine under all other circumstances apart from a
case that involves OO writer documents containing embedded OLE objects.
As a test case I created a blank document and embedded a pdf. This was
done through Insert -> OLE Object -> Further Type -> Create from file.
When this document is open in standalone OpenOffice I can successfully
open the pdf via the "open" menu item in the context menu that appears
over the embedded object.
When I open the same document in an embedded viewer via the OfficeBean's
loadFromURL() method, it is no longer possible to open the embedded pdf
(no "open" menu item appears in the OLE object's context menu, and
double-clicking the embedded object displays an OpenOffice error dialog
with the text "General Error").
As part of my testing, I attempted using other file types as an embedded
OLE object in my document (zip, mkv) but the problem remains solely when
using the OfficeBean viewer.
Are there any issues with documents containing embedded OLE objects and
the OfficeBean?
So far I have been able to find very little information on this issue
online.
BTW, I am using the latest version of OpenOffice (3.1.1) on Win XP.
Thanks for your time,
William Bailey
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]