To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=76752 Issue #|76752 Summary|Bug with polylineshape with OOo2.2 under linux Component|api Version|OOo 2.2 Platform|All URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jsc Reported by|ddorange
------- Additional comments from [EMAIL PROTECTED] Fri Apr 27 09:31:17 +0000 2007 ------- Hello, I found a bug in OOo2.2 (under Linux only) <code> Sub LigneBrisee() Dim monDocument As Object, maPage As Object Dim maForme As Object Dim lesPoints(4) As New com.sun.star.awt.Point monDocument = thisComponent maPage = monDocument.DrawPage maForme = monDocument.createInstance("com.sun.star.drawing.PolyLineShape") maforme.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE lesPoints(0).X = 4000 : lesPoints(0).Y = 2000 lesPoints(1).X = 4500 : lesPoints(1).Y = 4000 lesPoints(2).X = 2500 : lesPoints(2).Y = 3000 lesPoints(3).X = 2500 : lesPoints(3).Y = 4000 lesPoints(4).X = 4000 : lesPoints(4).Y = 4000 maPage.add(maForme) maForme.LineWidth = 80 maForme.PolyPolygon = Array(lesPoints()) End Sub </code> In a swriter document I get a stuck shape at the left border of the page. I can't change its position using the mouse. Print maForme.HoriOrientPosition gives a surprising result : -29822752 instead of 0 or 2000. I'm dmaths developper (www.dmaths.org) For me it's a big problem, because we can't plot curves under linux with OOo2.2. Thanks for your answer. --------------------------------------------------------------------- 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]