forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyriaque Dupoirieux (JIRA)" <>
Subject [jira] Updated: (FOR-355) Improved PDF configurability (e.g., TOC, Page Numbers, logo)
Date Fri, 10 Jun 2005 12:22:47 GMT
     [ ]

Cyriaque Dupoirieux updated FOR-355:

    Attachment: patchPageNumberingFormat.txt

Patch to display the pdf page number using a format.

How does it works :
in skinconf.cml the new tag <page-numbering-format> (in <pdf>) defines your numbering
pattern as follows :
+       first occurrence of '1' digit represents the current page number,
+       second occurrence of '1' digit represents the total page number,
+       anything else is considered as the static part of the numbering pattern.

Examples : (x is the current page number, y the total page number.)
        Do not displays the page numbering
        Displays "x"
        Displays "px."
  <page-numbering-format>Page 1/1</page-numbering-format>
        Displays "Page x/y"
        Displays "(x-y)"

Hope you'll like it,

PS : I update skinconf.xsl (common) in order to set the default pattern to the current one
: "Page x".

> Improved PDF configurability (e.g., TOC, Page Numbers, logo)
> ------------------------------------------------------------
>          Key: FOR-355
>          URL:
>      Project: Forrest
>         Type: Improvement
>   Components: Plugin: pdf-output
>     Versions: 0.7-dev
>     Reporter: Clay Leeds
>     Priority: Minor
>  Attachments: patchPageNumberingFormat.txt
> This change would probably involve skinconf.xml changes, as well as document2fo.xsl changes.
> It would be great to be able to configure the PDF output for the following options:
> - page numbers (ON/OFF)
> - more control over information in footer (ON/OFF, copyright info, credits)
> - Table of Contents generation (on a 1-page xdoc, it seems silly to generate a TOC page)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message