Re: Why is text-align="left"(and "start") not working for DOCX output?

Hussein Shafie <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
On 09/19/2013 04:00 PM, ronnie wrote:
>
>      I'm using MS-Word 2010 and I don't know if it is XFC bug or not.
>      It may be an issue with MS-Word version.

No, this is not an issue with MS-Word version. See below.



>
>      Anyway, my concern is that both text-align="start" and text-align="left"
> attributes does not affect
>      DOCX output.
>
>      Please refer to attachments:
>
>      1. manual_capture.JPG : I have captured the document that you sent me.
> As you can see from it, there is a align problem in verbatim block.

I'm sorry but I don't see anything wrong when I open this document in 
MS-Word 2007, 2010 or 2013. Everything looks great.




>      2. align_right.zip : text-align="right" attribute inserts "<w:jc
> w:val="right"/>" to document.xml
>          in verbatim.docx file.

That's normal. See reason below.




>      3. align_start_or_left.zip : text-align="start" and "left" attributes
> never insert
>          "<w:jc w:val="left"/>" to document.xml in verbatim.docx file.

That's right. However, verbatim.docx looks as expected when opened in 
MS-Word 2007, 2010 or 2013. I've attached 3 screenshots to this email to 
prove what I'm saying.



>
>      So, please let me know how to set "<w:jc w:val="left"/>" to document.xml
> of DOCX file.
>

There is no way to do that. XFC considers that  w:val="left is the 
default value for w:jc and thus, never inserts <w:jc w:val="left"/>.

I suspect that the problem is triggered by your locale (Korea?) and/or 
your specific MS-Word preferences. I'm sorry but I have no way to 
reproduce this problem here (in France).


--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
verbatim_word2007.png (image/png, 66.1 KB) - not displayed
verbatim_word2010.png (image/png, 76 KB) - not displayed
verbatim_word2013.png (image/png, 53.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.