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] Commented: (OFFICE-1892) 17.471style:condition is a mess



    [ http://tools.oasis-open.org/issues/browse/OFFICE-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11900#action_11900 ] 

Dennis Hamilton commented on OFFICE-1892:
-----------------------------------------

In ODF 1.1 this is handled better in section 14.1.1 Style Mappings, Condition subsection.  The proposal here restores that clarity.

I notice that ODF 1.1 mentions the application for data, as well as paragraphs and table cells, but it is not that clear exactly where that comes up.

I also notice that the formula reference in ODF 1.1 14.1.1 is to section 8.1.3 and mentions omission of the "=".  But there, and here in 17.471 there is no mention of a possible prefix that determines the namespace that defines the formula syntax and semantics.  (There probably needs to be something about what constitutes true and false with respect to various formula result types, too.) 

> 17.471 style:condition is a mess
> --------------------------------
>
>                 Key: OFFICE-1892
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1892
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: General
>    Affects Versions: ODF 1.2
>         Environment: ODF 1.2 cd02
>            Reporter: Michael Stahl 
>
> <quote>
> The following conditions are valid for paragraph styles:
> * cell-content() operator value, where operator is one of; '<', '>', '<=', '>=', '=' or '!=', and value is a numberValue, a string or a formula.
> * cell-content-is-between(value, value)
> * cell-content-is-not-between(value, value)
> * endnote()
> * footer()
> * footnote()
> * A formula is a formula (see ) without the equals (=) sign at the beginning.
> * header()
> * is-true-formula(formula)
> * list-level()=n, where n is a number between 1 and 10
> * A numberValue is a whole or decimal number. The number cannot contain comma separators for numbers of 1000 or greater.
> * outline-level()=n, where n is a number between 1 and 10
> * section()
> * A string comprises one or more characters surrounded by quotation marks.
> * table()
> * table-header()
> The following conditions are valid for data styles:
> * value() op n, where op is a relational operator and n is a number.
> For Boolean styles the condition value must be true and false.
> <quote>
> problem 1: the list for paragraph styles also contains the items that apply to table cell styles in a completely mixed up way
> problem 2: the paragraph "For boolean styles ..." should be a list item under data styles, because boolean styles are data styles 
> problem 3: furthermore there is a broken reference:
> <quote>
> A formula is a formula (see )
> </quote>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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