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 10000 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]

Reply via email to