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

From Apache OpenOffice Wiki
Jump to: navigation, search
(The ODF perspective)
(Not updating height/widht on document load)
Line 14: Line 14:
  
 
===Not updating height/widht on document load===
 
===Not updating height/widht on document load===
It looks like the problem is the updating
+
It looks like the problem is linked to when the shape gets updated.
 
I think the shape should be only updated :  
 
I think the shape should be only updated :  
  
Line 23: Line 23:
  
 
====adavantages====
 
====adavantages====
 +
 +
Could simplify the code
  
 
====drawbacks====
 
====drawbacks====
 
In case the font used is not installed on the computer where the file is open, the size might not be appropriate.
 
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.
 
To me, that's a "normal" drawback of not handling missing fonts.

Revision as of 22:47, 28 February 2010

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