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

 


Help: OASIS Mailing Lists Help | MarkMail Help

oic message

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


Subject: Advisory 00005: Line-through style/type - Follow-Up


Last year, Andreas questioned the advisories in conjunction with a test document:
<https://www.oasis-open.org/apps/org/workgroup/oic/email/archives/201210/msg00005.html>.

This became Action Item #0051.  Recently, I agreed to take a look at it, providing the summary in the message below.  It is claimed that the ambiguity and the precedence of different ways of achieving a line-through remains to be clarified.

Here is the deeper look:

In ODF 1.2, 20.366, the value of "none" for style:text-line-through-type is deprecated.
In addition, the style:text-line-through-type should not be present if there is no style:text-line-through-style.  

Note that 20.366 is an over-simplification, since the attributes can occur at different levels.  They don't have to be together in the same attribute list, and one could effectively cancel the effect of a higher-place setting.

Just the same, it appears that style:text-line-through-style is meant to be the enabling style.  When this style is "none" it can block a superior setting of the style.

When it is not "none", there are a number of additional attributes that influence how it is achieved, including style:text-line-through-type, style:text-line-through-color, style:text-line-through-width, and style:text-line-through-mode.

Note that a style:text-line-through-type is not necessary even if style:text-line-through-style is not "none".  In particular, a style:text-line-through-text attribute can be used to do text strike-over instead, in which case the line-through details don't apply unless the line-through-text is not supported. 

I believe the advisory should be consistent with the ODF 1.2 clarification.

I will be happy to clean that up in the next few days if there is no objection.

 - Dennis

-----Original Message-----
From: oic@lists.oasis-open.org [mailto:oic@lists.oasis-open.org] On Behalf Of Dennis E. Hamilton
Sent: Wednesday, May 29, 2013 09:08
To: 'OIC TC List '
Subject: [oic] Advisory 00005: Line-through style/type

This was discussed in the action items for today.  I promised to look at what implementations do.  Here are my observations.

 - Dennis

Looking at the advisory, I notice that it is a Candidate, not just a draft.  It is also indicated that ODF 1.2 Part 1 Section 20.366 fixes this.  

I had agreed to check on what implementations do, but that is not particularly necessary.  It looks like the explanations in 20.361 through 20.367 are, taken together, quite comprehensive.  

I haven't found an implementation that handles all of these variations (conflicts don't seem to be possible).  In particular, ODF 1.2 appears to allow more cases than implementations offer, and it would be interesting to see what consumers do when encountering cases that the consumer does not produce.

The common case in OpenOffice-lineage implementations is to allow any one of these strikethrough choices:

 (none)
 Single line
 Double line
 Bold (single line)
 With / (no line)
 With X (no line)

I don't know what happens if these are stacked up using different spans over the same text.

The ODF 1.2 specification allows control of color, line choice and boldness separately, along with other characters than '/' and 'X' and also some control over the text beneath a strike-through.  Whether a strike-through includes white space between words is also apparently under automatic control of these producers.

I'd say the advisory can be completed without going into all of this.  There is certainly an opportunity for some interesting test cases though.

 - Dennis




---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that 
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 



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