First of all, please post your support requests to
w2x-support@xmlmind.com and not to xfc-supp...@xmlmind.com (W2X and XFC
are different, unrelated, products).
Ashok Hariharan wrote:
I have a word document with numbered paragraphs:
1. blah...
2. blah
a. level 2 blah...
b. level 2 blah...
i. level 3...
ii. level 3...
a) level 4
b) level 4
iii. level 3...
c. level 2 blah...
I convert this to docbook and process it further to other formats.
Now my problem is that both the "a." at level 2 and "a)" at level 3 are
identified as numeration="loweralpha" which is correct. but the the number
decorator (".") for levle 2 and (")") for level 4 are not encoded into the
docbook XML. For me the visual presentation of the ")" or the "." is
important.
You wrote it: "for me". That's precisely why the feature you request is
not implemented.
If you really need this feature, I'm afraid you'll have to implement
yourself. This is certainly possible by implementing the following two
steps:
1) Customizing the XED scripts which convert the styled XHTML (generated
out of the DOCX file) to semantic XHTML.
The info about the "decorator" is found in the styled XHTML, more
precisely in CSS property "-ms-lvlText", example:
---
.n-25-1 {
-ms-lvlJc: left;
-ms-lvlText: "%2)";
-ms-numFmt: lowerLetter;
-ms-start: 1;
counter-reset: n-25-2 0;
}
.n-25-1:before {
content: counter(n-25-1, lower-alpha) ")";
counter-increment: n-25-1;
float: left;
width: 18pt;
}
.n-25-1:after {
clear: both;
content: "";
display: block;
}
---
2) Customizing the XSLT stylesheets which convert the semantic XHTML to
DocBook V5. That is: W2X_install_dir/xslt/docbook5.xslt
More information in:
http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#general_customize_semantic_xml
I was wondering why w2x does not export the decorator character as a
proprietary namespace attribute. ..something like ? :
<orderedlist numeration="loweralpha" w2x:prefix="" w2x:suffix=")" >
<div dir="ltr">I have a word document with numbered paragraphs: <div><br></div><div>1. blah...</div><div>2. blah</div><div>  a. level 2 blah...</div><div>  b. level 2 blah...</div><div>    i. level 3... </div><div>    ii. level 3...</div><div>       a) level 4</div><div>       b) level
4</div><div>    iii. level 3...</div><div>  c. level 2 blah...</div><div> </div><div>I convert this to docbook and process it further to other formats. </div><div><br></div><div>Now my problem is that both the "a." at level 2 and "a)" at level 3 are identified as numeration="loweralpha" which is correct. but the the number decorator
(".") for levle 2 and (")") for level 4 are not encoded into the docbook XML. For me the visual presentation of the ")" or the "." is important. </div><div><br></div><div>I was wondering why w2x does not export the decorator character as a proprietary namespace attribute. ..something like ? :</div><div><br></div><div><orderedlist
numeration="loweralpha" w2x:prefix="" w2x:suffix=")" ><br></div></div>
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support