To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96914
Issue #|96914
Summary|xlsx Fail to extract Embedded Objects via UNO
Component|Spreadsheet
Version|OOO300m9
Platform|PC
URL|
OS/Version|Linux
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|programming
Assigned to|spreadsheet
Reported by|cactuscomputing
------- Additional comments from [EMAIL PROTECTED] Thu Dec 4 19:32:46 +0000
2008 -------
As for the related issue 96910, code that extracts embedded Objects in xls fails
with xlsx. The code:
for (int j = 0 ; j < drawPage.getCount() ; j++ ){
Object anyOb = drawPage.getByIndex(j);
XShape shape = (XShape)AnyConverter.toObject(XShape.class, anyOb);
XPropertySet xPageProps =
(XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, shape);
if ( xPageProps.getPropertySetInfo().hasPropertyByName("EmbeddedObject") ){
// ALWAYS FALSE FOR xlsx
Any emOb = (Any)xPageProps.getPropertyValue("EmbeddedObject");
actual extraction
}
}
Incidentally pptx files work fine!
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]