<div dir="ltr"><div dir="ltr">Hi Regina,</div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
<br>
> I found that I was confused with the name "loext:text-direction", and <br>
> connected it to writing-mode. > In different context direction may mean writing direction in Bidi text,<br>
> as in [1].<br>
<br>
You are right, the name is indeed misleading, probably <br>
"loext:text-vertical" is better?<br>
<br></blockquote><div><br></div><div>I was thinking text-orientation, but I found it has different meaning some where ( see below. )</div><div>Naming is hard. :-) Apology for not being able to give useful advice on this.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Is that new "loext:text-direction" attribute only intended to rotate <br>
> text for RL_TB writing mode?<br>
> ( wordArtVert and wordArtVertRtl should also be excluded in that case? )<br>
<br>
"wordArtVer" and "wordArtVertRtl" would be included in principle. But <br>
both are not yet implemented.<br>
<br>
I am not sure if I should go this way at all. My knowledge is enough to <br>
extend the "extended-geometry" with an additional attribute for "vert" <br>
and "vert270". And it can be extended to the values "wordArtVert" and <br>
"wordArtVertRtl" if that is implemented. However, another option would <br>
be to enable the text in shapes to use WritingMode2 and extend its <br>
values similar to the current loext:writing-mode="bt-lr". This looks <br>
better to me for future development. Only I certainly need help for the <br>
implementation.<br>
<br></blockquote><div><br></div><div>The real use cases might be mixed depending on content, </div><div>as described in CJK text layout requirement[1]:</div><div>Western text keeps upright as CJK text for single alphabet, digit, or abbreviation ( ex, GDP ).</div><div>Western text rotated 90 degrees for numbers more than 4 digits, longer phrases, or sentences.<br></div><div>There is a CSS property called text-orientation[2].<br></div><div><br></div><div>Since you're mapping ooxml values to CustomGeometry property, I guess it's not wrong to include them.</div><div><br></div><div>[1]<a href="https://www.w3.org/TR/clreq/#mixed_text_composition_in_vertical_writing_mode">https://www.w3.org/TR/clreq/#mixed_text_composition_in_vertical_writing_mode</a></div><div>[2]<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientation">https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientation</a></div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Kind regards,<br>
Regina<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Mark Hung<br></div></div></div></div>