From 26e6e261a62391d45c5fb8d3648d0264425091b1 Mon Sep 17 00:00:00 2001 From: aheritier Date: Sun, 13 Jun 2004 22:56:55 +0000 Subject: [PATCH] PR: MPPDF-10 Submitted By: M. Sean Gilligan Reviewed By: Arnaud Heritier Add USLetter (8.5"x11") as a paperType git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115479 13f79535-47bb-0310-9956-ffa450edef68 --- pdf/project.xml | 4 +- pdf/src/plugin-resources/fo-layouts.xslt | 2 + pdf/xdocs/changes.xml | 5 +- pdf/xdocs/properties.xml | 379 ++++++++++++----------- 4 files changed, 196 insertions(+), 194 deletions(-) diff --git a/pdf/project.xml b/pdf/project.xml index b8484f4d..d886b60f 100644 --- a/pdf/project.xml +++ b/pdf/project.xml @@ -1,5 +1,4 @@ - - ${basedir}/../plugin-parent/project.xml 3 @@ -25,7 +23,7 @@ maven-pdf-plugin maven-pdf-plugin Maven PDF Plug-in - 2.1 + 2.2-SNAPSHOT PDF Documentation generator Generator of project documentation in PDF Format. http://maven.apache.org/reference/plugins/pdf/ diff --git a/pdf/src/plugin-resources/fo-layouts.xslt b/pdf/src/plugin-resources/fo-layouts.xslt index f063351a..bd4181e0 100644 --- a/pdf/src/plugin-resources/fo-layouts.xslt +++ b/pdf/src/plugin-resources/fo-layouts.xslt @@ -22,6 +22,7 @@ 8.5 + 8.5 8.25 8.5 @@ -30,6 +31,7 @@ 14 + 11 11.70 14 diff --git a/pdf/xdocs/changes.xml b/pdf/xdocs/changes.xml index aa751223..c0cd94bf 100644 --- a/pdf/xdocs/changes.xml +++ b/pdf/xdocs/changes.xml @@ -1,5 +1,4 @@ - - Changes dIon Gillard + + Add USLetter (8.5"x11") as a paper type. +

Add xml-apis and xalan dependencies for JDK 1.3.

diff --git a/pdf/xdocs/properties.xml b/pdf/xdocs/properties.xml index d2e041e7..cceba9ab 100644 --- a/pdf/xdocs/properties.xml +++ b/pdf/xdocs/properties.xml @@ -16,203 +16,204 @@ * limitations under the License. */ --> - - - Maven PDF Plugin Properties - dIon Gillard - - -
-

This properties are used by the plugin and can be redefined by + + Maven PDF Plugin Properties + dIon Gillard + + +

+

This properties are used by the plugin and can be redefined by the user.

- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
Property nameDescriptionOptional?Default value
maven.pdf.confidentialAdd a confidential text to the footer of each page.Yes - false -
maven.pdf.paperTypePaper type for the generated PDF file. Available formats are : + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property nameDescriptionOptional?Default value
maven.pdf.confidentialAdd a confidential text to the footer of each page.Yes + false +
maven.pdf.paperTypePaper type for the generated PDF file. Available formats are :
    -
  • - A4 : 8.25in x 11.70in
  • -
  • - US : 8.5in x 14in
  • -
-
Yes - A4 -
maven.pdf.companyIncNameThe company name printed on each page footer beside the copyrigth.Yes - ${pom.organization.name} -
maven.pdf.copyrightYearThe year for the copyright.Yes - ${pom.inceptionYear} -
maven.pdf.imageDpiImages resolution.Yes - 75 -
maven.pdf.navigationFileFilename for the navigation file used to generate the +
  • + A4 : 8.25in x 11.70in
  • +
  • + US : 8.5in x 14in
  • +
  • + USLetter : 8.5in x 11in
  • + +
    Yes + A4 +
    maven.pdf.companyIncNameThe company name printed on each page footer beside the copyrigth.Yes + ${pom.organization.name} +
    maven.pdf.copyrightYearThe year for the copyright.Yes + ${pom.inceptionYear} +
    maven.pdf.imageDpiImages resolution.Yes + 75 +
    maven.pdf.navigationFileFilename for the navigation file used to generate the PDF. It allows to separate the content of the site and the content of the PDF documentation.Yes - navigation.xml -
    maven.pdf.projectLogoProject logo URL (or relative path).Yes - ${pom.url}${pom.logo} -
    maven.pdf.companyLogoCompany logo URL (or relative path). + Yes + navigation.xml +
    maven.pdf.projectLogoProject logo URL (or relative path).Yes + ${pom.url}${pom.logo} +
    maven.pdf.companyLogoCompany logo URL (or relative path). Yes - ${pom.organization.url}${pom.organization.logo} + Yes + ${pom.organization.url}${pom.organization.logo} +
    maven.pdf.cover.projectCompanyCompany name printed on the cover.Yes + ${pom.organization.name} +
    maven.pdf.cover.projectNameProject name .Yes + ${pom.name} +
    maven.pdf.cover.typeType of documentation. Yes + Project Documentation +
    maven.pdf.cover.versionProject/Document version printed on the cover.Yes + ${pom.currentVersion} +
    maven.pdf.cover.dateDefaults to current day.Yes + Empty. The build date is used.
    maven.pdf.cover.projectCompanyCompany name printed on the cover.Yes - ${pom.organization.name} -
    maven.pdf.cover.projectNameProject name .Yes - ${pom.name} -
    maven.pdf.cover.typeType of documentation. Yes - Project Documentation -
    maven.pdf.cover.versionProject/Document version printed on the cover.Yes - ${pom.currentVersion} -
    maven.pdf.cover.dateDefaults to current day.Yes - Empty. The build date is used. -
    -
    - - - - - - - - - - - +
    Property nameDescriptionOptional?Default value
    maven.docs.srcThe source directory for the +
    +
    + + + + + + + + + + + - - - - - - + + + + + - - - - - - - - - - - - - - - -
    Property nameDescriptionOptional?Default value
    maven.docs.srcThe source directory for the ${maven.pdf.navigationFile} file and the user xml documentations files.Yes - ${basedir}/xdocs -
    maven.docs.destThe destination directory for PDF documentation. Images + Yes + ${basedir}/xdocs +
    maven.docs.destThe destination directory for PDF documentation. Images are also retreived from this directory.Yes - ${maven.build.dir}/docs/ -
    maven.gen.docsThe directory for generated xdocs used to create the pdf document.Yes - ${maven.build.dir}/generated-xdocs/ -
    maven.pdf.pdfNameThe name of the generated pdf file.Yes - ${pom.artifactId}.pdf -
    -
    - - - - - - - - - - - - - - -
    Property nameDescriptionOptional?Default value
    maven.pdf.debugDebug the pdf generation process.Yes - false -
    -
    - - +
    Yes + ${maven.build.dir}/docs/ +
    maven.gen.docsThe directory for generated xdocs used to create the pdf document.Yes + ${maven.build.dir}/generated-xdocs/ +
    maven.pdf.pdfNameThe name of the generated pdf file.Yes + ${pom.artifactId}.pdf +
    +
    + + + + + + + + + + + + + + +
    Property nameDescriptionOptional?Default value
    maven.pdf.debugDebug the pdf generation process.Yes + false +
    +
    +
    +