forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: To lm or not to lm - pdf
Date Tue, 19 Aug 2008 19:56:55 GMT
On Tue, 2008-08-19 at 15:48 +0300, Sjur Moshagen wrote:
> Hello all,
> 
> In the main stylesheet for the transformation to fo, the following  
> lines caught my attention:
> 
>    <xsl:include
>          href="helper-pdfoutline.xsl" />
>    <xsl:include
>          href="footerinfo.xsl" />
>    <xsl:include
>          href="lm://pdf.transform.helper.pageBreaks" />
>    <xsl:include
>          href="helper-pageNumber.xsl" />
>    <xsl:include
>          href="helper-commonElements.xsl" />
>    <xsl:include
>          href="helper-layout.xsl" />
>    <xsl:include
>          href="helper-xmpMetadata.xsl" />
> 
> Only the third inclusion is using the locationmap.
> 
> Is there any reason for this (no-)use of lm lookups, or could I  
> rewrite the rest of the inclusions to use locationmap lookups?

I would say yes we should use the locationmap since that makes it easy
overwritable. 

I reckon nobody came around to implement the corresponding matches, feel
free to do so if you want.

salu2

> 
> Hm, come to think of it - speed might be a good reason why the rest  
> are not looked up via locationmaps. But then why the page breaks? One  
> would rather expect the commonElements or some other major part to be  
> made easily available for customisation (the main reason for lm lookup  
> in pdf generation, I assume).
> 
> Comments?
> 
> Best regards,
> Sjur
> 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message