You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Pascal Sancho <ps...@gmail.com> on 2014/04/14 10:35:47 UTC

Re: FOP can not create a special table?

Hi,

1st, for FOP usage questions, please ask on fop-users list, fop-dev is
for fop internal questions.

That said, IIUC, you need writing-mode tb-rl for asian characters, right?
Unfortunately, FOP implements only horizontal left-to-right and
right-to-left modes.

As a workaround, you may use the newly implemented
fo:inline-container. While some required properties are not yet
implemented (see FOP-1524 at [1] for further details), you can use a
fo:block-container within the fo:inline-container:

<fo:block>
  line 1
  <fo:inline-container width="20mm" height="20mm">
    <fo:block-container reference-orientation="270" width="20mm" height="20mm">
      <fo:block>line 2</fo:block>
      <fo:block>line 3</fo:block>
    </fo:block-container>
  </fo:inline-container>
  line 4
</fo:block>

NOTE: since fo:inline-container is quite new in FOP, feedback is welcome.

[1] https://issues.apache.org/jira/browse/FOP-1524

2014-04-14 4:34 GMT+02:00 inferyes <ld...@gmail.com>:
> Now, I put the table in a block-container /<fo:block-container
> reference-orientation="270">/, the result is like that:
> <http://apache-fop.1065347.n5.nabble.com/file/n40480/table-rotate.png>
>
> Now, I want the text in table to arrange vertically as follow:
> T
> E
> S
> T
> NOT rotate the characters.
>
> Anybody have a method? Thanks very much.
>
>
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-can-not-create-a-special-table-tp40479p40480.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.



-- 
pascal