You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/10/11 01:35:00 UTC

[jira] [Commented] (MPDF-81) Override the copyright footer

    [ https://issues.apache.org/jira/browse/MPDF-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16199674#comment-16199674 ] 

Hervé Boutemy commented on MPDF-81:
-----------------------------------

I just had a deeper look at the way to implement this feature, respecting natural dependencies, and the result is:
1. implement DOXIA-555 as adding a new {{FoAggregateSink.setFooterText(String)}} method to override the default value from {{getFooterText()}}
2. create a DOXIASITETOOLS issue for {{doxia-doc-renderer}} {{FoPdfRenderer}} to get a parameter from {{DocumentRendererContext}} and inject it in FoAggregateSink if defined (like curently {{generateTOC}})
3. add a configuration in {{PdfMojo}}

[~spyhunter99]are you interested in implementing this?
I should release maven-pdf-plugin in a few weeks, now that MPDF-48 is fixed, then having this issue fixed at the same time would be nice, isn't it?
looks feasible: the modification is not complex, it just requires coordination between 3 components...

> Override the copyright footer
> -----------------------------
>
>                 Key: MPDF-81
>                 URL: https://issues.apache.org/jira/browse/MPDF-81
>             Project: Maven PDF Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.3
>            Reporter: Alex O'Ree
>             Fix For: 1.4
>
>
> As of right now, it doesn't look possible to override the content of the footer which is on all non-title page pages. It currently reads (c) year - organization All rights reserved.
> I don't see anywhere in the code where this is defined or in any of the resource files. It is in the generated fo files but it's not obvious where the xslt is.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)