OASIS Open Document Format for Office Applications (OpenDocument) TC

  • 1.  Proposal: Auto shrink text in shapes

    Posted 01-15-2007 14:02
    Hi,
    
    below is a proposal for a feature often requested by OOo users:
    
    Shrink To Fit
    
    The attributes draw:shrink-to-fit specifies whether the text content of a drawing object, 
    if necessary, gets shrunk to fit into the drawing object. Shrinking does mean that the 
    drawing object's font size is decreased, so that the complete text fits into the drawing 
    object. This attribute has no effect on drawing objects where the text content fits 
    already into the drawing objects.
    
    
    
    Best regards
    
    Michael
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    


  • 2.  Re: [office] Proposal: Auto shrink text in shapes

    Posted 02-02-2007 22:16
    On Monday 15 January 2007 15:02, Michael Brauer wrote:
    > Shrink To Fit
    >
    > The attributes draw:shrink-to-fit specifies whether the text content of a
    > drawing object, if necessary, gets shrunk to fit into the drawing object.
    > Shrinking does mean that the drawing object's font size is decreased, so
    > that the complete text fits into the drawing object. This attribute has no
    > effect on drawing objects where the text content fits already into the
    > drawing objects.
    
    I agree that this feature is nice, but I'm unclear on what you expect this to 
    do in a file (format).
    A boolean like this can imply that the reading-application must shrink it from 
    the saved fontsize to a smaller font size. Or apply horizontal or vertical 
    scaling.
    Last meaning (the one which I hope you mean) can be that its just a way to 
    persist a config option for that shape which is used by the application when 
    the user alters the shape or the text.  And the application will then scale 
    the text/etc and store the new fontsize in the file.
    
    Could you clarify?
    -- 
    Thomas Zander