RE: RE: xep-afp-page-definition

I forgot about the trick of using block-container with changed orientation in order to fit the table into the page. I think you should take a look at Tony Graham's answer: http://lists.w3.org/Archives/Public/www-xsl-fo/2007Sep/0028.html
Also I recommend you to visit Dave Pawson's site (http://www.dpawson.co.uk/xsl/). It is very helpful even not for a newbie.

Respectfully,
Volodymyr Rodymyuk

> -----Original Message-----
> From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
> Behalf Of Vladimir Rodimyuk
> Sent: Wednesday, September 12, 2007 4:13 PM
> To: axdmoraes; www-xsl-fo@w3.org
> Subject: RE: xep-afp-page-definition
>
> Hi Alexandre,
>
> You are digging in the wrong direction. This instruction is used for AFP
> producing only. The personal version of XEP formatter does not provide
> support of AFP backend.
>
> If you are looking for a method to rotate a page with wide table into
> landscape one, I could propose you the following:
>
> 1. Assume that you have XEP file with something like that
> <xep:document xmlns:xep="http://www.renderx.com/XEP/xep" producer="XEP
> 4.10 build 20070627">
> <xep:page width="595276" height="841890" page-number="1" page-id="1">
> <xep:gray-color gray="0.0"/>
> <xep:polygon x-from="5669" y-from="56693">
> <xep:point x-till="589607" y-till="56693"/>
> <xep:point x-till="588607" y-till="57693"/>
> <xep:point x-till="6669" y-till="57693"/>
> </xep:polygon>
> ....
> </xep:page>
> </xep:document>
>
> 2. Shift the Y coordinate of coordinate system start to the value equals
> @width - @height.
>    <xep:translate x="0" y="-246614"/>
>
> 3. Switch values of width and height attributes of xep:page.
>    <xep:page width="841890" height="595276" ...
>
> Thus we have:
> <xep:document xmlns:xep="http://www.renderx.com/XEP/xep" producer="XEP
> 4.10 build 20070627">
> <xep:page width="841890" height="595276" page-number="1" page-id="1">
> <xep:gray-color gray="0.0"/>
> <xep:translate x="0" y="-246614"/>
> <xep:polygon x-from="5669" y-from="56693">
> <xep:point x-till="589607" y-till="56693"/>
> <xep:point x-till="588607" y-till="57693"/>
> <xep:point x-till="6669" y-till="57693"/>
> </xep:polygon>
> ....
> </xep:page>
> </xep:document>
> As result we have the same page with landscape orientation. Please, keep
> in mind that some of the document flow may be occurred cut.
>
> In zip archive you may find sample files (original fo and xep files,
> modified xep one and PDF made from both of them).
>
> Respectfully,
> Volodymyr Rodymyuk
>
> > -----Original Message-----
> > From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
> > Behalf Of axdmoraes
> > Sent: Wednesday, September 12, 2007 2:50 PM
> > To: www-xsl-fo@w3.org
> > Subject: xep-afp-page-definition
> >
> >
> >
> > HI,
> >
> >        Does anyone know how to make this PI xep-afp-page-definition
> work?
> >
> > Thanks,
> >
> > Alexandre
> > --
> > View this message in context: http://www.nabble.com/xep-afp-page-
> > definition-tf4428724.html#a12633787
> > Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
> >

Received on Friday, 14 September 2007 11:48:03 UTC