Author: dthompson
Date: 2008-03-09 12:11:00-0800
New Revision: 14187
Added:
trunk/documentation/cookbook/images/argologo200x190_on_ffffff.png (contents, props changed)
trunk/documentation/docbook-setup/titlepage-html.spec.xml (contents, props changed)
trunk/documentation/docbook-setup/titlepage-pdf.spec.xml (contents, props changed)
trunk/documentation/manual/images/argologo200x190_on_ffffff.png (contents, props changed)
trunk/documentation/quick-guide/images/argologo200x190_on_ffffff.png (contents, props changed)
Modified:
trunk/documentation/build.xml
trunk/documentation/cookbook/cookbook.xml
trunk/documentation/docbook-setup/create-chunked.xsl
trunk/documentation/docbook-setup/create-pdf.xsl
trunk/documentation/docbook-setup/create-printable.xsl
trunk/documentation/manual/argomanual.xml
trunk/documentation/quick-guide/quickguide.xml
Log:
Issue 4981: Added ArgoUML branding to cookbook, manual and quick guide.
A workaround is included here due to the current version of fop (0.20.5) not correctly supporting .png files with transparency. The workaround is to use png files with a white background (no transparency).
Modified: trunk/documentation/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/build.xml?view=diff&rev=14187&p1=trunk/documentation/build.xml&p2=trunk/documentation/build.xml&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/build.xml (original)
+++ trunk/documentation/build.xml 2008-03-09 12:11:00-0800
@@ -286,7 +286,48 @@
<property name="javahelp.xsl"
value="../docbook-setup/create-javahelp.xsl"/>
+ <property name="titlepage-template.xsl"
+ value="docbook-setup/docbook-xsl/template/titlepage.xsl"/>
+ <property name="titlepage-html.spec.xml"
+ value="docbook-setup/titlepage-html.spec.xml"/>
+
+ <property name="titlepage-html.xsl"
+ value="docbook-setup/titlepage-html.xsl"/>
+
+ <property name="titlepage-pdf.spec.xml"
+ value="docbook-setup/titlepage-pdf.spec.xml"/>
+
+ <property name="titlepage-pdf.xsl"
+ value="docbook-setup/titlepage-pdf.xsl"/>
+
+ <!-- Generate custom titlepage stylesheets -->
+ <echo message="Generating custom HTML titlepage XSL template"/>
+ <java classname="com.icl.saxon.StyleSheet"
+ fork="yes"
+ taskname="saxon"
+ dir="${documentation.dir}">
+ <classpath>
+ <path refid="saxon.classpath"/>
+ </classpath>
+ <arg line="-o '${titlepage-html.xsl}'"/>
+ <arg value="${titlepage-html.spec.xml}"/>
+ <arg value="${titlepage-template.xsl}"/>
+ </java>
+
+ <echo message="Generating custom PDF titlepage XSL template"/>
+ <java classname="com.icl.saxon.StyleSheet"
+ fork="yes"
+ taskname="saxon"
+ dir="${documentation.dir}">
+ <classpath>
+ <path refid="saxon.classpath"/>
+ </classpath>
+ <arg line="-o '${titlepage-pdf.xsl}'"/>
+ <arg value="${titlepage-pdf.spec.xml}"/>
+ <arg value="${titlepage-template.xsl}"/>
+ </java>
+
<!-- Copy and change 'antcall' task below for additional DocBook
documents
@@ -322,6 +363,9 @@
<param name="doc.prefix" value="argomanual"/>
</antcall>
+ <delete file="${documentation.dir}/${titlepage-html.xsl}"/>
+ <delete file="${documentation.dir}/${titlepage-pdf.xsl}"/>
+
</target>
<!-- =================================================================== -->
Modified: trunk/documentation/cookbook/cookbook.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/cookbook/cookbook.xml?view=diff&rev=14187&p1=trunk/documentation/cookbook/cookbook.xml&p2=trunk/documentation/cookbook/cookbook.xml&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/cookbook/cookbook.xml (original)
+++ trunk/documentation/cookbook/cookbook.xml 2008-03-09 12:11:00-0800
@@ -72,6 +72,14 @@
<bookinfo>
<date>2001-11-10
</date>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/argologo200x190_on_ffffff.png"
+ format="PNG"/>
+ </imageobject>
+ </mediaobject>
+
<title>Cookbook for Developers of ArgoUML</title>
<subtitle>An introduction to Developing ArgoUML</subtitle>
<abstract>
Added: trunk/documentation/cookbook/images/argologo200x190_on_ffffff.png
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/cookbook/images/argologo200x190_on_ffffff.png?view=auto&rev=14187
==============================================================================
Binary file. No diff available.
Modified: trunk/documentation/docbook-setup/create-chunked.xsl
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/docbook-setup/create-chunked.xsl?view=diff&rev=14187&p1=trunk/documentation/docbook-setup/create-chunked.xsl&p2=trunk/documentation/docbook-setup/create-chunked.xsl&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/docbook-setup/create-chunked.xsl (original)
+++ trunk/documentation/docbook-setup/create-chunked.xsl 2008-03-09 12:11:00-0800
@@ -34,6 +34,7 @@
<xsl:import href="docbook-xsl/html/chunk.xsl"/>
<xsl:import href="commonsettings.xsl"/>
+ <xsl:include href="titlepage-html.xsl"/>
<xsl:variable name="using.chunker" select="1"/>
</xsl:stylesheet>
Modified: trunk/documentation/docbook-setup/create-pdf.xsl
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/docbook-setup/create-pdf.xsl?view=diff&rev=14187&p1=trunk/documentation/docbook-setup/create-pdf.xsl&p2=trunk/documentation/docbook-setup/create-pdf.xsl&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/docbook-setup/create-pdf.xsl (original)
+++ trunk/documentation/docbook-setup/create-pdf.xsl 2008-03-09 12:11:00-0800
@@ -34,6 +34,7 @@
<xsl:import href="docbook-xsl/fo/docbook.xsl"/>
<xsl:import href="commonsettings.xsl"/>
+ <xsl:include href="titlepage-pdf.xsl"/>
<!-- Added by Jeremy Bennett for 1.49 XSL stylesheets -->
Modified: trunk/documentation/docbook-setup/create-printable.xsl
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/docbook-setup/create-printable.xsl?view=diff&rev=14187&p1=trunk/documentation/docbook-setup/create-printable.xsl&p2=trunk/documentation/docbook-setup/create-printable.xsl&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/docbook-setup/create-printable.xsl (original)
+++ trunk/documentation/docbook-setup/create-printable.xsl 2008-03-09 12:11:00-0800
@@ -34,6 +34,7 @@
<xsl:import href="docbook-xsl/html/docbook.xsl"/>
<xsl:import href="commonsettings.xsl"/>
+ <xsl:include href="titlepage-html.xsl"/>
<!-- Added by MVW -->
Added: trunk/documentation/docbook-setup/titlepage-html.spec.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/docbook-setup/titlepage-html.spec.xml?view=auto&rev=14187
==============================================================================
--- (empty file)
+++ trunk/documentation/docbook-setup/titlepage-html.spec.xml 2008-03-09 12:11:00-0800
@@ -0,0 +1,71 @@
+<!-- $Id$ -->
+<!--
+// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+-->
+
+<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+ xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<!-- ==================================================================== -->
+
+<!-- Custom spec file for including an image on a title page
+ This file is a specification, which can be processed with
+ docbook-xsl/template/titlepage.xls and saxon in order to generate
+ a stylesheet. The generated stylesheet can then be included in the top
+ level documentation build (e.g. inside create-chunked.xsl). -->
+
+<t:titlepage t:element="book" t:wrapper="div" class="titlepage">
+ <t:titlepage-content t:side="recto">
+ <mediaobject/>
+ <title/>
+ <subtitle/>
+ <corpauthor/>
+ <authorgroup/>
+ <author/>
+ <othercredit/>
+ <releaseinfo/>
+ <copyright/>
+ <legalnotice/>
+ <pubdate/>
+ <revision/>
+ <revhistory/>
+ <abstract/>
+ </t:titlepage-content>
+
+ <t:titlepage-content t:side="verso">
+ </t:titlepage-content>
+
+ <t:titlepage-separator>
+ <hr/>
+ </t:titlepage-separator>
+
+ <t:titlepage-before t:side="recto">
+ </t:titlepage-before>
+
+ <t:titlepage-before t:side="verso">
+ </t:titlepage-before>
+</t:titlepage>
+
+</t:templates>
Added: trunk/documentation/docbook-setup/titlepage-pdf.spec.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/docbook-setup/titlepage-pdf.spec.xml?view=auto&rev=14187
==============================================================================
--- (empty file)
+++ trunk/documentation/docbook-setup/titlepage-pdf.spec.xml 2008-03-09 12:11:00-0800
@@ -0,0 +1,109 @@
+<!-- $Id$ -->
+<!--
+// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+-->
+
+<!DOCTYPE t:templates [
+<!ENTITY hsize0 "10pt">
+<!ENTITY hsize1 "12pt">
+<!ENTITY hsize2 "14.4pt">
+<!ENTITY hsize3 "17.28pt">
+<!ENTITY hsize4 "20.736pt">
+<!ENTITY hsize5 "24.8832pt">
+<!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 -->
+<!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 -->
+<!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 -->
+<!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 -->
+<!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 -->
+<!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 -->
+]>
+<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+ xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<!-- Custom spec file for including an image on a title page
+ This file is a specification, which can be processed with
+ docbook-xsl/template/titlepage.xls and saxon in order to generate
+ a stylesheet. The generated stylesheet can then be included in the top
+ level documentation build (e.g. inside create-chunked.xsl). -->
+
+<!-- ==================================================================== -->
+
+ <t:titlepage t:element="book" t:wrapper="fo:block">
+ <t:titlepage-content t:side="recto">
+ <mediaobject/>
+ <title
+ t:named-template="division.title"
+ param:node="ancestor-or-self::book[1]"
+ text-align="center"
+ font-size="&hsize5;"
+ space-before="&hsize5space;"
+ font-weight="bold"
+ font-family="{$title.fontset}"/>
+ <subtitle
+ text-align="center"
+ font-size="&hsize4;"
+ space-before="&hsize4space;"
+ font-family="{$title.fontset}"/>
+ <corpauthor font-size="&hsize3;"
+ keep-with-next.within-column="always"
+ space-before="2in"/>
+ <authorgroup space-before="2in"/>
+ <author font-size="&hsize3;"
+ space-before="&hsize2space;"
+ keep-with-next.within-column="always"/>
+ </t:titlepage-content>
+
+ <t:titlepage-content t:side="verso">
+ <title
+ t:named-template="book.verso.title"
+ font-size="&hsize2;"
+ font-weight="bold"
+ font-family="{$title.fontset}"/>
+ <corpauthor/>
+ <authorgroup t:named-template="verso.authorgroup"/>
+ <author/>
+ <othercredit/>
+ <pubdate space-before="1em"/>
+ <copyright/>
+ <abstract/>
+ <legalnotice font-size="8pt"/>
+ </t:titlepage-content>
+
+ <t:titlepage-separator>
+ <fo:block break-after="page"/>
+ </t:titlepage-separator>
+
+ <t:titlepage-before t:side="recto">
+ </t:titlepage-before>
+
+ <t:titlepage-before t:side="verso">
+ <fo:block break-after="page"/>
+ </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+</t:templates>
Modified: trunk/documentation/manual/argomanual.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/manual/argomanual.xml?view=diff&rev=14187&p1=trunk/documentation/manual/argomanual.xml&p2=trunk/documentation/manual/argomanual.xml&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/manual/argomanual.xml (original)
+++ trunk/documentation/manual/argomanual.xml 2008-03-09 12:11:00-0800
@@ -33,6 +33,14 @@
<bookinfo>
<date>5/17/2002</date>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/argologo200x190_on_ffffff.png"
+ format="PNG"/>
+ </imageobject>
+ </mediaobject>
+
<title>ArgoUML User Manual</title>
<subtitle>A tutorial and reference description</subtitle>
Added: trunk/documentation/manual/images/argologo200x190_on_ffffff.png
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/manual/images/argologo200x190_on_ffffff.png?view=auto&rev=14187
==============================================================================
Binary file. No diff available.
Added: trunk/documentation/quick-guide/images/argologo200x190_on_ffffff.png
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/quick-guide/images/argologo200x190_on_ffffff.png?view=auto&rev=14187
==============================================================================
Binary file. No diff available.
Modified: trunk/documentation/quick-guide/quickguide.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/quick-guide/quickguide.xml?view=diff&rev=14187&p1=trunk/documentation/quick-guide/quickguide.xml&p2=trunk/documentation/quick-guide/quickguide.xml&r1=14186&r2=14187
==============================================================================
--- trunk/documentation/quick-guide/quickguide.xml (original)
+++ trunk/documentation/quick-guide/quickguide.xml 2008-03-09 12:11:00-0800
@@ -63,6 +63,14 @@
<book>
<title>&document-title;</title>
<bookinfo>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/argologo200x190_on_ffffff.png"
+ format="PNG"/>
+ </imageobject>
+ </mediaobject>
+
<subtitle>&document-subtitle;</subtitle>
<authorgroup>
&author-kunle.odu;
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.