Re: Problem with outline level of headers
Котлеев Дмитрий Владими рович <[email protected]>
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for support! But problem described below stands still. I corrected DocBook XSLT-extensions to define outline levels in FO by attribute xfc:outline-level. Now headers in FO have different levels: 1, 2, 3 etc. But only headers with level one appeared to be headers after conversion into docx. All others appeared to be simple body text. Please tell me what I did incorrect? I added source FO-file and DOCX-result in attachment. Thank you! -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Wednesday, June 19, 2013 5:53 PM To: Котлеев Дмитрий Владимирович Cc: [email protected] Subject: Re: [XFC] Problem with outline level of headers On 06/19/2013 01:26 PM, Котлеев Дмитрий Владимирович wrote: > > I am writing to enquire about solution of the problem with using XML > Mind FO Converter. > > I use XML Mind FO Converter to get Word documents from DocBook/XML > documents via FO format. And after conversion of FO document into > docx-document some headers get no level at all and are represented as > simple body text. > > Other headers get one and the same first outline level. Though before > conversion they had different levels (in DocBook). > > Could you possibly suggest how to set the section header outline level > for elements fo:block in FO-document to get appropriate Docx-document > using XML Mind FO Converter? > > I know how to make it for Antenna House XSL Formatter (using special > attributes like axf:outline-level, axf:outline-expand, > axf:outline-title), but I don’t know how to make it for XML Mind. > > Are there any ways or methods of solving, some special attributes? > --> Yes, there is a special attribute for that: xfc:outline-level Reference: 4.4.1. The xfc:outline-level extension attribute http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#xfc_outline-level --> No, the DocBook XSL stylesheets, which are not developed by XMLmind, have not been modified to make use of such attribute. --- PS: We have used this attribute in our own, home-made, DITA XSL stylesheets. If you want to check the result by yourself, please open, for example, the following .docx file in Word, then turn on the "View|Document Map" in Word: http://www.xmlmind.com/ditac/_distrib/doc/manual/manual.docx
doc.docx
(application/vnd.openxmlformats-officedocument.wordprocessingml.document, 340.9 KB) - not displayed
fnLinkFraud.fo
(application/octet-stream, 402.2 KB) - not displayed