forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: Tables, FOP, and page orientation
Date Sun, 08 Feb 2004 23:49:54 GMT
Quoting "Florian G. Haas" <f.g.haas@gmx.net>:

> Hi Ross (and everyone),
> 
> On Friday 06 February 2004 15:39, Ross Gardler wrote:
> | You will need to edit the document2fo.xsl stylesheet. I've never
> | actually done this but I *think* the property you need to play with is
> | called reference-orientation. If I am right, setting this to "90" text
> | in the relevant block will be rotated through 90 degrees.
> |
> | You are right that this should be set from a parameter, you can see lots
> | of examples of this kind of configuration already in the XSL, the values
> | are set in skinconf.xml and passed to the stylesheet by the relevant
> | *.xmap file when the transformation is called.
> |
> | Hope this helps, if not let us know, it would be great to see a patch
> | for this.
> 
> Your wish is my command. :-) I played with the FO stylesheets a bit over the
> 
> weekend, and noticed that they apparently contain no provision -- at the 
> moment -- for specifying custom page sizes and/or page orientation for the 
> PDF output, and that everything seems pretty much hardwired to 8.5 x 11 (US 
> Letter) portrait. I've humbly submitted a patch in JIRA (FOR-112) which would
> 
> provide a little more freedom in picking from one of several named page sizes
> 
> (Legal, Letter, A4 etc.), and also from choosing landscape or portrait mode.
> 
> Please take a look at the issue comment for details.
> 
> Note: I really don't know if extending the skinconf.xml content model the way
> 
> I did is the right way to tackle such issues. Hence, I'd be more than 
> grateful for any feedback. The same, of course, goes for the change to 
> sitemap.xmap which the patch contains.
> 
> Regards,
> Florian
> 

I haven't tried the patch yet, but both the idea and they way you did it look
good to me.


-- 
Dave Brondsema 
dave@brondsema.net 
http://www.brondsema.net - personal 
http://www.splike.com - programming 
http://csx.calvin.edu - student org 

Mime
View raw message