OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
Expand all | Collapse all

feature request for enhanced OOo input fields: some suggestions fordiscussion

  • 1.  feature request for enhanced OOo input fields: some suggestions fordiscussion

    Posted 11-09-2007 15:04
    Dear TC members,
    
    in the last TC call - see the corresponding meeting minutes - we agreed 
    on the use-case for the feature request for enhanced OOo input fields - 
    see http://www.oasis-open.org/archives/office/200710/msg00120.html
    
    According to the action item given to me in the last TC call, I want to 
    provide some suggestions for the discussion in order to find a solution 
    how this feature request can be modeled in ODF. In the following I will 
    call the object, which should represent this feature "enhanced OOo input 
    field". It's only a name, which points to the use-case we agreed on. 
    When we have found the solution, then it is the time to choose an 
    appropriate name for it
    
    suggestions:
    (1) usage of 


  • 2.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-09-2007 15:25
    Oliver, is there a fifth option?
    
    (5) change the content model for text:input-field to paragraph and other 
    content
    
    Or have you left that out for backward compatibility reasons?
    
    Bruce
    


  • 3.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-12-2007 07:03
    Hi Bruce,
    
    Bruce D'Arcus wrote:
    > Oliver, is there a fifth option?
    > 
    > (5) change the content model for text:input-field to paragraph and other 
    > content
    
    Yes, I think that's a fifth option
    
    > 
    > Or have you left that out for backward compatibility reasons?
    
    No. I simply did not think of this option.
    
    
    Regards, Oliver.
    


  • 4.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-14-2007 08:57
    Dear TC members,
    
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > Dear TC members,
    > 
    > (4) usage of new element 


  • 5.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-14-2007 11:06
    Dear TC members,
    
    I'm supporting Michael's variant (4a) and, if wanted, also variant (4b).
    
    In my opinion there are the following Pros and Cons for the variants:
    
    Variant (1):
    Pros:
    (P1.1) well-formed
    (P1.2) only contains complete text content elements
    Cons:
    (C1.1) nested 


  • 6.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-21-2007 09:28
    Dear TC members,
    
    there are no more comments or questions coming in on this topic. Also, 
    nobody else provided new Pros or Cons for the different variants.
    Thus, I want to propose to restrict our further discussion on variants 
    (4a)/(4b) and (2) as the next step on this topic. Any objections?
    
    I also want to ask the TC members to state their opinions on variants 
    (4a)/(4b) and (2) in order to come to a conclusion, for which variant, 
    we should work out a concrete proposal.
    
    My personal opinion is that we should choose variant (4a)/(4b) or 
    variant (2) to fulfill the made feature request - each of these variants 
    would be Ok for OpenOffice.org.
    
    
    Regards, Oliver.
    
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > Dear TC members,
    > 
    > I'm supporting Michael's variant (4a) and, if wanted, also variant (4b).
    > 
    > In my opinion there are the following Pros and Cons for the variants:
    > 
    > Variant (1):
    > Pros:
    > (P1.1) well-formed
    > (P1.2) only contains complete text content elements
    > Cons:
    > (C1.1) nested 


  • 7.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-22-2007 15:31
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    
    > there are no more comments or questions coming in on this topic. Also, 
    > nobody else provided new Pros or Cons for the different variants.
    > Thus, I want to propose to restrict our further discussion on variants 
    > (4a)/(4b) and (2) as the next step on this topic. Any objections?
    
    No objection.
    
    > I also want to ask the TC members to state their opinions on variants 
    > (4a)/(4b) and (2) in order to come to a conclusion, for which variant, 
    > we should work out a concrete proposal.
    > 
    > My personal opinion is that we should choose variant (4a)/(4b) or 
    > variant (2) to fulfill the made feature request - each of these variants 
    > would be Ok for OpenOffice.org.
    
    I guess I lean towards 4a or b, since it's well-formed.
    
    I do have a couple of questions though:
    
    Michael presented this example:
    
    


  • 8.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-22-2007 16:18
    Hi Bruce,
    
    Bruce D'Arcus wrote:
    > Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > 
    >> there are no more comments or questions coming in on this topic. Also, 
    >> nobody else provided new Pros or Cons for the different variants.
    >> Thus, I want to propose to restrict our further discussion on variants 
    >> (4a)/(4b) and (2) as the next step on this topic. Any objections?
    > 
    > No objection.
    > 
    >> I also want to ask the TC members to state their opinions on variants 
    >> (4a)/(4b) and (2) in order to come to a conclusion, for which variant, 
    >> we should work out a concrete proposal.
    >>
    >> My personal opinion is that we should choose variant (4a)/(4b) or 
    >> variant (2) to fulfill the made feature request - each of these 
    >> variants would be Ok for OpenOffice.org.
    > 
    > I guess I lean towards 4a or b, since it's well-formed.
    > 
    > I do have a couple of questions though:
    > 
    > Michael presented this example:
    > 
    > 


  • 9.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-22-2007 22:13
    Michael Brauer wrote:
    
    > Bruce D'Arcus wrote:
    
    ...
    
    >> I'm a little confused by the 
    >> text:NEW-ELEMENT/text:p/text:NEW-ELEMENT-PREFIX path. Why is the 
    >> paragraph a child of the field, and the prefix a child of that paragraph?
    > 
    > This has three reasons: 1. From the structural perspective, the prefix 
    > is part of the paragraph. The user sees it as part of the paragraph, and 
    > if one asks for the content of the paragraph, one wants to get the 
    > content including the prefix, and not just the text the user enters. 2. 
    > If the prefix is not part of the paragraph, all implementations, have to 
    > implement a merging algorithm, even those applications, that only want 
    > to display a document and don't care about fields. This can be avoided 
    > if the prefix is part of the paragraph. In that case, only the start and 
    > end tags have to be ignored. That's, compared to merging, a trivial 
    > operation. 3. It saves us from specifying how to merge the prefix with 
    > the paragraph, which would not be trivial to specify, and, more 
    > important, not trivial to implement.
    
    OK.
    
    >> And am I right to understand the text:NEW-ELEMENT would appear within 
    >> a text:p element? Or would it stand alone; e.g.:
    >>
    >> 
    >> 
    >>
    >> ...?
    > 
    > It would be stand alone, that is, may occur where paragraphs can occur.
    > For input fields within paragraphs there would be the traditional text 
    > field, for which we probably would allow arbitrary paragraph content, 
    > but that does not support paragraph breaks.
    
    That makes sense.
    
    >> I'm partly asking about the prefix and suffix elements because we were 
    >> suggesting something analogous as RDF properties for the 
    >> text:meta-field, and want to make sure we have some common understanding.
    > 
    > I have thought about this, too, but I'm not sure whether this is really 
    > the same. In the input field case, the prefix and suffix are those 
    > portions of the paragraph that the user does not enter. If the user for 
    > instance deletes the field, one would probably copy the prefix and 
    > suffix to the document as static content.
    > 
    > In the metadata field case, it is my understanding that the prefix and 
    > suffix are part of the generated text. That is, they are parameters for 
    > the (plug-in specific) algorithm that creates the label. If the metadata 
    > field is deleted, then the prefix and suffix will be deleted, too.
    
    The prefix and suffix are indeed part of the generated text, but those 
    properties themselves would typically be user-supplied.
    
    Bruce
    


  • 10.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 11-30-2007 14:54
    Dear TC members,
    
    Do you have objections against variant (2) or against (4a)/(4b)?
    If yes, please let us know. Please provide also reasonable arguments for 
    your objection.
    Please let us also know, if you are in strong favour of one of the 
    variants. If yes, give your reasonable arguments.
    
    
    Thanks, Oliver.
    
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > Dear TC members,
    > 
    > there are no more comments or questions coming in on this topic. Also, 
    > nobody else provided new Pros or Cons for the different variants.
    > Thus, I want to propose to restrict our further discussion on variants 
    > (4a)/(4b) and (2) as the next step on this topic. Any objections?
    > 
    > I also want to ask the TC members to state their opinions on variants 
    > (4a)/(4b) and (2) in order to come to a conclusion, for which variant, 
    > we should work out a concrete proposal.
    > 
    > My personal opinion is that we should choose variant (4a)/(4b) or 
    > variant (2) to fulfill the made feature request - each of these variants 
    > would be Ok for OpenOffice.org.
    > 
    > 
    > Regards, Oliver.
    > 
    
    


  • 11.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 12-04-2007 08:29
    Dear TC members,
    
    no more comments and opinions on so far.
    
    Thus, the TC decided in the TC call yesterday, that we will have a 
    decision for which variant a proposal has to be worked out in our next 
    TC call on 2007-12-17
    
    I've got the action item to follow up this issue on the mailing list.
    Thus, I want again ask for preferences or objections for the variants.
    Especially, I want to ask the TC members, which are involved in the 
    original discussion started by Florian - see thread 
    http://www.oasis-open.org/archives/office/200710/msg00066.html, for 
    their point of view.
    
    Basis for the TC decision in the TC call on 2007-12-17 will be the 
    feedback given on the mailing list regarding this topic and the point of 
    view of the TC members, which will attend the next TC call.
    
    
    Thx for your help and your input, Oliver.
    
    
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > Dear TC members,
    > 
    > Do you have objections against variant (2) or against (4a)/(4b)?
    > If yes, please let us know. Please provide also reasonable arguments for 
    > your objection.
    > Please let us also know, if you are in strong favour of one of the 
    > variants. If yes, give your reasonable arguments.
    > 
    > 
    > Thanks, Oliver.
    > 
    > Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    >> Dear TC members,
    >>
    >> there are no more comments or questions coming in on this topic. Also, 
    >> nobody else provided new Pros or Cons for the different variants.
    >> Thus, I want to propose to restrict our further discussion on variants 
    >> (4a)/(4b) and (2) as the next step on this topic. Any objections?
    >>
    >> I also want to ask the TC members to state their opinions on variants 
    >> (4a)/(4b) and (2) in order to come to a conclusion, for which variant, 
    >> we should work out a concrete proposal.
    >>
    >> My personal opinion is that we should choose variant (4a)/(4b) or 
    >> variant (2) to fulfill the made feature request - each of these 
    >> variants would be Ok for OpenOffice.org.
    >>
    >>
    >> Regards, Oliver.
    >>
    > 
    > 
    > ---------------------------------------------------------------------
    > To unsubscribe from this mail list, you must leave the OASIS TC that
    > generates this mail.  You may a link to this group and all your TCs in 
    > OASIS
    > at:
    > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
    
    


  • 12.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 12-05-2007 19:40
    Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    
    > I've got the action item to follow up this issue on the mailing list.
    > Thus, I want again ask for preferences or objections for the variants.
    
    My main points were:
    
    a) wanted some clarification of (different) generic fields (to see how 
    the new metadata field fits in, or not, and to in general clarify field 
    semantics)
    
    b) to express a general preference to prefer well-formedness to ease XML 
    processing (for example, XSLT)
    
    c) that I thought Florian's work on OOo was cool that I'd love to see it 
    help towards implementation of the new metadata field
    
    I already indicated my general preference on the list (I think it was 
    for 4b IIRC).
    
    See also my back-and-forth with Mathias on his recent blog entry.
    
    


  • 13.  Re: [office] feature request for enhanced OOo input fields: somesuggestions for discussion

    Posted 12-13-2007 16:21
    Hi all,
    
    Below is my personal opinion on the proposals. I'm replying to Bruce's
    mail, because he made some good points.
    
    To summarize my opinion: For a text input field I think (2) is a good
    choice, but (4a) and (4b) would also work for me. For a metadata field,
    (2) isn't a good choice, but only a solution similar to (4a)/(4b).
    Details are below.
    
    
    
    Bruce D'Arcus wrote:
    > Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems wrote:
    > 
    >> I've got the action item to follow up this issue on the mailing list.
    >> Thus, I want again ask for preferences or objections for the variants.
    > 
    > My main points were:
    > 
    > a) wanted some clarification of (different) generic fields (to see how 
    > the new metadata field fits in, or not, and to in general clarify field 
    > semantics)
    
    My view on this is that the user-input field is somehow special. Most
    elements that we call fields in ODF display some text based on certain
    information provided with the field. The user input field we are
    discussing here seems to be different. My understanding is that it is
    more like a bookmark at which the cursor may be located, and where the
    user may enter arbitrary content.
    
    So, I agree that it is very reasonable to see how the metadata field
    fits into the concept of other ODF fields. But because the text-input
    field itself is so special, I think most if not all other fields are
    more suitable for a comparison or analysis than the user input field.
    
    One of the difficulties we face with the user input field is that it may
    start within some paragraph, may end within some other, and allows
    arbitrary content. If this a requirement that exists for the metadata
    field? Or do we assume that it either contains full paragraphs (and then
    appears at the the same level as paragraphs) or only paragraph content
    (where it appears within the paragraph)?
    
    If we think that metadata fields shall start within a paragraph
    and may end within another, then it is reasonable to align them with the
    user input field. If this is not the case, then I could imagine that we
    use a different variants for the user input field than for the metadata
    field, namely (2) for the text input field, and something similar to
    (4a) or (4b) for the metadata field.
    
    My assumption is that meta data fields do not have the requirement to
    start or end in the middle of paragraphs. Simply because this would mean
    that the content of the metadata field would be a mixture of paragraph
    fragments and paragraphs, and I cannot imagine a use case where this is
    a reasonable content model for a metadata field. I can however imagine
    that it is reasonable to allow full paragraphs as content of metadata
    fields. But this again does not require that metadata fields may start
    or end within paragraphs.
    
    > 
    > b) to express a general preference to prefer well-formedness to ease XML 
    > processing (for example, XSLT)
    
    I agree to this, but think we have to take into account what the task is
    we want to solve using XSLT. This may be extracting the field content,
    but also extracting paragraph content, for instance to display or read
    the document. The original solution (4) for instance does make it very
    simple to extract the field content, but extremely difficult to get the
    content of a paragraph.
    
    So, the question is how often will it happen that someone requests the
    content of a user-input field using XSLT? Given the nature of the text
    input field, I guess that this does not happens often, in particular not
    if we compare this to the number of times a paragraph is displayed.
    
    The processing of documents for the purpose of displaying them is a
    little bit more difficult in solution (4a) and (4b) than in solution (2)
    actually. That's why I think (2) may be a good solution for a text input
    field.
    
    For a metadata field, the situation is different. I think it will happen
    more frequently that the content of a metadata field is processed.
    That's why I think (4a/b) is the better solution here.
    
    > 
    > c) that I thought Florian's work on OOo was cool that I'd love to see it 
    > help towards implementation of the new metadata field
    
    First of all, the question whether the OOo project (or any other
    project) may reuse an existing implementation should not influence our
    decision what a good representation of a feature in OOo is. The question
    is more whether implementations for one field could be reused for
    another in general, and here again the question is how much the two
    fields actually have in common. If they don't have much in common, then
    it may actually be easier to require two simple implementations, than a
    single but more complex one.
    
    Anyway, what OOo and other applications save to ODF is not their
    internal model, and I see nor reason why a metadata field could not
    reuse the implementation of a user-input field even if the
    representation on ODF is entirely different.
    
    > 
    > I already indicated my general preference on the list (I think it was 
    > for 4b IIRC).
    
    As for metadata field I'm in favor of 4a or 4b, too, though I do not
    know whether we really need the prefix and suffix here, which in the
    case of the user-input field are not considered part of the field
    content. I know that it has been discussed to have a prefix and suffix
    for the metadata field, too, but my understanding is that they there are
    considered to be part of the field content. So, though we both call
    prefix and suffix, we are in my opinion talking of two different things.
    If we can omit the prefix and suffix (as defined for the user-input
    fields), then solution (4a) or (4b) would get significant simpler, and
    not more difficult than (2) actually. But it also would not meet the
    requirements for text input fields any longer. That's why I think this
    would be a good option for the metadata field.
    
    As for the user-input field, I have a slight preference for (2), because
    it is very lightweight, and more important, is close to how the user
    sees it. But I have to admit that it is a slight preference only. That's
    why I say (4a) or (4b) would work for me, too.
    
    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
    
    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