Re: Generate h1 content in Word Output
Hussein Shafie <[email protected]>
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/06/2013 12:37 PM, Uma Shankar M wrote: > We are using XMLMind XSL Utility to generate Word output from FO. > Currently, we are using <fo:block> elements with proper fonts to > generate titles in Word. However, these are not MS Word Headings, they > are normal text with different fonts and colors. So, if I add content > after conversion, the titles created in MS Word are not working in the > same way as the titles created by XMLMind utility. > To solve this problem, I wanted to generate titles with actual MS Word > “Heading” (Heading 1, Heading 2 and so on) styles. Could you please let > me know what should be FO input that will be transformed into heading > level elements? The XMLmind XSL-FO Converter engine does not allow to generate *named* *styles* such as stock Microsoft styles "Heading 1", "Heading 2", etc. However it is possible to specify the *outline* *level* of a fo:block in order to use Word's document map, to let Word generate a Table of Contents, etc. This is done by the means of the xfc:outline-level extension attribute (that is, this cannot be done using standard XSL-FO). This attribute is documented here: http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#xfc_outline-level -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support