Terry Badger wrote:
> When I have a fo block like this
> <fo:block font-family="Arial Unicode MS" font-size="8pt"
> margin-left=".75in" margin-right="4pt" keep-with-next="always">Sodium is
> the major cation of extracellular fluids. The kidneys regulate sodium
> ....<fo:inline color="blue" baseline-shift="super"
> font-size="5.5pt">?<fo:basic-link
> internal-destination="d0e7961">1</fo:basic-link>
> </fo:inline>
> </fo:block>
> I get in the document.xml of the docx this snip:
> <w:p>
> <w:pPr>
> <w:keepNext/>
> <w:spacing w:before="0" w:after="0" w:line="240" w:lineRule="auto"/>
> <w:ind w:left="1080" w:right="80" w:firstLine="0"/>
> </w:pPr>
> <w:r>
> <w:rPr>
> <w:rFonts w:ascii="Arial Unicode MS" w:hAnsi="Arial Unicode MS"/>
> <w:color w:val="000000"/>
> <w:sz w:val="16"/>
> </w:rPr>
> <w:t>Sodium is the major cation of extracellular fluids. The kidneys
> regulate sodium ....</w:t>
> *so I have w:lineRule="auto" and if I change w:line="240" to
> w:line="190" **I get the sort of fit on the Arial Unicode font text that
> I want. Please tell me where the '240' value comes from. 

It comes from the inherited line-height. I think that 240 could be
20*12pt, where 12pt is a font size. (20*XXX because docx uses twips --
1tw = 0.05pt -- as its unit.)



> Perhaps I can
> do something in the fo to change that and get the result I want in the
> Word document. *

Try to specify property line-height on the fo:block. In principle,
line-height="9.5pt" should give you w:line="190".

See http://www.w3.org/TR/xsl/#line-height


Reply via email to