[ 
http://jira.codehaus.org/browse/MPPDF-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98217
 ] 

Lukas Theussl commented on MPPDF-59:
------------------------------------

There are a zillion things that could be made configurable, just look at all 
the hard-coded settings in fo-styles.xslt. We can't introduce plugin parameters 
for all of them (I mean in a practical sense, I'm not going to do it! ;) ). 
Btw, you don't have to rebuild the plugin for every parameter change, just edit 
the style sheet directly in your plugin cache.

> Allow configuration of line height for paragraphs
> -------------------------------------------------
>
>                 Key: MPPDF-59
>                 URL: http://jira.codehaus.org/browse/MPPDF-59
>             Project: Maven 1.x PDF Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.5.1
>            Reporter: Wendy Smoak
>            Priority: Minor
>
> I need to be able to double space paragraph text.  Currently this is hard 
> coded in fo-styles.xslt.  Please make it configurable.
> Workaround:  change the line height and rebuild the plugin.
> Index: src/plugin-resources/fo-styles.xslt
> ===================================================================
> --- src/plugin-resources/fo-styles.xslt (revision 543946)
> +++ src/plugin-resources/fo-styles.xslt (working copy)
> @@ -36,7 +36,7 @@
>      <!-- Standard body and heading styles -->
>      <xsl:attribute-set name="body.text" use-attribute-sets="base.body.style">
>          <xsl:attribute name="font-size">11pt</xsl:attribute>
> -        <xsl:attribute name="line-height">12pt</xsl:attribute>
> +        <xsl:attribute name="line-height">24pt</xsl:attribute>
>          <xsl:attribute name="white-space-collapse">true</xsl:attribute>
>      </xsl:attribute-set>
>      <xsl:attribute-set name="body.pre" use-attribute-sets="base.pre.style">

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to