Re: Text rotation for DOCX with XFC?
Hussein Shafie <[email protected]> Sat, 31 Jan 2015 09:45:19 +0100
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
On 01/30/2015 03:44 PM, Robert Gurol wrote: > > I have to render a table where the tabel header contains text that is > rotated 90 degrees counter-clockwise (confer attached fo file) for DOCX. > > I manage to achieve this rotation for PDF with Apache FOP using, among > other adjustments, the reference-orientation attribute: > > /<table-cell border-color="#7F7F7F" border-style="solid" > border-width="1px" display-align="center" number-columns-spanned="1" > number-rows-spanned="1" padding-bottom="0mm" padding-left="0mm" > padding-right="0mm" padding-top="0mm" wrap-option="no-wrap">/ > /<block-container reference-orientation="90" text-indent="-25mm">/ > /<block overflow="inherit" text-align="left" wrap-option="inherit">/ > /<block font-size="10pt" font-style="normal" font-weight="normal">/ > /<block margin-bottom="0pt" margin-top="0pt">Critical Account > Manager</block>/ > /</block>/ > /</block>/ > /</block-container>/ > /</table-cell>/ > > It does not seem to work with XFC as of yet - is there a workaround? Yes, upgrade your copy of XFC. See below. > > Best regards, > > Robert > > PS: The version of xfc.jar that is used on my system > is Implementation-Version: 4.7.0, in case this makes a difference. > As of XMLmind XSL-FO Converter v4.8 (November 23, 2012), <fo:block-container reference-orientation="NNN"> may now be used to rotate the content of a fo:table-cell. More information in "Using fo:block-container to rotate the content of a table cell" -- http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#rotate_cell -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support