forrest-dev mailing list archives

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

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.)
  <page-numbering-format>none</page-numbering-format>
        Do not displays the page numbering
  <page-numbering-format>1</page-numbering-format>
        Displays "x"
  <page-numbering-format>p1.</page-numbering-format>
        Displays "px."
  <page-numbering-format>Page 1/1</page-numbering-format>
        Displays "Page x/y"
<page-numbering-format>(1-1)</page-numbering-format>
        Displays "(x-y)"
etc.

Hope you'll like it,
Regards,

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: http://issues.apache.org/jira/browse/FOR-355
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message