OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
  • 1.  Proposal for a baseline alignement of frames.

    Posted 02-12-2007 14:50
    Dear TC members,
    
    the ODF specification already has the two attributes style:vertical-pos 
    and style:vertical-rel that specify how frames (text boxes, embedded 
    objects, etc.) are positioned (sections 15.27.11 and 15.27.12). For 
    frames that are bound as character (i.e. that are considered to be a 
    character in the text flow by the layout, rather than as a frame that 
    appears outside the text flow), there is already an option to align the
    top center or bottom of the frame with the baseline of the surrounding 
    text. What is missing however is an option to align the baseline of the 
    frame (if it has one) with the baseline of the surrounding text. This is 
    often requested for embedded formulas. For this reason, I'm proposing to 
    add a new "baseline" value to the "style:vertical-pos" attribute 
    specified in section 15.27.11. It description shall be as follows:
    
    "baseline" specifies that the baseline of the frame is aligned with the 
    baseline of the related area. "baseline" is only supported by frames 
    that are anchored as character. If the frame does not have a baseline, 
    "baseline" behaves like "bottom".
    
    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 for a baseline alignement of frames.

    Posted 02-13-2007 05:54
    Michael Brauer:
    > What is missing however is an option to align the baseline of the 
    > frame (if it has one) with the baseline of the surrounding text. This is 
    > often requested for embedded formulas. For this reason, I'm proposing to 
    > add a new "baseline" value to the "style:vertical-pos" attribute 
    > specified in section 15.27.11. It description shall be as follows:...
    
    +1.  Sounds great.
    
    --- David A. Wheeler