OASIS Open Document Format for Office Applications (OpenDocument) TC

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

    Posted 11-10-2008 18:31
    Hello,
    
    I updated http://wiki.oasis-open.org/office/User-defined_character_and_paragraph_styles (some time ago).
    What do I need to do for it to be discussed during a phone call and voted upon?
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


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

    Posted 11-12-2008 15:10
    Hi David,
    
    you have to request a discussion in a TC call until the end of the 
    Wednesday before the call. After the proposal has been discussed, you 
    may request a vote for the next call, again until Wednesday. The details 
    are here:
    
    http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office#other
    
    Rob: Since it is Wednesday already, I believe we should interpret this 
    question from David as a request for a discussion of his proposal. Do 
    you agree?
    
    Michael
    
    On 11/10/08 19:30, David Faure wrote:
    > Hello,
    > 
    > I updated http://wiki.oasis-open.org/office/User-defined_character_and_paragraph_styles (some time ago).
    > What do I need to do for it to be discussed during a phone call and voted upon?
    > 
    
    
    -- 
    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
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


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

    Posted 11-12-2008 15:13
    On Wednesday 12 November 2008, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    > Hi David,
    > 
    > you have to request a discussion in a TC call until the end of the 
    > Wednesday before the call. 
    
    OK, that's what I'm doing now then -- but not for next Monday (I'll be travelling),
    rather for the one after that (24-Nov).
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


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

    Posted 12-01-2008 11:51
    Dear TC members,
    
    David Faure wrote:
    > Hello,
    > 
    > I updated
    > http://wiki.oasis-open.org/office/User-defined_character_and_paragraph_styles
    > (some time ago). What do I need to do for it to be discussed during a
    > phone call and voted upon?
    > 
    
    I have some comments/questions on this proposal.
    
    (1) Allowing a character style at paragraph styles will in my opinion 
    complicate the determination of a certain character property's value for 
    a certain paragraph.
    Currently we have one or more straight search paths, namely the 
    paragraph's paragraph style hierarchy.
    When we allow a character style at paragraph styles, these straight 
    search paths are no longer straight. At each paragraph style on the 
    paragraph style hierarchy the possible existing character style and its 
    style hierarchy has to be searched additionally.
    
    Illustration of the search paths for existing ODF:
    paragraph
       |
       |
    automatic paragraph style
       |
       |
    paragraph style
       |
       |
    parent paragraph style
       |
       |
    granparent paragraph style
       |
       |
    ...
    
    Illustration of the search paths when allowing a character style at a 
    paragraph style:
    paragraph
       |
       |
    automatic paragraph style -- character style -- char. style -- ...
       |
       |
    paragraph style -- character style -- parent char. style -- ...
       |
       |
    parent paragraph style -- character style -- parent char. style -- ...
       |
       |
    granparent paragraph style -- char. style -- parent char. style -- ...
       |
       |
    ...
    
    
    (2) Question:
    At the moment the proposal does not state which property value is the 
    one which has to be applied, when e.g. the paragraph style of a 
    paragraph has a character style with a value for a certain character 
    property and the parent paragraph style has a value for the same 
    character property.
    Does the character style's value or the parent paragraph style's value 
    is applied?
    
    
    (3) There exists already a solution for the use case which is mentioned 
    in the proposal. In this solution the properties "arial, 20, bold" have 
    only been specified once.
    The solution is to use property text:class-names.
    For the proposal's use case the user has to specify a paragraph style 
    "big" with character properties "arial, 20, bold". Then this paragraph 
    style can be used as the value for property text:class-names. Paragraph 
    style "big" will be applied after the paragraph's standard paragraph 
    style and its style hierarchy has been applied.
    Note: Depending on the answer to my question above this solution may be 
    different to the one allowing a character style at paragraph styles. But 
    I still think that the "text:class-names" solution is powerful enough to 
    fulfill the user's needs.
    
    
    My opinion for this proposal is that it is not necessarily needed to 
    allow a character style at a paragraph style to fulfill the proposal's 
    use case.
    
    
    
    Best regards, Oliver.
    
    -- 
    =======================================================================
    Sun Microsystems GmbH    Oliver-Rainer Wittmann
    Nagelsweg 55             Software Engineer - OpenOffice.org/StarOffice
    20097 Hamburg
    Germany                  Fax:   (+49 40) 23 646 955
    http://www.sun.de        mailto:oliver-rainer.wittmann@sun.com
    -----------------------------------------------------------------------
    Sitz der Gesellschaft:
    Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    
    =======================================================================
    Oliver-Rainer Wittmann (od) - OpenOffice.org Writer
    OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
    


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

    Posted 01-08-2009 11:06
    On Monday 01 December 2008, Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > Dear TC members,
    > 
    > David Faure wrote:
    > > Hello,
    > > 
    > > I updated
    > > http://wiki.oasis-open.org/office/User-defined_character_and_paragraph_styles
    > > (some time ago). What do I need to do for it to be discussed during a
    > > phone call and voted upon?
    > > 
    > 
    > I have some comments/questions on this proposal.
    > 
    > (1) Allowing a character style at paragraph styles will in my opinion 
    > complicate the determination of a certain character property's value for 
    > a certain paragraph.
    > Currently we have one or more straight search paths, namely the 
    > paragraph's paragraph style hierarchy.
    > When we allow a character style at paragraph styles, these straight 
    > search paths are no longer straight. At each paragraph style on the 
    > paragraph style hierarchy the possible existing character style and its 
    > style hierarchy has to be searched additionally.
    > 
    > Illustration of the search paths for existing ODF:
    > paragraph
    >    |
    >    |
    > automatic paragraph style
    >    |
    >    |
    > paragraph style
    >    |
    >    |
    > parent paragraph style
    >    |
    >    |
    > granparent paragraph style
    >    |
    >    |
    > ...
    > 
    > Illustration of the search paths when allowing a character style at a 
    > paragraph style:
    > paragraph
    >    |
    >    |
    > automatic paragraph style -- character style -- char. style -- ...
    >    |
    >    |
    > paragraph style -- character style -- parent char. style -- ...
    >    |
    >    |
    > parent paragraph style -- character style -- parent char. style -- ...
    >    |
    >    |
    > granparent paragraph style -- char. style -- parent char. style -- ...
    >    |
    >    |
    > ...
    
    Well, this is called recursivity ;-)  (or cutting a big problem into smaller ones).
    
    Honestly I don't see the problem there. When looking at a paragraph style
    instead of just looking at the paragraph-properties we would look at the
    named character style (which includes its parents, that's usual).
    Only for properties that are nowhere defined in the row
    "paragraph style -- character style -- parent char. style -- ..."
    would you go up to the parent paragraph style.
    
    An example: I create a paragraph style "Heading 1" and I associate it to
    the character style "Heading 1 characters", if that character style
    or one of its parent char styles says "text is bold" then obviously we want
    the text to be bold. If we don't say anything about the font family then
    yes we'll look up in the parent paragraph style, this is standard behavior.
    
    > (2) Question:
    > At the moment the proposal does not state which property value is the 
    > one which has to be applied, when e.g. the paragraph style of a 
    > paragraph has a character style with a value for a certain character 
    > property and the parent paragraph style has a value for the same 
    > character property.
    > Does the character style's value or the parent paragraph style's value 
    > is applied?
    
    See above, the character style's value has priority. It is part of the
    definition of the paragraph style, conceptually. Where we looked at
    paragraph-properties before we would now also look at the named
    character style. All this happens before a possible fallback to the
    parent paragraph style.
    
    > (3) There exists already a solution for the use case which is mentioned 
    > in the proposal. In this solution the properties "arial, 20, bold" have 
    > only been specified once.
    > The solution is to use property text:class-names.
    > For the proposal's use case the user has to specify a paragraph style 
    > "big" with character properties "arial, 20, bold". Then this paragraph 
    > style can be used as the value for property text:class-names. Paragraph 
    > style "big" will be applied after the paragraph's standard paragraph 
    > style and its style hierarchy has been applied.
    > Note: Depending on the answer to my question above this solution may be 
    > different to the one allowing a character style at paragraph styles. But 
    > I still think that the "text:class-names" solution is powerful enough to 
    > fulfill the user's needs.
    
    I completely disagree here. I think you're missing the starting point of the
    use case, which is: "the user defines a character style named big".
    That is a character style, not a paragraph style. We cannot change that part,
    it's the user's action, for whom it makes sense to do that because he/she wants
    to use that character style for runs of character too, elsewhere in the document.
    The question is, how to use that character style in paragraph styles *as well*.
    
    text:class-names is nice for entirely generated documents, but it certainly
    doesn't map to the standard GUI of office suites, does it? (people apply one
    paragraph style to a paragraph, not more than one).
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


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

    Posted 01-08-2009 12:33
    Hi David,
    
    David Faure wrote:
    > On Monday 01 December 2008, Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    >> Dear TC members,
    >>
    >> David Faure wrote:
    >>> Hello,
    >>>
    >>> I updated
    >>> http://wiki.oasis-open.org/office/User-defined_character_and_paragraph_styles
    >>> (some time ago). What do I need to do for it to be discussed during a
    >>> phone call and voted upon?
    >>>
    >> I have some comments/questions on this proposal.
    >>
    >> (1) Allowing a character style at paragraph styles will in my opinion 
    >> complicate the determination of a certain character property's value for 
    >> a certain paragraph.
    >> Currently we have one or more straight search paths, namely the 
    >> paragraph's paragraph style hierarchy.
    >> When we allow a character style at paragraph styles, these straight 
    >> search paths are no longer straight. At each paragraph style on the 
    >> paragraph style hierarchy the possible existing character style and its 
    >> style hierarchy has to be searched additionally.
    >>
    >> Illustration of the search paths for existing ODF:
    >> paragraph
    >>    |
    >>    |
    >> automatic paragraph style
    >>    |
    >>    |
    >> paragraph style
    >>    |
    >>    |
    >> parent paragraph style
    >>    |
    >>    |
    >> granparent paragraph style
    >>    |
    >>    |
    >> ...
    >>
    >> Illustration of the search paths when allowing a character style at a 
    >> paragraph style:
    >> paragraph
    >>    |
    >>    |
    >> automatic paragraph style -- character style -- char. style -- ...
    >>    |
    >>    |
    >> paragraph style -- character style -- parent char. style -- ...
    >>    |
    >>    |
    >> parent paragraph style -- character style -- parent char. style -- ...
    >>    |
    >>    |
    >> granparent paragraph style -- char. style -- parent char. style -- ...
    >>    |
    >>    |
    >> ...
    > 
    > Well, this is called recursivity ;-)  (or cutting a big problem into smaller ones).
    > 
    > Honestly I don't see the problem there. When looking at a paragraph style
    > instead of just looking at the paragraph-properties we would look at the
    > named character style (which includes its parents, that's usual).
    > Only for properties that are nowhere defined in the row
    > "paragraph style -- character style -- parent char. style -- ..."
    > would you go up to the parent paragraph style.
    
    I did not meant that for me such an "attribute value determination" is 
    too complicated.
    But, from the user's point of view the proposed stuff is more 
    complicated than the former one - a "one-way" recursivity is replaced by 
    a "two-way" recursivity.
    When a user wants to figure out, where a certain character attribute is 
    specified, she/he has *manually* perform the "two-way" recursivity. This 
    is in my eyes more complicated than the former stuff.
    
    > 
    > An example: I create a paragraph style "Heading 1" and I associate it to
    > the character style "Heading 1 characters", if that character style
    > or one of its parent char styles says "text is bold" then obviously we want
    > the text to be bold. If we don't say anything about the font family then
    > yes we'll look up in the parent paragraph style, this is standard behavior.
    > 
    >> (2) Question:
    >> At the moment the proposal does not state which property value is the 
    >> one which has to be applied, when e.g. the paragraph style of a 
    >> paragraph has a character style with a value for a certain character 
    >> property and the parent paragraph style has a value for the same 
    >> character property.
    >> Does the character style's value or the parent paragraph style's value 
    >> is applied?
    > 
    > See above, the character style's value has priority. It is part of the
    > definition of the paragraph style, conceptually. Where we looked at
    > paragraph-properties before we would now also look at the named
    > character style. All this happens before a possible fallback to the
    > parent paragraph style.
    
    Ok, no problem.
    My intention was to get this specified.
    
    > 
    >> (3) There exists already a solution for the use case which is mentioned 
    >> in the proposal. In this solution the properties "arial, 20, bold" have 
    >> only been specified once.
    >> The solution is to use property text:class-names.
    >> For the proposal's use case the user has to specify a paragraph style 
    >> "big" with character properties "arial, 20, bold". Then this paragraph 
    >> style can be used as the value for property text:class-names. Paragraph 
    >> style "big" will be applied after the paragraph's standard paragraph 
    >> style and its style hierarchy has been applied.
    >> Note: Depending on the answer to my question above this solution may be 
    >> different to the one allowing a character style at paragraph styles. But 
    >> I still think that the "text:class-names" solution is powerful enough to 
    >> fulfill the user's needs.
    > 
    > I completely disagree here. I think you're missing the starting point of the
    > use case, which is: "the user defines a character style named big".
    > That is a character style, not a paragraph style. We cannot change that part,
    > it's the user's action, for whom it makes sense to do that because he/she wants
    > to use that character style for runs of character too, elsewhere in the document.
    > The question is, how to use that character style in paragraph styles *as well*.
    > 
    > text:class-names is nice for entirely generated documents, but it certainly
    > doesn't map to the standard GUI of office suites, does it? (people apply one
    > paragraph style to a paragraph, not more than one).
    > 
    
    It depends who a certain application presents such a feature to the 
    user. There is no need for a 1:1 representation of ODF features in an 
    application. Certain abstractions and simplifications could be made hide 
    the intrinsic ODF representation.
    
    Is it correct that your proposal tries to provide a solution for the 
    user's request to have a set of character attributes at her/his hand, 
    which she/he can reuse for several paragraphs, which apply different 
    paragraph styles?
    If yes, in my point of view it is not necessarily needed to define this 
    set of character attributes in an ODF character style. To say that this 
    set of character attributes have to be defined in ODF character style 
    limits in my eyes the possible set of solutions for such a request.
    
    
    Having the "text:class-names" feature in ODF already complicates the 
    "attribute value determination" for paragraph attributes. I only want to 
    express that your proposal would add another level of "attribute value 
    determination", which is more complicate than the already existing one, 
    especially for the user.
    
    
    Best regards, Oliver.
    
    -- 
    =======================================================================
    Sun Microsystems GmbH    Oliver-Rainer Wittmann
    Nagelsweg 55             Software Engineer - OpenOffice.org/StarOffice
    20097 Hamburg
    Germany                  Fax:   (+49 40) 23 646 955
    http://www.sun.de        mailto:oliver-rainer.wittmann@sun.com
    -----------------------------------------------------------------------
    Sitz der Gesellschaft:
    Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    
    =======================================================================
    Oliver-Rainer Wittmann (od) - OpenOffice.org Writer
    OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS