[graphics-issues] [Issue 68879] Dimensions (measureshapes) incorrect
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68879 --- Additional comments from [EMAIL PROTECTED] Tue Aug 29 03:58:19 -0700 2006 --- Please accept my apologies. There isn't a problem with MeasureShape in OpenOffice basic when it's used correctly. As all other shapes (line, rectangle, ellipse) have properties of "Position" and "Size", I assumed that MeasureShape would be the same. It's not! I found similar problems with MeasureShapes at an angle, using position and size, which lead me to believe it was something I was doing wrong. So I studied the api refererence and noticed that MeasureShape has properties of "StartPosition" and "EndPosition", both "points". When I changed the macro to define the start and end positions, the dimensions are drawn correctly. (As in the attached example) Please forgive me if I have wasted your time, due to my inexperience. Would you please mark this issue as "RESOLVED" Thanks - 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]
[graphics-issues] [Issue 68879] Dimensions (measureshapes) incorrect
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68879 User jaysdad changed the following: What|Old value |New value Attachment data| |Created an attachment (id= | |38819) Meaureshape used co | |rrectly --- Additional comments from [EMAIL PROTECTED] Tue Aug 29 03:45:38 -0700 2006 --- Created an attachment (id=38819) Meaureshape used correctly - 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]
[graphics-issues] [Issue 68879] Dimensions (measureshapes) incorrect
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68879 --- Additional comments from [EMAIL PROTECTED] Wed Aug 23 07:46:21 -0700 2006 --- Step by step description: - Save and open the attached Draw document - enabling macros Click on the click me button to run a macro using "com.sun.star.drawing.MeasureShape" to draw dimensions increasing in size as they are drawn diagonally down the page. You sould see that dimensions are incorrect, both in terms of start point and dimension text, when the dimension text is automatically shown to the left of the dimension. (25mm shown as 2.1mm through to 275mm shown as 191.4mm - the drawing scale is 1:10) Dimensions are correct from 300mm onwards, where the dimension text is centered above the dimension line. Hope this helps - 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]
[graphics-issues] [Issue 68879] Dimensions (measureshapes) incorrect
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68879 User jaysdad changed the following: What|Old value |New value Attachment data| |Created an attachment (id= | |38726) Draw document to il | |lustrate MakeMeasureShape | |problems --- Additional comments from [EMAIL PROTECTED] Wed Aug 23 07:29:16 -0700 2006 --- Created an attachment (id=38726) Draw document to illustrate MakeMeasureShape problems - 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]
[graphics-issues] [Issue 68879] Dimensions (measureshapes) incorrect
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68879 Issue #|68879 Summary|Dimensions (measureshapes) incorrect Component|Drawing Version|OOo 2.0.3 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|wg Reported by|jaysdad --- Additional comments from [EMAIL PROTECTED] Wed Aug 23 03:53:02 -0700 2006 --- Following the DannyB draw examples, I have added MakeMeasureShape function to add dimensions to a drawing (At a scale of 1:10 on Landscape A3) generated using a macro triggered from a Calc spread sheet. Larger dimensions work as expected but, after experiencing problems with "smaller" dimensions, where the start point and dimension do not match the point and size information, I used the following code to try to determine the problem. On my system dimensions are incorrect below 300mm. (ie 30mm on drawing at 1:10). for i = 250 to 1 step 250 oshape = MakeMeasureShape(oDrawDoc,Makepoint(2000+i,2000+3*i),MakeSize(i,0)) oPage.Add(oshape) oShape.LineWidth = 1 oShape.MeasureShowUnit = False oshape.CharHeight = 8 next i Further investigations indicate that the dimension is drawn correctly when the text can be positioned centered, in the middle of the dimension line, but is incorrect when the dimension text is moved to the left or right. - 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]