To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52827
Issue #:|52827
Summary:|Message box appears, when a graphic object is
|inserted with wrong URL
Component:|api
Version:|680m122
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|cl
Reported by:|sw
------- Additional comments from [EMAIL PROTECTED] Wed Aug 3 04:27:44 -0700
2005 -------
In a draw document the macro
Sub Main
oDoc = thiscomponent
oObj = createUnoService("com.sun.star.drawing.GraphicExportFilter")
Dim shape As Object
shape = oDoc.createInstance("com.sun.star.drawing.GraphicObjectShape")
Dim shapeSize As new com.sun.star.awt.Size
Dim shapePos As new com.sun.star.awt.Point
shapeSize.Width = 5000
shapeSize.Height = 5000
shape.setSize(shapeSize)
shapePos.x = 1500
shapePos.y = 1000
shape.setPosition(shapePos)
oDoc.getDrawPages.getByIndex(0).add(shape)
shape.GraphicURL = "file:///plunder.jpg"
End Sub
pops up a message box, which shouldn't happen when a method is called via API
... this has the side effect that when the same code is called via java, the
office seems to freeze.
In OOo1.1.x this worked properly without any user interaction
---------------------------------------------------------------------
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]