From 13f3df14f9cb39f76ad7c937af94a8669a33bb14 Mon Sep 17 00:00:00 2001 From: dion Date: Tue, 3 Feb 2004 00:41:30 +0000 Subject: [PATCH] Apply MPPDF-4 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114665 13f79535-47bb-0310-9956-ffa450edef68 --- pdf/plugin.jelly | 2 - pdf/plugin.properties | 1 - pdf/src/plugin-resources/project2fo.xslt | 1 - pdf/xdocs/index.xml | 37 ++++------- pdf/xdocs/properties.xml | 85 ++++++++++++++---------- 5 files changed, 63 insertions(+), 63 deletions(-) diff --git a/pdf/plugin.jelly b/pdf/plugin.jelly index 9ec2131f..22ac551f 100644 --- a/pdf/plugin.jelly +++ b/pdf/plugin.jelly @@ -12,7 +12,6 @@ - @@ -58,7 +57,6 @@ - diff --git a/pdf/plugin.properties b/pdf/plugin.properties index 4533ff4a..2e701210 100644 --- a/pdf/plugin.properties +++ b/pdf/plugin.properties @@ -5,7 +5,6 @@ # ------------------------------------------------------------------- maven.pdf.confidential=false maven.pdf.paperType=A4 -maven.pdf.companyName=${pom.organization.name} maven.pdf.companyIncName=${pom.organization.name} maven.pdf.copyrightYear=${pom.inceptionYear} maven.pdf.imageDpi=150 diff --git a/pdf/src/plugin-resources/project2fo.xslt b/pdf/src/plugin-resources/project2fo.xslt index 67d416aa..ef4bd30e 100644 --- a/pdf/src/plugin-resources/project2fo.xslt +++ b/pdf/src/plugin-resources/project2fo.xslt @@ -8,7 +8,6 @@ . US - The Jakarta Project Apache Software Foundation, Inc. false 2003 diff --git a/pdf/xdocs/index.xml b/pdf/xdocs/index.xml index f861da21..99edc124 100644 --- a/pdf/xdocs/index.xml +++ b/pdf/xdocs/index.xml @@ -1,28 +1,17 @@ - - - Maven PDF Plug-in - Jason van Zyl - dIon Gillard - - - -
-

- This plug-in allows you to generate a PDF version of your project's - documentation. -

-

- There is a known problem with the PDF generation tool (Apache's FOP) + + Maven PDF Plug-in + Jason van Zyl + dIon Gillard + + +

+

This plug-in allows you to generate a PDF version of your project's + documentation.

+

There is a known problem with the PDF generation tool (Apache's FOP) in that it doesn't allow for table structures with automatic column - widths to be generated. This means that currently, documents with - tables will be missing content. -

-

- Another issue is that the documentation is only the top level of - the documentation generated. -

-
- + widths to be generated. Widths are uniformly distributed.

+
+
diff --git a/pdf/xdocs/properties.xml b/pdf/xdocs/properties.xml index 5eeee40e..04deef60 100644 --- a/pdf/xdocs/properties.xml +++ b/pdf/xdocs/properties.xml @@ -6,7 +6,8 @@
-

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

+

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

@@ -16,104 +17,118 @@ - + - + - + - + - + - + - - - - - - + - + + + + + + - - - - - - + + + + + + + + + + + - + - + - + - + - - - - - - - - - -
Property name
maven.docs.src YesThe source directory for the ${maven.pdf.navigationFile} file and the user xml documentations files. Defaults to ${basedir}/xdocs.The source directory for the + ${maven.pdf.navigationFile} file and the user + xml documentations files. Defaults to + ${basedir}/xdocs.
maven.docs.dest YesThe destination directory for PDF documentation. Images are copied fom this directory. Defaults to ${maven.build.dir}/docs/.The destination directory for PDF documentation. Images + are also copied from this directory. Defaults to + ${maven.build.dir}/docs/.
maven.docs.outputencoding YesThe output encoding of the generated documentation. Defaults to ISO-8859-1.The output encoding of the generated documentation. + Defaults to ISO-8859-1.
maven.gen.docs YesThe directory for generated xdocs. Defaults to ${maven.build.dir}/generated-xdocs/.The directory for generated xdocs. Defaults to + ${maven.build.dir}/generated-xdocs/.
maven.pdf.pdfName YesThe name of pdf file. Defaults to ${pom.artifactId}.pdf.The name of pdf file. Defaults to + ${pom.artifactId}.pdf.
maven.pdf.confidential YesUsage not yet implemented. Defaults to false.Add a confidential text to the footer of each page. + Defaults to false.
maven.pdf.paperType YesPaper type for the generated PDF file. Defaults to A4.
maven.pdf.companyNameYesDefaults to ${pom.organization.name}.Paper type for the generated PDF file. Defaults to + A4.
maven.pdf.companyIncName YesDefaults to ${pom.organization.name}.The company name printed on each page footer beside the copyrigths. + Defaults to ${pom.organization.name}.
maven.pdf.copyrightYear Yes Defaults to ${pom.inceptionYear}.
maven.pdf.debugYesDebug the pdf generation process. Defaults to + false.
maven.pdf.imageDpi Yes Defaults to 150.
maven.pdf.debugYesDebug pdf generation process. Defaults to false.
maven.pdf.navigationFile YesFilename for the navigation file used to generate the PDF. Defaults to navigation.xml.Filename for the navigation file used to generate the + PDF. Defaults to navigation.xml.
maven.pdf.projectLogoYesProject logo URL (or relative path). Defaults to + ${pom.url}${pom.logo}.
maven.pdf.companyLogoYesCompany logo URL (or relative path). Defaults to + ${pom.organization.url}${pom.organization.logo} +
maven.pdf.cover.projectCompany YesUsage not yet implemented.Defaults to ${pom.organization.name}.Company name printed on the cover. Defaults to + ${pom.organization.name}.
maven.pdf.cover.projectName YesUsage not yet implemented.Defaults to ${pom.name}.Project name .Defaults to + ${pom.name}.
maven.pdf.cover.type YesUsage not yet implemented.Defaults to Project Documentation.Type of documentation. Defaults to + Project Documentation.
maven.pdf.cover.version YesUsage not yet implemented.Defaults to ${pom.currentVersion}.Project/Document version printed on the cover. Defaults + to ${pom.currentVersion}.
maven.pdf.cover.date Yes Defaults to current day.
maven.pdf.projectLogoYesUsage not yet implemented.Defaults to ${pom.url}${pom.logo}.
maven.pdf.companyLogoYesUsage not yet implemented.Defaults to ${pom.organization.url}${pom.organization.logo} -