On Wed, Mar 19, 2014 at 10:22 PM, Jason Harrop <jhar...@gmail.com> wrote:

> Bummer.  I guess I could nest a table in the table-cell.  Any reason
> that wouldn't work?
>

Why aren't you putting writing-mode on the original table? i.e., why use an
inner table?


>
> On Thu, Mar 20, 2014 at 2:33 PM, Glenn Adams <gl...@skynav.com> wrote:
> >
> >
> > On Wed, Mar 19, 2014 at 5:44 PM, Jason Harrop <jhar...@gmail.com> wrote:
> >>
> >> Hi Glenn
> >>
> >> Thanks very much for that.
> >>
> >> So the following should right align in the table cell?
> >>
> >>             <table-cell  xmlns="http://www.w3.org/1999/XSL/Format";>
> >>
> >>               <block-container writing-mode="rl-tb">
> >>                 <block>
> >>                   <inline>المدينة</inline>
> >>                 </block>
> >>               </block-container>
> >>             <table-cell>
> >>
> >> But  that didn't work in FOP 1.1 nor with
> >>
> http://ci.apache.org/projects/xmlgraphics/fop/snapshots/fop-20140319.jar
> >
> >
> > No. I guess I wasn't plain enough. You need to put writing mode on table
> to
> > affect the table cells. What you've done above doesn't change the
> start/end
> > edges of the cell, just the start/end edges of the content in the cell.
> The
> > cell still maps start to left and end to right. Note that you have to
> make
> > the choice on the table as a whole.
> >
> >>
> >>
> >>
> >> (Refer May 2011 thread "Complex Script, BIDI text supported?")
> >>
> >> cheers .. Jason
> >>
> >>
> >>
> >> On Wed, Mar 19, 2014 at 6:18 PM, Glenn Adams <gl...@skynav.com> wrote:
> >> > Per XSL-FO 1.1 [1]:
> >> >
> >> > "Property writing-mode applies to: fo:page-sequence,
> >> > fo:simple-page-master,
> >> > fo:region-body, fo:region-before, fo:region-after, fo:region-start,
> >> > fo:region-end, fo:block-container, fo:inline-container, and fo:table."
> >> >
> >> > As you can, none of these is fo:block. You need to specify it on
> >> > fo:table or
> >> > something higher up the tree. Note that specifying a RTL WM on
> fo:table
> >> > causes columns to be numbered from right to left, i.e., the first
> column
> >> > will be right-most.
> >> >
> >> > [1] http://www.w3.org/TR/2006/REC-xsl11-20061205/#prapply
> >> >
> >> >
> >> >
> >> >
> >> > On Wed, Mar 19, 2014 at 12:12 AM, Jason Harrop <jhar...@gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi, What's the correct way to write align a block of arabic in an
> >> >> individual table-cell?
> >> >>
> >> >> I found that with writing-mode="rl-tb", it was also necessary to add
> >> >> text-align="end"
> >> >>
> >> >>            <fo:table-cell >
> >> >>               <fo:block  text-align="end" writing-mode="rl-tb">
> >> >>                   <inline font-family="Arial">المدينة</inline>
> >> >>               </fo:block>
> >> >>             </fo:table-cell>
> >> >>
> >> >> thanks .. Jason
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> >> >> For additional commands, e-mail:
> fop-users-h...@xmlgraphics.apache.org
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> >> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>

Reply via email to