OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-3881) [text] Proposal: drop-down listbox field


    [ https://issues.oasis-open.org/browse/OFFICE-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59308#comment-59308 ] 

Michael Stahl commented on OFFICE-3881:
---------------------------------------

the "schema changes" should mention that the addition belongs into this "choice" element:

	<define name="paragraph-content">
		<choice>
        ....
                </choice>
       </define>

the listed parent elements are simply the ones that may have "paragraph-content" children.

(btw: the lists of parent/children/attributes were auto-generated from the schema in ODF 1.2, does anybody still know how that was done?)

the text content is the same as the currently selected value, which is similar to every other field.

just tried it out, in LO you can insert this in Insert->Fields->More Fields->Functions->Input list and get:

        <text:drop-down text:name="quux">
           <text:label text:value="foo"/>
           <text:label text:current-selected="true" text:value="bar"/>
           <text:label text:value="baz"/>
          bar
       </text:drop-down>

=> i agree with Regina's comment that the text:current-selected attribute needs adding
=> not sure about making text:name mandatory, or rather i don't have an opinion on it because
     i don't see much difference between having to write the attribute with an empty value and optional


> [text] Proposal: drop-down listbox field
> ----------------------------------------
>
>                 Key: OFFICE-3881
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3881
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: New Feature
>          Components: Fields
>    Affects Versions: ODF 1.3
>         Environment: This is an enhancement, described in terms of changes to OpenDocument-v1.2
>            Reporter: Andras Timar
>            Assignee: Andras Timar
>
> The support of drop-down listbox fields was added to OpenOffice.org in 2003, possibly as an MS Office interoperability feature. However, <text:drop-down> element does not exist in ODF 1.0-1.2. 



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]