<div dir="ltr"><div>>§18.10.1.73 pivotTableDefinition (@applyAlignmentFormats, @applyBorderFormats,</div><div>>@applyFontFormats, @applyNumberFormats, @applyPatternFormats, @applyWidthHeightFormats,</div><div>>@dataPosition) (complex type: CT_pivotTableDefinition) – in each case default value 0</div><div><br></div><div>These atributes except @dataPosition are defined in an attribute group</div><div>AG_AutoFormat, which is referenced by CT_RevisionAutoFormatting</div><div>(element "raf"), CT_QueryTable (element "queryTable").  Is it OK to</div><div>introduce these defaults values for the elements raf and queryTable?</div><div><br></div><div>Regards,</div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-08 19:25 GMT+09:00 MURATA Makoto <span dir="ltr"><<a href="mailto:eb2m-mrt@asahi-net.or.jp" target="_blank">eb2m-mrt@asahi-net.or.jp</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>>§18.10.1.69 pivotField (@dataSourceSort, @numFmtId) (complex type: CT_PivotField) – default values</div><div>>of false and true respectively</div><div><br></div><div>But @numFmtId is of the type ST_NumFmtId, which is derived from xsd:unsignedInt</div><div><br></div><div>Regards,</div><div>Makoto</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-09-07 22:28 GMT+09:00 MURATA Makoto <span dir="ltr"><<a href="mailto:eb2m-mrt@asahi-net.or.jp" target="_blank">eb2m-mrt@asahi-net.or.jp</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Francis,<div><br></div><div>Thank you for your through analysis.  I am convinced that flase is the correct default </div><div>value for <span style="font-size:14px">color, tagColor, fgColor, bgCollor elements.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">I have incorporated this default value (and a few more) in the repository.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">I can probably finish introducing default values for closing this DR </span></div><div><span style="font-size:14px">by the end of this week.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Regards,</span></div><div><span style="font-size:14px">Makoot</span></div></div><div class="m_3586978271043760217HOEnZb"><div class="m_3586978271043760217h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-09-07 19:42 GMT+09:00 Francis Cave <span dir="ltr"><<a href="mailto:francis@franciscave.com" target="_blank">francis@franciscave.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div class="m_3586978271043760217m_8133362555167815383m_-86237985917151602WordSection1"><p class="MsoNormal"><span>Murata-san<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>You make a good point. The same default value might not make sense in all these cases. The four cases you mention are in fact the only cases where a SpreadsheetML element uses the complex type CT_Color:<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>§</span><span>18.3.1.15 color<u></u><u></u></span></p><p class="MsoNormal"><span>§</span><span>18.3.1.93 tabColor<u></u><u></u></span></p><p class="MsoNormal"><span>§</span><span>18.8.3 bgColor<u></u><u></u></span></p><p class="MsoNormal"><span>§</span><span>18.8.19 fgColor<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>In all these cases the description of @auto is the same: <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:36.0pt"><span>A boolean value indicating the color is automatic and system color dependent.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>I’ve checked MS-OI29500, and the notes for each of the first three elements (i.e. excluding fgColor) all cross-refer to one another, indicating that what is said about one also applies to the other two. That suggests that Excel uses a default value of </span><span style="font-family:Consolas">false</span><span> for @auto in all the cases color, tabColor and bgColor.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>On checking the MS-OI29500 notes for </span><span>§</span><span>18.8.19 fgColor, I find that this too cross-refers to the notes on the other three elements, which I take to imply that Excel also uses the default value of </span><span style="font-family:Consolas">false</span><span> for @auto in this case.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>The second paragraph under </span><span>§</span><span>18.3.1.15 color states:<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>                The auto attribute shall not be used in the context of data bars.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>A strict interpretation would mean that it is an error to include @auto in the context of the element dataBar. For example, the following is non-conformant according to the prose, although allowable according to the schema: <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas">            <dataBar><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas">                <cfvo type="min"/><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas">                <cfvo type="max"/><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas">                <color auto="false" rgb="FF638EC6"/><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Consolas">            </dataBar><u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>However, I have tested this in Excel, and Excel does not complain. LibreOffice does not complain either.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Kind regards,<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Francis<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:eb2mmrt@gmail.com" target="_blank">eb2mmrt@gmail.com</a> [mailto:<a href="mailto:eb2mmrt@gmail.com" target="_blank">eb2mmrt@gmail.com</a>] <b>On Behalf Of </b>MURATA Makoto<br><b>Sent:</b> 07 September 2017 03:15<span><br><b>To:</b> SC 34 WG4 <<a href="mailto:e-SC34-WG4@ecma-international.org" target="_blank">e-SC34-WG4@ecma-international<wbr>.org</a>><br><b>Subject:</b> Re: DR-17-0027, "SML: omissions and inconsistencies in the specification of attributes"<u></u><u></u></span></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">> §18.3.1.93 tabColor (@auto) (complex type: CT_TabColor) – default value false<u></u><u></u></p><div><div class="m_3586978271043760217m_8133362555167815383h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">The complex type is CT_Color.  But this complex type is shared by elements <u></u><u></u></p></div><div><p class="MsoNormal">such as color, tabColor, fgColor, and bgColor.  If we introduce a default value to <u></u><u></u></p></div><div><p class="MsoNormal">this complex type, it will apply to these elements.  Is this OK?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Makoto<u></u><u></u></p></div></div></div></div><div><div class="m_3586978271043760217m_8133362555167815383h5"><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2017-09-06 23:23 GMT+09:00 Rex Jaeschke <<a href="mailto:rex@rexjaeschke.com" target="_blank">rex@rexjaeschke.com</a>>:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal"><u></u> <u></u></p></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto<u></u><u></u></p></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3586978271043760217m_8133362555167815383gmail_signature" data-smartmail="gmail_signature"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3586978271043760217gmail_signature" data-smartmail="gmail_signature"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div>