Difference between revisions of "User:Camillem/109069 Summary"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with 'AFAIKT, the is linked to the draw:auto-grow-height attribute. The spec says "height of a drawing object should automatically increase if text is added to the drawing object". So…')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
AFAIKT, the is linked to the draw:auto-grow-height attribute.
+
''Apparently, it's fixed in OOo 3.3 ''
 +
 
 +
 
 +
== Resize shape to fit text Issues ==
 +
[http://www.openoffice.org/issues/show_bug.cgi?id=109069 IZ 109069] is closely linked with
 +
[http://www.openoffice.org/issues/show_bug.cgi?id=83766 IZ 83766]
 +
as they both relate to a non satisfactory behaviour of the "Resize shape to fit text" option
 +
 
 +
== The ODF perspective ==
 +
 
 +
AFAIKT, the is linked to the draw:auto-grow-height / draw:auto-grow-width  attributes.
  
 
The spec says "height of a drawing object should automatically increase if text is added to the drawing object".
 
The spec says "height of a drawing object should automatically increase if text is added to the drawing object".
 
So, it should still allow to manually resize the drawing object.
 
So, it should still allow to manually resize the drawing object.
 +
 +
== Possible solutions ==
 +
 +
===Not updating height/widht on document load===
 +
It looks like the problem is linked to when the shape gets updated.
 +
I think the shape should be only updated :
 +
 +
*When some text is added
 +
*When some text is deleted or modified (this is not in the spec though)
 +
*When the option is getting checked.
 +
 +
 +
====adavantages====
 +
 +
Could simplify the code
 +
 +
====drawbacks====
 +
In case the font used is not installed on the computer where the file is open, the size might not be appropriate.
 +
To me, that's a "normal" drawback of not handling missing fonts.

Latest revision as of 17:30, 23 November 2010

Apparently, it's fixed in OOo 3.3


Resize shape to fit text Issues

IZ 109069 is closely linked with IZ 83766 as they both relate to a non satisfactory behaviour of the "Resize shape to fit text" option

The ODF perspective

AFAIKT, the is linked to the draw:auto-grow-height / draw:auto-grow-width attributes.

The spec says "height of a drawing object should automatically increase if text is added to the drawing object". So, it should still allow to manually resize the drawing object.

Possible solutions

Not updating height/widht on document load

It looks like the problem is linked to when the shape gets updated. I think the shape should be only updated :

  • When some text is added
  • When some text is deleted or modified (this is not in the spec though)
  • When the option is getting checked.


adavantages

Could simplify the code

drawbacks

In case the font used is not installed on the computer where the file is open, the size might not be appropriate. To me, that's a "normal" drawback of not handling missing fonts.

Personal tools