Issue 67540 - Empty TextShape has always Size 100x955
Summary: Empty TextShape has always Size 100x955
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m172
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 10:42 UTC by bjoern.milcke
Modified: 2017-05-20 10:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2006-07-19 10:42:59 UTC
If you create a css.drawing.TextShape and set an empty Text, the method
getSize() always returns (100, 955). Independent on the font size set on the
shape. If the text is " " the object's size varies with the font size.

I would expect a width of 0 and a height that corresponds to the font-height of
the font set at the properties of the shape.
Comment 1 bjoern.milcke 2006-07-19 10:44:50 UTC
Note, that there is a workaround for this in chart2/source/view/main/VLegend.cxx
that should be removed, when this is fixed.
Comment 2 Armin Le Grand 2007-07-18 16:40:04 UTC
AW->CL: Should'nt this be done on the API implementation (if at all)?
Comment 3 clippka 2007-09-12 17:07:34 UTC
retarget
Comment 4 Marcus 2017-05-20 10:47:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".