On 06/20/2013 04:57 PM, Котлеев Дмитрий Владимирович wrote:
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.

The XSL-FO you have generated is needlessly complex. You generate up to 5 nested fo:blocks just to represent the title of a section. A single block containing text and fo:inlines suffices in this case.

Excerpt from the fnLinkFraud.fo file you sent us:

---
<fo:block>
  <fo:block>
     <fo:block font-family="Verdana,Symbol"
               font-size="20.736pt"
               font-weight="bold"
               margin-left="0pt">
       <fo:block hyphenate="false"
                 hyphenation-character="-"
                 hyphenation-push-character-count="2"
                 hyphenation-remain-character-count="2"
                 keep-with-next.within-column="always"
                 space-before.maximum="11pt * 1.2"
                 space-before.minimum="11pt * 0.8"
                 space-before.optimum="11pt"
                 start-indent="0pt"
                 text-align="left"
                 xfc:outline-level="2">
          <fo:block font-size="15.84pt">Перечень сокращений</fo:block>
        </fo:block>
      </fo:block>
    </fo:block>
 </fo:block>
---

You should EITHER simplify what's above by merging redundant nested blocks. (Please remember that for Word, the structure of a document is basically a flat list of styled paragraphs!)

OR

At least, not optimal, you should specify xfc:outline-level on the most deeply nested fo:block.



---
PS: fnLinkFraud.fo is an unindented XSL-FO file which is 950Kb long. This makes it very painful to examine. If, in the future, you want to get support from us, please make sure that you support request complies with the policy detailed here:

http://www.xmlmind.com/foconverter/support.html#xfc_support_policy



--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to