To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52858
Issue #:|52858
Summary:|Crash when inserting items into BitmapTable
Component:|api
Version:|680m118
Platform:|All
URL:|
OS/Version:|Windows 2003
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|sw
Reported by:|muifull
------- Additional comments from [EMAIL PROTECTED] Wed Aug 3 19:29:46 -0700
2005 -------
Dear Sir/Madam,
I am now working with OOoBean in Java, and would like to insert an image file
into the BitmapTable. The following is the source code involved:
XTextDocument doc = (XTextDocument)UnoRuntime.queryInterface
(XTextDocument.class, bean.getDocument());
XMultiServiceFactory docMSF = (XMultiServiceFactory)UnoRuntime.queryInterface
(XMultiServiceFactory.class, doc);
Object oBitMapTable = docMSF.createInstance
("com.sun.star.drawing.BitmapTable");
XNameContainer bitMapTableAccess = QIUtility.xNameContainer(oBitMapTable);
bitMapTableAccess.insertByName("abc_Picture", "file:///C:/abc.jpg");
Running the above code causes a crahsing. I inspected the source code
carefully, and found that crashing occur when executing insertByName().
Could anyone please look into this problem? Thanks in advance!
Best Regards,
MuiFull
---------------------------------------------------------------------
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]