OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
  • 1.  User-defined character and paragraph styles

    Posted 04-02-2008 14:10
    Hello,
    
    We can't seem to find a way to refer to a user-defined character style (family=text)
    from a user-defined paragraph style (family=paragraph)...
    
    I am surprised, because I thought this was an obvious use case for user-defined character styles;
    you would define "arial 20 bold" as character style "big" and then use it in the paragraph style
    "big heading".
    Is there a reason for not allowing this? (I am asking from a user-experience point of view
    as well as from a file-format point of view)
    If not, what about adding a style:text-style-name attribute to style:style with family=paragraph?
    
    I guess it would mean replacing the current style-style-content for family=paragraph with something like this (untested) :
    
    
    
    I was wondering about forcing to either refer to a named character style or define text properties in the paragraph style,
    but I guess that being able to do both at the same time could be useful too.
    
    -- 
    David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


  • 2.  Re: [office] User-defined character and paragraph styles

    Posted 04-02-2008 16:18
    On Wed, Apr 2, 2008 at 7:09 AM, David Faure 


  • 3.  Re: [office] User-defined character and paragraph styles

    Posted 04-02-2008 16:22
    
    
    
    
    Warren:

    Did you mean version 1.2 and greater but less than 2.0?

    Duane


    On 02/04/08 9:17 AM, "Warren Turkal" <turkal@google.com> wrote:

    For ODF 2.0+, it might make sense to only allow character properties
    in a paragraph style by referring to a named character style. For 1.x,
    where x>=2, we should allow both for backward compatibility, though.

    wt

    --
    **********************************************************************
    "Speaking only for myself"
    Senior Technical Evangelist - Adobe Systems, Inc.
    Blog - http://technoracle.blogspot.com
    Community Music - http://www.mix2r.com
    My Band - http://www.myspace.com/22ndcentury
    Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html
    **********************************************************************


  • 4.  Re: [office] User-defined character and paragraph styles

    Posted 04-02-2008 16:40
    On Wed, Apr 2, 2008 at 9:21 AM, Duane Nickull 


  • 5.  Re: [office] User-defined character and paragraph styles

    Posted 04-02-2008 16:40
    On Wednesday 02 April 2008, Warren Turkal wrote:
    > For ODF 2.0+, it might make sense to only allow character properties
    > in a paragraph style by referring to a named character style.
    
    This was definitely not my intention (breaking compatibility).
    I only meant: while adding the "referring to a named character style" feature,
    we could either:
    1) say that when doing that, no text-properties are allowed (they all come from the character style)
    2) or say that it's allowed to have both text-style-name="..." and 


  • 6.  Re: [office] User-defined character and paragraph styles

    Posted 06-10-2008 08:44
    Hello, sorry that I missed again the call last Monday -- too many things to handle at the same time.
    I won't be able to participate in the next call either, but I'll be there on June 23...
    
    On Wednesday 02 April 2008, David Faure wrote:
    > We can't seem to find a way to refer to a user-defined character style (family=text)
    > from a user-defined paragraph style (family=paragraph)...
    > 
    > I am surprised, because I thought this was an obvious use case for user-defined character styles;
    > you would define "arial 20 bold" as character style "big" and then use it in the paragraph style
    > "big heading".
    > Is there a reason for not allowing this? (I am asking from a user-experience point of view
    > as well as from a file-format point of view)
    
    This question was mainly directed at the authors of other office suites, but hasn't really received
    any answer IIRC. What do you think about the concept of user-defined character styles,
    and about including it in ODF? I am really surprised it's not part of ODF already :-)
    
    Or is this proposal already at the stage of "no objections therefore it will be voted upon at
    the next call"? :-)
    
    -- 
    David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).