- From: Vladimir Rodimyuk <VladimirR@ukrinvent.com>
- Date: Wed, 12 Sep 2007 16:12:58 +0300
- To: axdmoraes <alexmoraes@gmail.com>, "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
- Message-ID: <C50378BB9C267D4796753862ED9AE1A346BD185046@UI-OPTERON.ukrinvent.com>
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. >
Attachments
- application/x-zip-compressed attachment: xep_make_landscape.zip
Received on Wednesday, 12 September 2007 13:18:42 UTC