Browse Source

FOP poster

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@439350 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_93
Jeremias Maerki 18 years ago
parent
commit
bd03376299

+ 11
- 0
src/documentation/poster/README.txt View File

@@ -0,0 +1,11 @@
$Id$

This directory contains a poster on Apache FOP. It was initially
created for OpenExpo '06 (http://www.openexpo.ch).

To create the PDF just call go.bat.

The fully reconstruct the PDF you need to copy some fonts into
the cfg directory. Please see the README.txt there for details.

You will also need English hyphenation patterns.

+ 7
- 0
src/documentation/poster/cfg/README.txt View File

@@ -0,0 +1,7 @@
The following files are missing here for license reasons:

lucon.ttf - Lucida Console Font
verdana.ttf - Verdana Font
verdanab.ttf - Verdana Bold Font

They can be found in every MS Windows installation.

+ 1817
- 0
src/documentation/poster/cfg/VERDANA.ttf.xml
File diff suppressed because it is too large
View File


+ 1167
- 0
src/documentation/poster/cfg/VERDANAB.ttf.xml
File diff suppressed because it is too large
View File


+ 40
- 0
src/documentation/poster/cfg/fop.xconf View File

@@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<fop>
<base>.</base>
<source-resolution>72</source-resolution>
<target-resolution>300</target-resolution>
<default-page-settings height="11in" width="8.26in"/>
<renderers>
<renderer mime="application/pdf">
<!--output-profile>cfg/ISOuncoated.icc</output-profile-->
<fonts>
<font metrics-url="cfg\VERDANA.ttf.xml" kerning="yes" embed-url="cfg\VERDANA.ttf">
<font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
<font metrics-url="cfg\VERDANAB.ttf.xml" kerning="yes" embed-url="cfg\VERDANAB.ttf">
<font-triplet name="Verdana" style="normal" weight="bold"/>
</font>
<font metrics-url="cfg\LUCON.ttf.xml" kerning="yes" embed-url="cfg\LUCON.ttf">
<font-triplet name="Lucida Console" style="normal" weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
</fop>

+ 925
- 0
src/documentation/poster/cfg/lucon.ttf.xml View File

@@ -0,0 +1,925 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<font-metrics type="TYPE0">
<font-name>LucidaConsole</font-name>
<embed/>
<cap-height>626</cap-height>
<x-height>530</x-height>
<ascender>783</ascender>
<descender>-205</descender>
<bbox>
<left>0</left>
<bottom>-210</bottom>
<right>602</right>
<top>789</top>
</bbox>
<flags>35</flags>
<stemv>0</stemv>
<italicangle>0</italicangle>
<subtype>TYPE0</subtype>
<multibyte-extras>
<cid-type>CIDFontType2</cid-type>
<default-width>0</default-width>
<bfranges>
<bf us="32" ue="126" gi="3"/>
<bf us="160" ue="160" gi="172"/>
<bf us="161" ue="161" gi="163"/>
<bf us="162" ue="163" gi="132"/>
<bf us="164" ue="164" gi="188"/>
<bf us="165" ue="165" gi="150"/>
<bf us="166" ue="166" gi="230"/>
<bf us="167" ue="167" gi="134"/>
<bf us="168" ue="168" gi="142"/>
<bf us="169" ue="169" gi="139"/>
<bf us="170" ue="170" gi="157"/>
<bf us="171" ue="171" gi="169"/>
<bf us="172" ue="172" gi="164"/>
<bf us="173" ue="173" gi="256"/>
<bf us="174" ue="174" gi="138"/>
<bf us="175" ue="175" gi="257"/>
<bf us="176" ue="176" gi="131"/>
<bf us="177" ue="177" gi="147"/>
<bf us="178" ue="179" gi="240"/>
<bf us="180" ue="180" gi="141"/>
<bf us="181" ue="181" gi="151"/>
<bf us="182" ue="182" gi="136"/>
<bf us="183" ue="183" gi="258"/>
<bf us="184" ue="184" gi="220"/>
<bf us="185" ue="185" gi="239"/>
<bf us="186" ue="186" gi="158"/>
<bf us="187" ue="187" gi="170"/>
<bf us="188" ue="188" gi="243"/>
<bf us="189" ue="189" gi="242"/>
<bf us="190" ue="190" gi="244"/>
<bf us="191" ue="191" gi="162"/>
<bf us="192" ue="192" gi="173"/>
<bf us="193" ue="193" gi="200"/>
<bf us="194" ue="194" gi="198"/>
<bf us="195" ue="195" gi="174"/>
<bf us="196" ue="197" gi="98"/>
<bf us="198" ue="198" gi="144"/>
<bf us="199" ue="199" gi="100"/>
<bf us="200" ue="200" gi="202"/>
<bf us="201" ue="201" gi="101"/>
<bf us="202" ue="202" gi="199"/>
<bf us="203" ue="203" gi="201"/>
<bf us="204" ue="204" gi="206"/>
<bf us="205" ue="207" gi="203"/>
<bf us="208" ue="208" gi="231"/>
<bf us="209" ue="209" gi="102"/>
<bf us="210" ue="210" gi="209"/>
<bf us="211" ue="212" gi="207"/>
<bf us="213" ue="213" gi="175"/>
<bf us="214" ue="214" gi="103"/>
<bf us="215" ue="215" gi="238"/>
<bf us="216" ue="216" gi="145"/>
<bf us="217" ue="217" gi="212"/>
<bf us="218" ue="219" gi="210"/>
<bf us="220" ue="220" gi="104"/>
<bf us="221" ue="221" gi="233"/>
<bf us="222" ue="222" gi="235"/>
<bf us="223" ue="223" gi="137"/>
<bf us="224" ue="224" gi="106"/>
<bf us="225" ue="225" gi="105"/>
<bf us="226" ue="226" gi="107"/>
<bf us="227" ue="227" gi="109"/>
<bf us="228" ue="228" gi="108"/>
<bf us="229" ue="229" gi="110"/>
<bf us="230" ue="230" gi="160"/>
<bf us="231" ue="231" gi="111"/>
<bf us="232" ue="232" gi="113"/>
<bf us="233" ue="233" gi="112"/>
<bf us="234" ue="235" gi="114"/>
<bf us="236" ue="236" gi="117"/>
<bf us="237" ue="237" gi="116"/>
<bf us="238" ue="239" gi="118"/>
<bf us="240" ue="240" gi="232"/>
<bf us="241" ue="241" gi="120"/>
<bf us="242" ue="242" gi="122"/>
<bf us="243" ue="243" gi="121"/>
<bf us="244" ue="244" gi="123"/>
<bf us="245" ue="245" gi="125"/>
<bf us="246" ue="246" gi="124"/>
<bf us="247" ue="247" gi="184"/>
<bf us="248" ue="248" gi="161"/>
<bf us="249" ue="249" gi="127"/>
<bf us="250" ue="250" gi="126"/>
<bf us="251" ue="252" gi="128"/>
<bf us="253" ue="253" gi="234"/>
<bf us="254" ue="254" gi="236"/>
<bf us="255" ue="255" gi="186"/>
<bf us="256" ue="261" gi="259"/>
<bf us="262" ue="263" gi="251"/>
<bf us="264" ue="267" gi="265"/>
<bf us="268" ue="269" gi="253"/>
<bf us="270" ue="272" gi="269"/>
<bf us="273" ue="273" gi="255"/>
<bf us="274" ue="285" gi="272"/>
<bf us="286" ue="287" gi="246"/>
<bf us="288" ue="303" gi="284"/>
<bf us="304" ue="304" gi="248"/>
<bf us="305" ue="305" gi="213"/>
<bf us="306" ue="320" gi="300"/>
<bf us="321" ue="322" gi="224"/>
<bf us="323" ue="337" gi="315"/>
<bf us="338" ue="339" gi="176"/>
<bf us="340" ue="349" gi="330"/>
<bf us="350" ue="351" gi="249"/>
<bf us="352" ue="353" gi="226"/>
<bf us="354" ue="375" gi="340"/>
<bf us="376" ue="376" gi="187"/>
<bf us="377" ue="380" gi="362"/>
<bf us="381" ue="382" gi="228"/>
<bf us="383" ue="383" gi="366"/>
<bf us="402" ue="402" gi="166"/>
<bf us="506" ue="511" gi="367"/>
<bf us="710" ue="710" gi="214"/>
<bf us="711" ue="711" gi="223"/>
<bf us="713" ue="713" gi="216"/>
<bf us="728" ue="730" gi="217"/>
<bf us="731" ue="731" gi="222"/>
<bf us="732" ue="732" gi="215"/>
<bf us="733" ue="733" gi="221"/>
<bf us="894" ue="894" gi="373"/>
<bf us="900" ue="906" gi="374"/>
<bf us="908" ue="908" gi="381"/>
<bf us="910" ue="929" gi="382"/>
<bf us="931" ue="959" gi="402"/>
<bf us="960" ue="960" gi="155"/>
<bf us="961" ue="974" gi="431"/>
<bf us="1025" ue="1036" gi="445"/>
<bf us="1038" ue="1103" gi="457"/>
<bf us="1105" ue="1116" gi="523"/>
<bf us="1118" ue="1119" gi="535"/>
<bf us="1168" ue="1169" gi="537"/>
<bf us="7808" ue="7813" gi="539"/>
<bf us="7922" ue="7923" gi="545"/>
<bf us="8211" ue="8212" gi="178"/>
<bf us="8213" ue="8213" gi="547"/>
<bf us="8215" ue="8215" gi="548"/>
<bf us="8216" ue="8217" gi="182"/>
<bf us="8218" ue="8218" gi="195"/>
<bf us="8220" ue="8221" gi="180"/>
<bf us="8222" ue="8222" gi="196"/>
<bf us="8224" ue="8224" gi="130"/>
<bf us="8225" ue="8225" gi="193"/>
<bf us="8226" ue="8226" gi="135"/>
<bf us="8230" ue="8230" gi="171"/>
<bf us="8240" ue="8240" gi="197"/>
<bf us="8249" ue="8250" gi="189"/>
<bf us="8252" ue="8252" gi="549"/>
<bf us="8254" ue="8254" gi="550"/>
<bf us="8260" ue="8260" gi="551"/>
<bf us="8319" ue="8319" gi="552"/>
<bf us="8355" ue="8355" gi="245"/>
<bf us="8356" ue="8356" gi="553"/>
<bf us="8359" ue="8359" gi="554"/>
<bf us="8364" ue="8364" gi="665"/>
<bf us="8470" ue="8470" gi="555"/>
<bf us="8482" ue="8482" gi="140"/>
<bf us="8486" ue="8486" gi="159"/>
<bf us="8539" ue="8542" gi="556"/>
<bf us="8592" ue="8597" gi="560"/>
<bf us="8616" ue="8616" gi="566"/>
<bf us="8706" ue="8706" gi="152"/>
<bf us="8710" ue="8710" gi="168"/>
<bf us="8719" ue="8719" gi="154"/>
<bf us="8721" ue="8721" gi="153"/>
<bf us="8722" ue="8722" gi="237"/>
<bf us="8729" ue="8729" gi="194"/>
<bf us="8730" ue="8730" gi="165"/>
<bf us="8734" ue="8734" gi="146"/>
<bf us="8735" ue="8735" gi="567"/>
<bf us="8745" ue="8745" gi="568"/>
<bf us="8747" ue="8747" gi="156"/>
<bf us="8776" ue="8776" gi="167"/>
<bf us="8800" ue="8800" gi="143"/>
<bf us="8801" ue="8801" gi="569"/>
<bf us="8804" ue="8805" gi="148"/>
<bf us="8962" ue="8962" gi="570"/>
<bf us="8976" ue="8976" gi="571"/>
<bf us="8992" ue="8993" gi="572"/>
<bf us="9472" ue="9472" gi="574"/>
<bf us="9474" ue="9474" gi="575"/>
<bf us="9484" ue="9484" gi="576"/>
<bf us="9488" ue="9488" gi="577"/>
<bf us="9492" ue="9492" gi="578"/>
<bf us="9496" ue="9496" gi="579"/>
<bf us="9500" ue="9500" gi="580"/>
<bf us="9508" ue="9508" gi="581"/>
<bf us="9516" ue="9516" gi="582"/>
<bf us="9524" ue="9524" gi="583"/>
<bf us="9532" ue="9532" gi="584"/>
<bf us="9552" ue="9580" gi="585"/>
<bf us="9600" ue="9600" gi="614"/>
<bf us="9604" ue="9604" gi="615"/>
<bf us="9608" ue="9608" gi="616"/>
<bf us="9612" ue="9612" gi="617"/>
<bf us="9616" ue="9619" gi="618"/>
<bf us="9632" ue="9632" gi="622"/>
<bf us="9644" ue="9644" gi="623"/>
<bf us="9650" ue="9650" gi="624"/>
<bf us="9658" ue="9658" gi="625"/>
<bf us="9660" ue="9660" gi="626"/>
<bf us="9668" ue="9668" gi="627"/>
<bf us="9674" ue="9674" gi="185"/>
<bf us="9675" ue="9675" gi="628"/>
<bf us="9688" ue="9689" gi="629"/>
<bf us="9786" ue="9788" gi="631"/>
<bf us="9792" ue="9792" gi="634"/>
<bf us="9794" ue="9794" gi="635"/>
<bf us="9824" ue="9824" gi="636"/>
<bf us="9827" ue="9827" gi="637"/>
<bf us="9829" ue="9830" gi="638"/>
<bf us="9834" ue="9835" gi="640"/>
<bf us="61443" ue="61453" gi="642"/>
<bf us="63512" ue="63523" gi="653"/>
<bf us="64257" ue="64258" gi="191"/>
<bf us="65535" ue="65535" gi="0"/>
</bfranges>
<cid-widths start-index="0">
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="602"/>
<wx w="603"/>
</cid-widths>
</multibyte-extras>
</font-metrics>

+ 3
- 0
src/documentation/poster/go.bat View File

@@ -0,0 +1,3 @@
@ECHO OFF
rem ..\..\..\fop -c cfg/fop.xconf -xml xml/fop-poster.xml -xsl xslt/fop-poster.xsl -pdf fop-poster.pdf -pdfprofile PDF/X-3:2003
..\..\..\fop -c cfg/fop.xconf -xml xml/fop-poster.xml -xsl xslt/fop-poster.xsl -pdf fop-poster.pdf

+ 2050
- 0
src/documentation/poster/svg/asf-logo.svg
File diff suppressed because it is too large
View File


+ 954
- 0
src/documentation/poster/svg/fop-logo-reconstructed.svg
File diff suppressed because it is too large
View File


+ 71
- 0
src/documentation/poster/svg/fop-transformation-chain.svg View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" x="-5.69592in" y="-1.44975in" width="5.5257in" height="2.53948in" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-56959 0 55257 25395" id="svg2853">
<defs id="defs2929">
<linearGradient id="id0" x1="-31008.836" y1="-0.4740662" x2="-31008.836" y2="12075.889" gradientTransform="scale(0.948133,1.054705)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FFCC00" id="stop2862"/>
<stop offset="1" style="stop-color:#FFFFFF" id="stop2864"/>
</linearGradient>
</defs>
<g id="g3018">
<image xlink:href="fop-logo-reconstructed.svg" height="5088.0142" width="9907.0371" y="15876.539" x="-28543.301" id="18424888"/>
<rect height="12598" width="11311" y="69" x="-29331" style="fill:url(#id0);stroke:black;stroke-width:139" id="18424976"/>
<rect height="5512" width="7874" y="916" x="-56890" style="fill:#ffc;stroke:black;stroke-width:139" id="18425064"/>
<text id="text2869" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="3322" x="-54924">Data </text>
<text id="text2871" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="5347" x="-55842">Source</text>
<rect height="5512" width="7874" y="916" x="-45079" style="fill:#ffc;stroke:black;stroke-width:139" id="18425240"/>
<text id="text2874" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="4334" x="-42879">XML</text>
<rect height="5512" width="7874" y="916" x="-33268" style="fill:#ffc;stroke:black;stroke-width:139" id="18425416"/>
<text id="text2877" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="4334" x="-32383">XSL-FO</text>
<rect height="5512" width="7874" y="916" x="-21457" style="fill:#ffc;stroke:black;stroke-width:139" id="18425592"/>
<text id="text2880" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="3322" x="-20136">Target </text>
<text id="text2882" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="5347" x="-18952">File</text>
<rect height="5512" width="7874" y="916" x="-9646" style="fill:#ffc;stroke:black;stroke-width:139" id="18425768"/>
<text id="text2885" style="font-size:1667px;font-weight:normal;fill:black;font-family:Verdana" y="4334" x="-8063">Paper</text>
<g id="g2887">
<path d="M -42786,7215 L -42808,7333 L -42877,7448 L -42993,7562 L -43157,7671 L -43364,7774 L -43611,7869 L -43893,7956 L -44208,8033 L -44551,8102 L -44918,8161 L -45306,8212 L -45712,8253 L -46132,8285 L -46562,8308 L -47000,8322 L -47441,8326 L -47882,8322 L -48319,8308 L -48750,8285 L -49170,8253 L -49576,8212 L -49964,8161 L -50331,8102 L -50674,8033 L -50989,7956 L -51271,7869 L -51518,7774 L -51725,7671 L -51889,7562 L -52005,7448 L -52073,7333 L -52096,7215 L -52235,7215 L -52203,7383 L -52113,7535 L -51975,7670 L -51794,7792 L -51573,7901 L -51316,8000 L -51025,8089 L -50704,8168 L -50356,8238 L -49984,8298 L -49591,8349 L -49182,8391 L -48758,8424 L -48325,8447 L -47885,8461 L -47441,8465 L -46997,8461 L -46557,8447 L -46123,8424 L -45700,8391 L -45291,8349 L -44898,8298 L -44526,8238 L -44178,8168 L -43857,8089 L -43566,8000 L -43309,7901 L -43088,7792 L -42907,7670 L -42769,7535 L -42679,7383 L -42647,7215 L -42786,7215 z " style="fill:black" id="18425944"/>
<path d="M -43082,7273 L -42717,6607 L -42351,7273 L -43082,7273 L -42717,6607 L -43082,7273 z " style="fill:black" id="path2890"/>
</g>
<g id="g2892">
<path d="M -30188,7215 L -30210,7333 L -30278,7448 L -30395,7562 L -30559,7671 L -30766,7774 L -31012,7869 L -31295,7956 L -31609,8033 L -31952,8102 L -32319,8161 L -32708,8212 L -33114,8253 L -33534,8285 L -33964,8308 L -34402,8322 L -34843,8326 L -35284,8322 L -35721,8308 L -36151,8285 L -36571,8253 L -36977,8212 L -37366,8161 L -37733,8102 L -38076,8033 L -38390,7956 L -38673,7869 L -38919,7774 L -39126,7671 L -39290,7562 L -39407,7448 L -39475,7333 L -39497,7215 L -39636,7215 L -39605,7383 L -39515,7535 L -39376,7670 L -39195,7792 L -38975,7901 L -38717,8000 L -38426,8089 L -38105,8168 L -37757,8238 L -37385,8298 L -36993,8349 L -36583,8391 L -36160,8424 L -35726,8447 L -35286,8461 L -34843,8465 L -34399,8461 L -33959,8447 L -33525,8424 L -33102,8391 L -32692,8349 L -32300,8298 L -31928,8238 L -31580,8168 L -31259,8089 L -30968,8000 L -30710,7901 L -30490,7792 L -30309,7670 L -30170,7535 L -30080,7383 L -30049,7215 L -30188,7215 z " style="fill:black" id="18426032"/>
<path d="M -30484,7273 L -30118,6607 L -29752,7273 L -30484,7273 L -30118,6607 L -30484,7273 z " style="fill:black" id="path2895"/>
</g>
<g id="g2897">
<path d="M -34912,13514 L -34924,13655 L -34962,13806 L -35023,13967 L -35106,14136 L -35211,14312 L -35335,14494 L -35476,14681 L -35633,14872 L -35804,15065 L -35988,15260 L -36182,15455 L -36385,15650 L -36595,15845 L -36810,16038 L -37029,16227 L -37249,16414 L -37470,16595 L -37688,16771 L -37904,16941 L -38114,17104 L -38318,17258 L -38512,17404 L -38697,17540 L -38869,17666 L -39028,17779 L -39171,17881 L -39297,17969 L -39403,18043 L -39489,18102 L -39553,18145 L -39592,18172 L -39605,18181 L -39528,18296 L -39515,18287 L -39475,18260 L -39411,18217 L -39325,18157 L -39217,18082 L -39091,17994 L -38947,17892 L -38788,17778 L -38615,17652 L -38430,17516 L -38234,17369 L -38030,17214 L -37819,17050 L -37602,16880 L -37382,16703 L -37161,16520 L -36939,16333 L -36718,16142 L -36501,15948 L -36290,15751 L -36085,15554 L -35888,15356 L -35702,15158 L -35528,14962 L -35368,14767 L -35222,14575 L -35094,14387 L -34985,14202 L -34896,14022 L -34829,13847 L -34788,13678 L -34773,13514 L -34912,13514 z " style="fill:black" id="18615216"/>
<path d="M -35208,13572 L -34843,12906 L -34477,13572 L -35208,13572 L -34843,12906 L -35208,13572 z " style="fill:black" id="path2900"/>
</g>
<g id="g2902">
<path d="M -19164,7215 L -19186,7333 L -19255,7448 L -19371,7562 L -19535,7671 L -19742,7774 L -19989,7869 L -20271,7956 L -20586,8033 L -20929,8102 L -21296,8161 L -21684,8212 L -22090,8253 L -22510,8285 L -22940,8308 L -23378,8322 L -23819,8326 L -24260,8322 L -24697,8308 L -25128,8285 L -25548,8253 L -25954,8212 L -26342,8161 L -26709,8102 L -27052,8033 L -27366,7956 L -27649,7869 L -27896,7774 L -28103,7671 L -28267,7562 L -28383,7448 L -28451,7333 L -28474,7215 L -28613,7215 L -28581,7383 L -28491,7535 L -28353,7670 L -28172,7792 L -27951,7901 L -27694,8000 L -27403,8089 L -27082,8168 L -26734,8238 L -26362,8298 L -25969,8349 L -25560,8391 L -25136,8424 L -24703,8447 L -24263,8461 L -23819,8465 L -23375,8461 L -22935,8447 L -22501,8424 L -22078,8391 L -21669,8349 L -21276,8298 L -20904,8238 L -20556,8168 L -20235,8089 L -19944,8000 L -19687,7901 L -19466,7792 L -19285,7670 L -19147,7535 L -19057,7383 L -19025,7215 L -19164,7215 z " style="fill:black" id="18426120"/>
<path d="M -19460,7273 L -19094,6607 L -18729,7273 L -19460,7273 L -19094,6607 L -19460,7273 z " style="fill:black" id="path2905"/>
</g>
<g id="g2907">
<path d="M -6566,7215 L -6588,7333 L -6656,7448 L -6773,7562 L -6937,7671 L -7144,7774 L -7390,7869 L -7673,7956 L -7987,8033 L -8330,8102 L -8697,8161 L -9086,8212 L -9492,8253 L -9912,8285 L -10342,8308 L -10779,8322 L -11220,8326 L -11661,8322 L -12099,8308 L -12529,8285 L -12949,8253 L -13355,8212 L -13744,8161 L -14111,8102 L -14454,8033 L -14768,7956 L -15051,7869 L -15297,7774 L -15504,7671 L -15668,7562 L -15785,7448 L -15853,7333 L -15875,7215 L -16014,7215 L -15983,7383 L -15893,7535 L -15754,7670 L -15573,7792 L -15353,7901 L -15095,8000 L -14804,8089 L -14483,8168 L -14135,8238 L -13763,8298 L -13371,8349 L -12961,8391 L -12538,8424 L -12104,8447 L -11664,8461 L -11220,8465 L -10777,8461 L -10337,8447 L -9903,8424 L -9480,8391 L -9070,8349 L -8678,8298 L -8306,8238 L -7958,8168 L -7636,8089 L -7346,8000 L -7088,7901 L -6868,7792 L -6686,7670 L -6548,7535 L -6458,7383 L -6427,7215 L -6566,7215 z " style="fill:black" id="18426208"/>
<path d="M -6862,7273 L -6496,6607 L -6130,7273 L -6862,7273 L -6496,6607 L -6862,7273 z " style="fill:black" id="path2910"/>
</g>
<text id="text2912" style="font-size:1667px;font-style:italic;font-weight:normal;fill:black;font-family:Verdana" y="10364" x="-52841">Generation</text>
<text id="text2914" style="font-size:1667px;font-style:italic;font-weight:normal;fill:black;font-family:Verdana" y="10364" x="-42417">Transformation</text>
<text id="text2916" style="font-size:1667px;font-style:italic;font-weight:normal;fill:black;font-family:Verdana" y="12390" x="-38905">(XSLT)</text>
<text id="text2918" style="font-size:1667px;font-style:italic;font-weight:normal;fill:black;font-family:Verdana" y="10305" x="-26373">Layout</text>
<text id="text2920" style="font-size:1667px;font-style:italic;font-weight:normal;fill:black;font-family:Verdana" y="10364" x="-14437">Printing</text>
<path d="M -25535,14570 L -24751,14570 C -24577,14570 -24430,14591 -24309,14633 C -24189,14674 -24087,14740 -24004,14827 C -23921,14916 -23854,15028 -23803,15164 C -23752,15301 -23710,15480 -23676,15703 C -23639,15482 -23597,15308 -23550,15182 C -23503,15054 -23442,14946 -23367,14857 C -23291,14767 -23188,14698 -23056,14647 C -22925,14596 -22771,14570 -22594,14570 L -21884,14570 L -19262,14570 C -18975,14570 -18769,14543 -18644,14490 C -18519,14435 -18408,14332 -18312,14179 C -18216,14026 -18147,13824 -18104,13571 L -18020,13571 C -18060,14002 -18163,14317 -18328,14517 C -18494,14718 -18743,14816 -19074,14818 L -21884,14824 L -22559,14818 C -22886,14818 -23124,14893 -23273,15046 C -23424,15199 -23534,15456 -23606,15817 L -23745,15817 C -23815,15456 -23925,15199 -24075,15046 C -24225,14893 -24464,14818 -24790,14818 L -25520,14818 L -28277,14818 C -28609,14818 -28858,14717 -29023,14517 C -29188,14317 -29291,14002 -29331,13571 L -29247,13571 C -29217,13758 -29170,13918 -29107,14053 C -29045,14187 -28969,14294 -28882,14373 C -28794,14452 -28685,14505 -28556,14531 C -28426,14557 -28270,14570 -28089,14570 L -25535,14570 z " style="fill:black" id="18426648"/>
<path d="M -44291,18238 L -34941,18238 L -34941,24128 C -38334,24248 -40831,26009 -44291,25030 L -44291,18238 z " style="fill:#ffc;stroke:black;stroke-width:139;stroke-linecap:round;stroke-linejoin:round" id="18618472"/>
<text id="text2924" style="font-size:1389px;font-weight:normal;fill:black;font-family:Verdana" y="21490" x="-41323">XSLT </text>
<text id="text2926" style="font-size:1389px;font-weight:normal;fill:black;font-family:Verdana" y="23178" x="-43278">Stylesheet</text>
</g>
</svg>

+ 32
- 0
src/documentation/poster/svg/pepe-business-card.svg View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<svg xml:space="preserve" x="-3.05102in" y="-2.2459in" width="3.31009in" height="2.08961in"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality" viewBox="-30510 0 33101 20896">
<g>
<g>
<text x="-10504" y="6849" style="fill:#000000;font-weight:bold;font-size:1944;font-family:Arial">Pepé Le Pew</text>
<text x="-10049" y="9732" style="fill:#000000;font-weight:normal;font-size:1667;font-family:Arial">Expert d&apos;Amour</text>
<text x="-29325" y="13856" style="fill:#000000;font-weight:normal;font-size:1389;font-family:Arial">13 Pleasantstreet</text>
<text x="-29325" y="15523" style="fill:#000000;font-weight:normal;font-size:1389;font-family:Arial">Acme Acres</text>
<text x="-29325" y="17190" style="fill:#000000;font-weight:normal;font-size:1389;font-family:Arial">+1 (23) 456-7890</text>
<text x="-29325" y="18856" style="fill:#000000;font-weight:normal;font-size:1389;font-family:Arial">pepe@looney.toon</text>
</g>
<rect id="29049344" style="fill:none;stroke:#000000;stroke-width:100" x="-30495" y="15" width="33071" height="20866"/>
</g>
</svg>

+ 109
- 0
src/documentation/poster/xml/business-card-demo.xml View File

@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section xmlns:fo="http://www.w3.org/1999/XSL/Format">
<title tab-width="50">An Example</title>
<p>
The XML file (a business card):
</p>
<fo:block text-align="start" font-family="'Lucida Console'" font-size="10pt" white-space="pre"
><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<business-card>
<name>Pepé Le Pew</name>
<function>Expert d'Amour</function>
<address1>13 Pleasantstreet</address1>
<address2>Acme Acres</address2>
<phone>+1 (23) 456-7890</phone>
<mail>pepe@looney.toon</mail>
</business-card>]]></fo:block>
<fo:block space-before="20pt"/>
<p>The result:</p>
<p>
<fo:instream-foreign-object xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg:svg width="150mm" height="70mm" viewBox="0 0 150 70">
<svg:g transform="rotate(-7)">
<svg:image x="0" y="12" width="84" height="53" xlink:href="svg/pepe-business-card.svg"/>
</svg:g>
</svg:svg>
</fo:instream-foreign-object>
</p>
<fo:block-container absolute-position="absolute" left="80mm" top="20mm" width="2cm" height="10cm">
<fo:block>
<fo:instream-foreign-object xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="1.8cm" height="10cm" viewBox="0 0 20 100">
<defs>
<marker refX="0" refY="0" orient="auto" style="overflow:visible" id="Arrow1Lend">
<path
d="M 0,0 L 5,-5 L -12.5,0 L 5,5 L 0,0 z "
transform="matrix(-0.4,0,0,-0.4,0,0)"
style="fill-rule:evenodd;stroke:black;stroke-width:0.5;marker-start:none"
id="arrowpath" />
</marker>
</defs>
<g transform="translate(5,0)">
<path
d="M 0,0 C 10,10 10,40 0,50"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;marker-mid:none;marker-end:url(#Arrow1Lend);stroke-opacity:1"
id="path1872" />
</g>
</svg>
</fo:instream-foreign-object>
</fo:block>
</fo:block-container>
<fo:block-container absolute-position="absolute" width="100%" height="100%">
<fo:block start-indent="112mm">
<p>The XSLT stylesheet which contains the rules to convert the business card XML to XSL-FO:</p>
<fo:block text-align="start" font-family="'Lucida Console'" font-size="10pt" white-space="pre"
><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<fo:root font-family="Helvetica" font-size="10pt">
<fo:layout-master-set>
<fo:simple-page-master master-name="bc" page-height="53mm" page-width="84mm" margin="3mm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<xsl:apply-templates/>
</fo:root>
</xsl:template>
<xsl:template match="business-card">
<fo:page-sequence master-reference="bc">
<fo:flow flow-name="xsl-region-body">
<fo:block text-align="end" space-before="9mm" space-before.conditionality="retain">
<fo:block font-size="14pt" font-weight="bold" space-after="2mm">
<xsl:value-of select="name"/>
</fo:block>
<fo:block font-size="12pt" space-after="6mm">
<xsl:value-of select="function"/>
</fo:block>
</fo:block>
<fo:block><xsl:value-of select="address1"/></fo:block>
<fo:block><xsl:value-of select="address2"/></fo:block>
<fo:block><xsl:value-of select="phone"/></fo:block>
<fo:block><xsl:value-of select="mail"/></fo:block>
</fo:flow>
</fo:page-sequence>
</xsl:template>
</xsl:stylesheet>]]></fo:block>
</fo:block>
</fo:block-container>

</section>

+ 28
- 0
src/documentation/poster/xml/fop-foreign-xml-support.xml View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="80">Foreign XML Support</title>
<ul>
<li>SVG (Vector Graphics, Apache Batik, built-in)</li>
<li>Barcodes (Barcode4J, optional)</li>
<li>MathML (JEuclid, optional)</li>
<li>XMP (Metadata)</li>
<li>... or your own format!</li>
</ul>
</section>

+ 30
- 0
src/documentation/poster/xml/fop-getting-help.xml View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="45">Support</title>
<p>
What if you need help?
</p>
<ul>
<li>Find out if your problem is about XSL-FO or XSLT.</li>
<li>The FOP website contains links to forums and mailing lists on XSLT.</li>
<li>The &#x201C;fop-users&#x201D; mailing list helps you with Apache FOP.</li>
<li>Be sure to check the FAQ and the mailing list archives before you ask on the mailing list.</li>
</ul>
</section>

+ 51
- 0
src/documentation/poster/xml/fop-history.xml View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="60">Project History</title>
<p>
The initial code for the Formatting Objects Processor (FOP) was contributed to the
Apache Software Foundation by James Tauber in 1999.
</p>
<p>
The project evolved with the W3C specification and was quickly adopted by many. In July of 2003,
the most famous version of FOP, 0.20.5, was released. It is now used to produce documents all
over the globe.
</p>
<p>
Even before release 0.20.5 a redesign effort commenced to address short-comings
that prevented important features from being implemented using the current design.
</p>
<p>
In October 2004, Batik and FOP joined forces and together formed the XML Graphics project.
This change was made to scale down the old Apache XML project, to improve
project oversight, and to allow for better collaboration because Batik and
FOP share many similarities.
</p>
<p>
In 2005, the redesign finally took a leap forward, which resulted in the first release from
the new codebase (FOP&#160;0.90alpha). Shortly thereafter, FOP&#160;0.91beta was released in December
2005 and FOP&#160;0.92beta in April&#160;2006. Although 0.92beta still carries the beta tag,
it has many advantages over the old version 0.20.5.
</p>
<p>
The next version, to be released shortly, will be 0.93. This version should be the last release
before the long-awaited version 1.0, for which the team only has to implement a handful of
additional features.
</p>
</section>

+ 32
- 0
src/documentation/poster/xml/fop-image-support.xml View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="65">Image Support</title>
<ul>
<li>
<p>PNG</p>
</li>
<li>TIFF</li>
<li>JPEG</li>
<li>BMP</li>
<li>GIF</li>
<li>EPS (PostScript output only)</li>
<li>EMF (RTF output only)</li>
</ul>
</section>

+ 41
- 0
src/documentation/poster/xml/fop-output-formats.xml View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="65">Output Formats</title>
<p>
Apache Fop supports a range of different output formats:
</p>
<ul>
<li>
<p>PDF (Portable Document Format)</p>
<ul>
<li>PDF/X-3:2003</li>
<li>PDF/A-1b</li>
</ul>
</li>
<li>PostScript</li>
<li>PCL 5</li>
<li>AFP (MO:DCA)</li>
<li>Java2D (Direct Print, TIFF, PNG, AWT/Swing Preview Dialog)</li>
<li>RTF (Rich Text Format, compatible with MS Word)</li>
<li>Plain Text</li>
<li>Area Tree XML (Intermediate Format)</li>
<li>... or your own format!</li>
</ul>
</section>

+ 42
- 0
src/documentation/poster/xml/fop-overview.xml View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section>
<title tab-width="80">What is Apache FOP?</title>
<p>
Apache FOP (Formatting Objects Processor) is the most popular XSL-FO implementation.
It is used to create documents in PDF, PostScript and other formats.
</p>
<p>
XSL (eXtensible Stylesheet Language) is a W3C standard which consists of two parts:
</p>
<ol>
<li>XSL Transformations (XSLT)</li>
<li>XSL Formatting Objects (XSL-FO)</li>
</ol>
<p>
Apache FOP currently supports a large subset of XSL-FO&#160;1.0 and some of the new features
to be introduced with XSL-FO&#160;1.1. Details on the compliance levels can be found on the FOP
website.
</p>
<p>
The software is written in Java and published under a liberal license, the
Apache License version&#160;2.0, which allows commercial use and redistribution.
For details, please read the license text and the license FAQ on the ASF website.
</p>
</section>

+ 31
- 0
src/documentation/poster/xml/fop-poster.xml View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<poster>
<title>Apache FOP</title>
<section href="fop-overview.xml" width="165" height="118"/>
<section href="fop-output-formats.xml" width="165" height="103"/>
<section href="fop-foreign-xml-support.xml" width="165" height="55"/>
<section href="fop-image-support.xml" width="165" height="65"/>
<section href="fop-use-cases.xml" width="165" height="96"/>
<section href="fop-history.xml" width="165" height="181"/>
<section href="fop-getting-help.xml" width="165" height="67"/>
<section href="fop-transformation-chain.xml" width="335" height="167"/>
<!-- section href="hello-world-in-fo.xml" width="165" height="115"/-->
<section href="business-card-demo.xml" width="335" height="181"/>
</poster>

+ 33
- 0
src/documentation/poster/xml/fop-transformation-chain.xml View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section xmlns:fo="http://www.w3.org/1999/XSL/Format">
<title tab-width="80">Transformation Chain</title>
<fo:block space-before="10pt" space-before.conditionality="retain" space-after="10pt" text-align="center">
<fo:external-graphic src="svg/fop-transformation-chain.svg" width="70%" content-width="scale-to-fit"/>
</fo:block>
<p>
This diagram shows a complete transformation chain (exemplary). It begins with your data source,
from which the data for the document is extracted as an XML file. The generated XML is then
converted to XSL-FO using XSLT (based on the transformation rules in an XSLT stylesheet, see the
example below).
Apache FOP receives the XSL-FO document and converts/formats it to the desired target format.
If you create a PDF you might stream it to the user's browser or send it to your client by
e-mail, or if you create a PostScript file, you might print it on a printer.
</p>
</section>

+ 65
- 0
src/documentation/poster/xml/fop-use-cases.xml View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section xmlns:fo="http://www.w3.org/1999/XSL/Format">
<title tab-width="50">Use Cases</title>
<fo:table table-layout="fixed" width="100%" border-collapse="separate">
<fo:table-column/>
<fo:table-column/>
<fo:table-header>
<fo:table-row font-weight="bold">
<fo:table-cell border-bottom="solid 0.5mm black">
<p>Business Documents</p>
</fo:table-cell>
<fo:table-cell border-bottom="solid 0.5mm black">
<p>Book-style Documents</p>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-before="1mm">
<ul>
<li>Invoices</li>
<li>Letters</li>
<li>Insurance Policies</li>
<li>Forms</li>
<li>Reports</li>
<li>Business Cards</li>
<li>etc. etc.</li>
</ul>
</fo:table-cell>
<fo:table-cell padding-before="1mm">
<ul>
<li>Books</li>
<li>Manuals</li>
<li>White Papers</li>
<li>Technical Specifications</li>
<li>Web Pages as PDF</li>
<li>etc. etc.</li>
</ul>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<p>
Apache FOP is actively used by all sorts of people and organisations: Insurance companies,
banks, other commercial firms, governments, technical writers, web publishers, in web shops,
etc.
</p>
</section>

+ 41
- 0
src/documentation/poster/xml/hello-world-in-fo.xml View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<section xmlns:fo="http://www.w3.org/1999/XSL/Format">
<title tab-width="80">Hello World in XSL-FO</title>
<p>
XSL-FO is for print documents what HTML is for browsers. Here's what a minimal XSL-FO
document looks like:
</p>
<fo:block text-align="start" font-family="'Lucida Console'" font-size="smaller" white-space="pre"
><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4"
page-height="29.7cm" page-width="21cm"
margin="2cm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
<fo:block>Hello World!</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>]]></fo:block>
</section>

+ 100
- 0
src/documentation/poster/xslt/common.xsl View File

@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg">

<xsl:template match="@*|node()[namespace-uri() = 'http://www.w3.org/1999/XSL/Format']">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<xsl:template match="@*|node()[namespace-uri() = 'http://www.w3.org/2000/svg']">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<xsl:template match="p">
<xsl:choose>
<xsl:when test="ancestor::li and not(preceding-sibling::*)">
<fo:block
space-after="4pt">
<xsl:apply-templates/>
</fo:block>
</xsl:when>
<xsl:otherwise>
<fo:block
space-before="4pt"
space-after="4pt">
<xsl:apply-templates/>
</fo:block>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template match="ol|ul">
<fo:list-block
provisional-distance-between-starts="18pt"
provisional-label-separation="3pt"
text-align="start">
<xsl:apply-templates/>
</fo:list-block>
</xsl:template>

<xsl:template match="ol/li">
<fo:list-item>
<xsl:if test="not(following-sibling::li[1])">
<xsl:attribute name="space-after">6pt</xsl:attribute>
</xsl:if>
<fo:list-item-label
end-indent="label-end()">
<fo:block>
<xsl:number format="1."/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body
start-indent="body-start()">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>

<xsl:template match="ul/li">
<fo:list-item>
<xsl:if test="not(following-sibling::li[1])">
<xsl:attribute name="space-after">6pt</xsl:attribute>
</xsl:if>
<fo:list-item-label end-indent="label-end()">
<fo:block>&#x2022;</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>

</xsl:stylesheet>

+ 155
- 0
src/documentation/poster/xslt/fop-poster.xsl View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:exslt="http://exslt.org/common"
xmlns:xlink="http://www.w3.org/1999/xlink"
extension-element-prefixes="exslt">

<xsl:output method="xml" indent="yes"/>
<xsl:include href="poster.xsl"/>
<xsl:include href="common.xsl"/>

<xsl:template match="poster">
<fo:root font-family="Verdana" font-size="14pt">
<xsl:call-template name="poster-layout-master-set"/>
<fo:declarations>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" xmlns:xap="http://ns.adobe.com/xap/1.0">
<xap:Title>
<rdf:Alt>
<rdf:li xml:lang="x-default">Apache FOP Poster</rdf:li>
<rdf:li xml:lang="de">Apache FOP Plakat</rdf:li>
</rdf:Alt>
</xap:Title>
</rdf:Description>
<rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:creator>Jeremias Märki</dc:creator>
<dc:title>
<rdf:Alt>
<rdf:li xml:lang="x-default">Apache FOP Poster</rdf:li>
<rdf:li xml:lang="de">Apache FOP Plakat</rdf:li>
</rdf:Alt>
</dc:title>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
</fo:declarations>
<fo:page-sequence master-reference="A2plusL" language="en" hyphenate="true" text-align="justify">
<fo:static-content flow-name="xsl-region-before">
<xsl:call-template name="background"/>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates select="section"/>
<fo:block-container width="1cm" height="5cm">
<fo:block/>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template name="background">
<fo:block-container absolute-position="fixed" width="700mm" height="500mm">
<fo:block line-height="0">
<fo:instream-foreign-object>
<svg xmlns="http://www.w3.org/2000/svg" width="700mm"
height="500mm" viewBox="0 0 840 594">
<g font-family="Verdana">
<path
d="M 0,55 L 580,55 c 40,0 60,30 100,30 L 840,85 840,575 L 280,575 c -40,0 -60,-50, -100,-50 L 0,525 z"
style="fill:lightblue; stroke:none;" />
<path
d="M 0,55 L 580,55 c 40,0 60,30 100,30 L 840,85"
style="fill:none; stroke:blue; stroke-width:5;" />
<path
d="M 840,575 L 280,575 c -40,0 -60,-50 -100,-50 L 0,525"
style="fill:none; stroke:blue; stroke-width:5;" />
<image x="680" y="7" width="140" height="60" xlink:href="svg/fop-logo-reconstructed.svg"/>
<text x="15" y="35" style="fill:black; font-weight:bold; font-size:17">
Apache FOP - The leading open source XSL-FO formatter
</text>
<text x="685" y="74" style="fill:black; font-size:5.5">
A product of the Apache XML Graphics Project
</text>
<image x="15" y="530" width="160" height="60" xlink:href="svg/asf-logo.svg"/>
<text x="360" y="560" style="fill:blue; font-size:12">
For more details, please visit: <a xlink:href="http://xmlgraphics.apache.org/fop/">http://xmlgraphics.apache.org/fop/</a>
</text>
<text x="700" y="590" style="fill:gray; font-size:5">
Poster generated with Apache FOP and Apache Batik
</text>
</g>
</svg>
</fo:instream-foreign-object>
</fo:block>
</fo:block-container>
</xsl:template>
<xsl:template match="section">
<xsl:variable name="section-content" select="exslt:node-set(document(@href))"/>
<fo:block
space-before.minimum="2mm" space-before.optimum="5mm" space-before.maximum="30mm"
space-before.conditionality="discard" space-after.conditionality="discard"
space-after.minimum="2mm" space-after.optimum="5mm" space-after.maximum="30mm"
keep-together.within-column="always">
<fo:block-container width="{@width}mm" height="{@height}mm" space-after="-{@height}mm">
<fo:block line-height="0">
<fo:instream-foreign-object overflow="visible">
<xsl:call-template name="section-box">
<xsl:with-param name="width" select="@width"/>
<xsl:with-param name="height" select="@height"/>
<xsl:with-param name="tab-width" select="$section-content/section/title/@tab-width"/>
<xsl:with-param name="title" select="$section-content/section/title"/>
</xsl:call-template>
</fo:instream-foreign-object>
</fo:block>
</fo:block-container>
<fo:block-container width="{@width}mm - 8mm" height="{@height}mm - 20mm" padding="4mm" padding-top="16mm" margin="0pt">
<fo:block>
<xsl:apply-templates select="$section-content/section/*[local-name() != 'title']"/>
</fo:block>
</fo:block-container>
</fo:block>
</xsl:template>
<xsl:template name="section-box">
<xsl:param name="width" select="200"/>
<xsl:param name="height" select="100"/>
<xsl:param name="tab-width" select="35"/>
<xsl:param name="title" select="'Title'"/>
<xsl:variable name="stroke-width" select="2"/>
<xsl:variable name="offset" select="$stroke-width div 2"/>
<xsl:variable name="w" select="$width - $stroke-width"/>
<xsl:variable name="h" select="$height - $stroke-width"/>
<svg xmlns="http://www.w3.org/2000/svg" width="{$width}mm" height="{$height}mm" viewBox="0 0 {$width} {$height}">
<g transform="translate({$offset},{$offset})" font-family="Verdana">
<path d="M 0,5 S 0,0 5,0 L {$tab-width},0 C {$tab-width + 10},0 {$tab-width + 10},10 {$tab-width + 20},10 L {$w - 5},10 S {$w},10 {$w},15 L {$w},{$h - 5} S {$w},{$h}, {$w - 5},{$h} L 5,{$h} S 0,{$h} 0,{$h - 5} z"
style="fill:rgb(240,240,255); stroke:blue; stroke-width:{$stroke-width};" />
<text x="4" y="9" style="fill:blue; font-size:7">
<xsl:value-of select="$title"/>
</text>
</g>
</svg>
</xsl:template>
</xsl:stylesheet>

+ 41
- 0
src/documentation/poster/xslt/poster.xsl View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg">

<xsl:template name="poster-layout-master-set">
<fo:layout-master-set>
<fo:simple-page-master master-name="A1L" page-height="2 * 29.7cm" page-width="4 * 21cm">
<fo:region-body margin-top="10cm" margin-bottom="8cm"
margin-left="1cm" margin-right="1cm"
column-count="4" column-gap="1cm"/>
<fo:region-before extent="0pt"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="A2plusL" page-width="700mm" page-height="500mm">
<fo:region-body margin-top="7.5cm" margin-bottom="7cm"
margin-left="1cm" margin-right="1cm"
column-count="4" column-gap="1cm"/>
<fo:region-before extent="0pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
</xsl:template>

</xsl:stylesheet>

Loading…
Cancel
Save