vgritsenko 2003/05/08 13:42:38
Modified: src/webapp sitemap.xmap src/targets samples-build.xml src/webapp/samples/hello-world samples.xml sitemap.xmap src/webapp/samples/hello-world/style/xsl page2sxw.xsl src/java/org/apache/cocoon/serialization ZipArchiveSerializer.java Added: src/webapp/samples/hello-world/style/xsl page2sxc.xsl page2sxd.xsl page2sxi.xsl Log: The rest of OpenOffice samples: Calc, Impress, Draw. Exclude page2???.xsl from filtering. Remove mime type hardcoded in the ZipArchiveSerializer. Revision Changes Path 1.17 +2 -1 cocoon-2.1/src/webapp/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/sitemap.xmap,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- sitemap.xmap 8 May 2003 06:39:47 -0000 1.16 +++ sitemap.xmap 8 May 2003 20:42:15 -0000 1.17 @@ -127,6 +127,7 @@ </map:serializer> <map:serializer logger="sitemap.serializer.text" mime-type="text/plain" name="text" src="org.apache.cocoon.serialization.TextSerializer"/> <map:serializer logger="sitemap.serializer.vrml" mime-type="model/vrml" name="vrml" src="org.apache.cocoon.serialization.TextSerializer"/> + <map:serializer logger="sitemap.serializer.zip" mime-type="application/zip" name="zip" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/> <map:serializer logger="sitemap.serializer.sxw" mime-type="application/vnd.sun.xml.writer" name="sxw" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/> <map:serializer logger="sitemap.serializer.sxc" mime-type="application/vnd.sun.xml.calc" name="sxc" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/> <map:serializer logger="sitemap.serializer.sxd" mime-type="application/vnd.sun.xml.draw" name="sxd" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/> 1.6 +2 -0 cocoon-2.1/src/targets/samples-build.xml Index: samples-build.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/targets/samples-build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- samples-build.xml 24 Mar 2003 10:34:08 -0000 1.5 +++ samples-build.xml 8 May 2003 20:42:17 -0000 1.6 @@ -21,6 +21,7 @@ <exclude name="**/*.gif"/> <exclude name="**/*.png"/> <exclude name="i18n/**"/> <!-- filtering breaks UTF-8 files --> + <exclude name="hello-world/style/xsl/**"/> <!-- filtering breaks UTF-8 files --> </fileset> </copy> @@ -30,6 +31,7 @@ <include name="**/*.gif"/> <include name="**/*.png"/> <include name="i18n/**"/> + <include name="hello-world/style/xsl/**"/> </fileset> </copy> 1.6 +11 -2 cocoon-2.1/src/webapp/samples/hello-world/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/samples.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- samples.xml 8 May 2003 05:05:22 -0000 1.5 +++ samples.xml 8 May 2003 20:42:17 -0000 1.6 @@ -60,7 +60,16 @@ <group name="Hello Office!"> <sample name="OpenOffice Writer" href="hello.sxw"> - This page shows how a simple XML page can be presented in OpenOffice Writer document format. + This document shows how a simple XML page can be presented in OpenOffice Writer file format. + </sample> + <sample name="OpenOffice Calc" href="hello.sxc"> + This spreadsheet shows how a simple XML page can be presented in OpenOffice Calc file format. + </sample> + <sample name="OpenOffice Impress" href="hello.sxi"> + This presentation shows how a simple XML page can be presented in OpenOffice Impress file format. + </sample> + <sample name="OpenOffice Draw" href="hello.sxd"> + This drawing shows how a simple XML page can be presented in OpenOffice Draw file format. </sample> </group> 1.8 +20 -1 cocoon-2.1/src/webapp/samples/hello-world/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/sitemap.xmap,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- sitemap.xmap 8 May 2003 05:05:22 -0000 1.7 +++ sitemap.xmap 8 May 2003 20:42:17 -0000 1.8 @@ -77,6 +77,25 @@ <map:transform src="style/xsl/page2sxw.xsl"/> <map:serialize type="sxw"/> </map:match> + + <map:match pattern="hello.sxc"> + <map:generate src="content/hello.xml"/> + <map:transform src="style/xsl/page2sxc.xsl"/> + <map:serialize type="sxc"/> + </map:match> + + <map:match pattern="hello.sxi"> + <map:generate src="content/hello.xml"/> + <!-- FIXME: XSLTC fails on this stylesheet --> + <map:transform type="xalan" src="style/xsl/page2sxi.xsl"/> + <map:serialize type="sxi"/> + </map:match> + + <map:match pattern="hello.sxd"> + <map:generate src="content/hello.xml"/> + <map:transform src="style/xsl/page2sxd.xsl"/> + <map:serialize type="sxd"/> + </map:match> </map:pipeline> </map:pipelines> 1.2 +4 -4 cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2sxw.xsl Index: page2sxw.xsl =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2sxw.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- page2sxw.xsl 8 May 2003 05:05:22 -0000 1.1 +++ page2sxw.xsl 8 May 2003 20:42:26 -0000 1.2 @@ -1,8 +1,8 @@ <?xml version="1.0"?> <!--+ - | This stylesheets transforms hello world XML page to document to ZIP serializer. - | After the serializer, result is OpenOffice Writer document (sxw). + | This stylesheets transforms hello world XML page to ZIP serializer's format. + | After the serializer, result is an OpenOffice Writer document (sxw). | | @author <a href="mailto:[EMAIL PROTECTED]>Vadim Gritsenko</a> | @version CVS $Id$ @@ -67,7 +67,7 @@ <office:meta> <meta:generator>OpenOffice.org 1.0.3 (Win32)</meta:generator> <dc:title><xsl:value-of select="title"/></dc:title> - <dc:subject>Cocoon Sample Document</dc:subject> + <dc:subject>Cocoon Hello World Sample Document</dc:subject> <meta:creation-date>2003-05-07T22:59:08</meta:creation-date> <dc:date>2003-05-07T23:01:22</dc:date> <dc:language>en-US</dc:language> 1.1 cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2sxc.xsl Index: page2sxc.xsl =================================================================== <?xml version="1.0"?> <!--+ | This stylesheets transforms hello world XML page to ZIP serializer's format. | After the serializer, result is an OpenOffice Calc document (sxc). | | @author <a href="mailto:[EMAIL PROTECTED]>Vadim Gritsenko</a> | @version CVS $Id: page2sxc.xsl,v 1.1 2003/05/08 20:42:17 vgritsenko Exp $ +--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:zip="http://apache.org/cocoon/zip-archive/1.0" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table"> <xsl:template match="page"> <zip:archive> <!-- <!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="content.xml" serializer="xml"> <office:document-content xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:class="spreadsheet" office:version="1.0"> <office:script/> <office:font-decls> <style:font-decl style:name="Arial Unicode MS" fo:font-family="'Arial Unicode MS'" style:font-pitch="variable"/> <style:font-decl style:name="HG Mincho Light J" fo:font-family="'HG Mincho Light J'" style:font-pitch="variable"/> <style:font-decl style:name="Albany" fo:font-family="Albany" style:font-family-generic="swiss" style:font-pitch="variable"/> </office:font-decls> <office:automatic-styles> <style:style style:name="co1" style:family="table-column"> <style:properties fo:break-before="auto" style:column-width="0.8925inch"/> </style:style> <style:style style:name="ro1" style:family="table-row"> <style:properties fo:break-before="auto"/> </style:style> <style:style style:name="ta1" style:family="table" style:master-page-name="Default"> <style:properties table:display="true"/> </style:style> </office:automatic-styles> <office:body> <table:table table:style-name="ta1"> <!-- table:name="Hello" --> <xsl:attribute namespace="http://openoffice.org/2000/table" name="table:name"><xsl:value-of select="title"/></xsl:attribute> <table:table-column table:style-name="co1" table:default-cell-style-name="Default"/> <table:table-row table:style-name="ro1"> <table:table-cell table:style-name="Heading"> <text:p><xsl:value-of select="title"/></text:p> </table:table-cell> </table:table-row> <xsl:apply-templates/> </table:table> </office:body> </office:document-content> </zip:entry> <!-- <!DOCTYPE office:document-meta PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="meta.xml" serializer="xml"> <office:document-meta xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" office:version="1.0"> <office:meta> <meta:generator>OpenOffice.org 1.0.3 (Win32)</meta:generator> <dc:title><xsl:value-of select="title"/></dc:title> <dc:subject>Cocoon Hello World Sample Document</dc:subject> <meta:creation-date>2003-05-08T08:15:40</meta:creation-date> <dc:date>2003-05-08T08:19:17</dc:date> <dc:language>en-US</dc:language> <meta:editing-cycles>4</meta:editing-cycles> <meta:editing-duration>PT3M39S</meta:editing-duration> <meta:user-defined meta:name="Info 1"/> <meta:user-defined meta:name="Info 2"/> <meta:user-defined meta:name="Info 3"/> <meta:user-defined meta:name="Info 4"/> <meta:document-statistic meta:table-count="1" meta:cell-count="2"/> </office:meta> </office:document-meta> </zip:entry> <!-- <!DOCTYPE office:document-settings PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="settings.xml" serializer="xml"> <office:document-settings xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:config="http://openoffice.org/2001/config" office:version="1.0"> <office:settings> <config:config-item-set config:name="view-settings"> <config:config-item config:name="VisibleAreaTop" config:type="int">0</config:config-item> <config:config-item config:name="VisibleAreaLeft" config:type="int">0</config:config-item> <config:config-item config:name="VisibleAreaWidth" config:type="int">2258</config:config-item> <config:config-item config:name="VisibleAreaHeight" config:type="int">1156</config:config-item> <config:config-item-map-indexed config:name="Views"> <config:config-item-map-entry> <config:config-item config:name="ViewId" config:type="string">View1</config:config-item> <config:config-item-map-named config:name="Tables"> <config:config-item-map-entry> <!-- config:name="Hello" --> <xsl:attribute namespace="http://openoffice.org/2001/config" name="config:name"><xsl:value-of select="title"/></xsl:attribute> <config:config-item config:name="CursorPositionX" config:type="int">0</config:config-item> <config:config-item config:name="CursorPositionY" config:type="int">1</config:config-item> <config:config-item config:name="HorizontalSplitMode" config:type="short">0</config:config-item> <config:config-item config:name="VerticalSplitMode" config:type="short">0</config:config-item> <config:config-item config:name="HorizontalSplitPosition" config:type="int">0</config:config-item> <config:config-item config:name="VerticalSplitPosition" config:type="int">0</config:config-item> <config:config-item config:name="ActiveSplitRange" config:type="short">2</config:config-item> <config:config-item config:name="PositionLeft" config:type="int">0</config:config-item> <config:config-item config:name="PositionRight" config:type="int">0</config:config-item> <config:config-item config:name="PositionTop" config:type="int">0</config:config-item> <config:config-item config:name="PositionBottom" config:type="int">0</config:config-item> </config:config-item-map-entry> </config:config-item-map-named> <config:config-item config:name="ActiveTable" config:type="string"><xsl:value-of select="title"/></config:config-item> <config:config-item config:name="HorizontalScrollbarWidth" config:type="int">270</config:config-item> <config:config-item config:name="ZoomType" config:type="short">0</config:config-item> <config:config-item config:name="ZoomValue" config:type="int">100</config:config-item> <config:config-item config:name="PageViewZoomValue" config:type="int">60</config:config-item> <config:config-item config:name="ShowPageBreakPreview" config:type="boolean">false</config:config-item> <config:config-item config:name="ShowZeroValues" config:type="boolean">true</config:config-item> <config:config-item config:name="ShowNotes" config:type="boolean">true</config:config-item> <config:config-item config:name="ShowGrid" config:type="boolean">true</config:config-item> <config:config-item config:name="GridColor" config:type="long">12632256</config:config-item> <config:config-item config:name="ShowPageBreaks" config:type="boolean">true</config:config-item> <config:config-item config:name="HasColumnRowHeaders" config:type="boolean">true</config:config-item> <config:config-item config:name="HasSheetTabs" config:type="boolean">true</config:config-item> <config:config-item config:name="IsOutlineSymbolsSet" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToRaster" config:type="boolean">false</config:config-item> <config:config-item config:name="RasterIsVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="RasterResolutionX" config:type="int">1270</config:config-item> <config:config-item config:name="RasterResolutionY" config:type="int">1270</config:config-item> <config:config-item config:name="RasterSubdivisionX" config:type="int">1</config:config-item> <config:config-item config:name="RasterSubdivisionY" config:type="int">1</config:config-item> <config:config-item config:name="IsRasterAxisSynchronized" config:type="boolean">true</config:config-item> </config:config-item-map-entry> </config:config-item-map-indexed> </config:config-item-set> <config:config-item-set config:name="configuration-settings"> <config:config-item config:name="ShowZeroValues" config:type="boolean">true</config:config-item> <config:config-item config:name="ShowNotes" config:type="boolean">true</config:config-item> <config:config-item config:name="ShowGrid" config:type="boolean">true</config:config-item> <config:config-item config:name="GridColor" config:type="long">12632256</config:config-item> <config:config-item config:name="ShowPageBreaks" config:type="boolean">true</config:config-item> <config:config-item config:name="LinkUpdateMode" config:type="short">3</config:config-item> <config:config-item config:name="HasColumnRowHeaders" config:type="boolean">true</config:config-item> <config:config-item config:name="HasSheetTabs" config:type="boolean">true</config:config-item> <config:config-item config:name="IsOutlineSymbolsSet" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToRaster" config:type="boolean">false</config:config-item> <config:config-item config:name="RasterIsVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="RasterResolutionX" config:type="int">1270</config:config-item> <config:config-item config:name="RasterResolutionY" config:type="int">1270</config:config-item> <config:config-item config:name="RasterSubdivisionX" config:type="int">1</config:config-item> <config:config-item config:name="RasterSubdivisionY" config:type="int">1</config:config-item> <config:config-item config:name="IsRasterAxisSynchronized" config:type="boolean">true</config:config-item> <config:config-item config:name="AutoCalculate" config:type="boolean">true</config:config-item> <config:config-item config:name="PrinterName" config:type="string">\\vgritsenkopc2\HP LaserJet 5L</config:config-item> <config:config-item config:name="PrinterSetup" config:type="base64Binary">kgP+/1xcdmdyaXRzZW5rb3BjMlxIUCBMYXNlckpldCA1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2luc3Bvb2wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAEA2AIAAAAAAAAFAAhSAAAEdAAAM1ROVwEACABcXHZncml0c2Vua29wYzJcSFAgTGFzZXJKZXQgNUwAAAEEAAWcADQCQ++ABQEAAQCaCzQIZAABAA8AWAIBAAEAWAIDAAEAQTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAA/////wAAAAAAAAAAAAAAAAAAAABESU5VIgAAADQCAACjWpOwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</config:config-item> <config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item> <config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item> <config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item> <config:config-item config:name="SaveVersionOnClose" config:type="boolean">false</config:config-item> </config:config-item-set> </office:settings> </office:document-settings> </zip:entry> <!-- <!DOCTYPE office:document-styles PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="styles.xml" serializer="xml"> <office:document-styles xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:version="1.0"> <office:font-decls> <style:font-decl style:name="Arial Unicode MS" fo:font-family="'Arial Unicode MS'" style:font-pitch="variable"/> <style:font-decl style:name="HG Mincho Light J" fo:font-family="'HG Mincho Light J'" style:font-pitch="variable"/> <style:font-decl style:name="Albany" fo:font-family="Albany" style:font-family-generic="swiss" style:font-pitch="variable"/> </office:font-decls> <office:styles> <style:default-style style:family="table-cell"> <style:properties style:decimal-places="2" style:font-name="Albany" fo:language="en" fo:country="US" style:font-name-asian="HG Mincho Light J" style:language-asian="none" style:country-asian="none" style:font-name-complex="Arial Unicode MS" style:language-complex="none" style:country-complex="none" style:tab-stop-distance="0.5inch"/> </style:default-style> <number:number-style style:name="N0" style:family="data-style"> <number:number number:min-integer-digits="1"/> </number:number-style> <number:currency-style style:name="N104P0" style:family="data-style" style:volatile="true"> <number:currency-symbol number:language="en" number:country="US">$</number:currency-symbol> <number:number number:decimal-places="2" number:min-integer-digits="1" number:grouping="true"/> </number:currency-style> <number:currency-style style:name="N104" style:family="data-style"> <style:properties fo:color="#ff0000"/> <number:text>-</number:text> <number:currency-symbol number:language="en" number:country="US">$</number:currency-symbol> <number:number number:decimal-places="2" number:min-integer-digits="1" number:grouping="true"/> <style:map style:condition="value()>=0" style:apply-style-name="N104P0"/> </number:currency-style> <style:style style:name="Default" style:family="table-cell"/> <style:style style:name="Result" style:family="table-cell" style:parent-style-name="Default"> <style:properties fo:font-style="italic" style:text-underline="single" style:text-underline-color="font-color" fo:font-weight="bold"/> </style:style> <style:style style:name="Result2" style:family="table-cell" style:parent-style-name="Result" style:data-style-name="N104"/> <style:style style:name="Heading" style:family="table-cell" style:parent-style-name="Default"> <style:properties fo:text-align="center" style:text-align-source="fix" fo:font-size="16pt" fo:font-style="italic" fo:font-weight="bold"/> </style:style> <style:style style:name="Heading1" style:family="table-cell" style:parent-style-name="Heading"> <style:properties fo:direction="ltr" style:rotation-angle="90"/> </style:style> </office:styles> <office:automatic-styles> <style:page-master style:name="pm1"> <style:header-style> <style:properties fo:min-height="0.2957inch" fo:margin-left="0inch" fo:margin-right="0inch" fo:margin-bottom="0.0984inch"/> </style:header-style> <style:footer-style> <style:properties fo:min-height="0.2957inch" fo:margin-left="0inch" fo:margin-right="0inch" fo:margin-top="0.0984inch"/> </style:footer-style> </style:page-master> <style:page-master style:name="pm2"> <style:header-style> <style:properties fo:min-height="0.2957inch" fo:margin-left="0inch" fo:margin-right="0inch" fo:margin-bottom="0.0984inch" fo:border="0.0346inch solid #000000" fo:padding="0.0071inch" fo:background-color="#c0c0c0"> <style:background-image/> </style:properties> </style:header-style> <style:footer-style> <style:properties fo:min-height="0.2957inch" fo:margin-left="0inch" fo:margin-right="0inch" fo:margin-top="0.0984inch" fo:border="0.0346inch solid #000000" fo:padding="0.0071inch" fo:background-color="#c0c0c0"> <style:background-image/> </style:properties> </style:footer-style> </style:page-master> </office:automatic-styles> <office:master-styles> <style:master-page style:name="Default" style:page-master-name="pm1"> <style:header><text:p><text:sheet-name>???</text:sheet-name></text:p></style:header> <style:header-left style:display="false"/> <style:footer><text:p>Page <text:page-number>1</text:page-number></text:p></style:footer> <style:footer-left style:display="false"/> </style:master-page> <style:master-page style:name="Report" style:page-master-name="pm2"> <style:header> <style:region-left><text:p><text:sheet-name>???</text:sheet-name> (<text:title>???</text:title>)</text:p></style:region-left><style:region-right><text:p><text:date style:data-style-name="N2" text:date-value="2003-05-08">05/08/2003</text:date>, <text:time>08:19:17</text:time></text:p></style:region-right> </style:header> <style:header-left style:display="false"/> <style:footer> <text:p>Page <text:page-number>1</text:page-number> / <text:page-count>99</text:page-count></text:p> </style:footer> <style:footer-left style:display="false"/> </style:master-page> </office:master-styles> </office:document-styles> </zip:entry> <!-- <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> --> <zip:entry name="META-INF/manifest.xml" serializer="xml"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.xml.calc" manifest:full-path="/"/> <manifest:file-entry manifest:media-type="" manifest:full-path="Pictures/"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="settings.xml"/> </manifest:manifest> </zip:entry> </zip:archive> </xsl:template> <xsl:template match="title"> </xsl:template> <xsl:template match="content"> <xsl:apply-templates/> </xsl:template> <xsl:template match="para"> <table:table-row table:style-name="ro1"> <table:table-cell><text:p><xsl:apply-templates/></text:p></table:table-cell> </table:table-row> </xsl:template> <xsl:template match="@*|node()" priority="-2"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template> <xsl:template match="text()" priority="-1"><xsl:value-of select="."/></xsl:template> </xsl:stylesheet> 1.1 cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2sxd.xsl Index: page2sxd.xsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!--+ | This stylesheets transforms hello world XML page to ZIP serializer's format. | After the serializer, result is an OpenOffice Draw document (sxd). | | @author <a href="mailto:[EMAIL PROTECTED]>Vadim Gritsenko</a> | @version CVS $Id: page2sxd.xsl,v 1.1 2003/05/08 20:42:24 vgritsenko Exp $ +--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:zip="http://apache.org/cocoon/zip-archive/1.0" xmlns:text="http://openoffice.org/2000/text"> <xsl:template match="page"> <zip:archive> <!-- <!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="content.xml" serializer="xml"> <office:document-content xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:class="drawing" office:version="1.0"> <office:script/> <office:automatic-styles> <style:style style:name="dp1" style:family="drawing-page"/> <style:style style:name="gr1" style:family="graphics" style:parent-style-name="title"> <style:properties draw:textarea-horizontal-align="left" draw:auto-grow-width="true" draw:auto-grow-height="true" fo:min-height="0cm" fo:min-width="0cm"/> </style:style> <style:style style:name="gr2" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" svg:stroke-color="#000000" draw:fill="none" draw:fill-color="#ffffff" draw:textarea-horizontal-align="left" draw:auto-grow-width="true" draw:auto-grow-height="true" fo:min-height="0cm" fo:min-width="0cm"/> </style:style> <style:style style:name="P1" style:family="paragraph"> <style:properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm"/> </style:style> <text:list-style style:name="L1"> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </office:automatic-styles> <office:body> <draw:page draw:style-name="dp1" draw:master-page-name="Default"> <!-- draw:name="Hello" --> <xsl:attribute namespace="http://openoffice.org/2000/drawing" name="draw:name"><xsl:value-of select="title"/></xsl:attribute> <draw:text-box draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="3.445cm" svg:height="1.717cm" svg:x="8.944cm" svg:y="1.422cm"> <text:p text:style-name="P1"><xsl:value-of select="title"/></text:p> </draw:text-box> <draw:text-box draw:style-name="gr2" draw:layer="layout" svg:width="10.142cm" svg:height="0.955cm" svg:x="5.546cm" svg:y="4.019cm"> <xsl:apply-templates/> </draw:text-box> </draw:page> </office:body> </office:document-content> </zip:entry> <!-- <!DOCTYPE office:document-meta PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="meta.xml" serializer="xml"> <office:document-meta xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:presentation="http://openoffice.org/2000/presentation" office:version="1.0"> <office:meta> <meta:generator>OpenOffice.org 1.0.3 (Win32)</meta:generator> <dc:title><xsl:value-of select="title"/></dc:title> <dc:subject>Cocoon Hello World Sample Document</dc:subject> <meta:creation-date>2003-05-08T08:21:16</meta:creation-date> <dc:date>2003-05-08T08:24:29</dc:date> <dc:language>en-US</dc:language> <meta:editing-cycles>2</meta:editing-cycles> <meta:editing-duration>PT3M16S</meta:editing-duration> <meta:user-defined meta:name="Info 1"/> <meta:user-defined meta:name="Info 2"/> <meta:user-defined meta:name="Info 3"/> <meta:user-defined meta:name="Info 4"/> <meta:document-statistic meta:object-count="6"/> </office:meta> </office:document-meta> </zip:entry> <!-- <!DOCTYPE office:document-settings PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="settings.xml" serializer="xml"> <office:document-settings xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:config="http://openoffice.org/2001/config" office:version="1.0"> <office:settings> <config:config-item-set config:name="view-settings"> <config:config-item config:name="VisibleAreaTop" config:type="int">-407</config:config-item> <config:config-item config:name="VisibleAreaLeft" config:type="int">-13433</config:config-item> <config:config-item config:name="VisibleAreaWidth" config:type="int">49253</config:config-item> <config:config-item config:name="VisibleAreaHeight" config:type="int">28850</config:config-item> <config:config-item-map-indexed config:name="Views"> <config:config-item-map-entry> <config:config-item config:name="ViewId" config:type="string">view1</config:config-item> <config:config-item config:name="GridIsVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="GridIsFront" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToGrid" config:type="boolean">false</config:config-item> <config:config-item config:name="IsSnapToPageMargins" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToSnapLines" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToObjectFrame" config:type="boolean">false</config:config-item> <config:config-item config:name="IsSnapToObjectPoints" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPlusHandlesAlwaysVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="IsFrameDragSingles" config:type="boolean">true</config:config-item> <config:config-item config:name="EliminatePolyPointLimitAngle" config:type="int">1500</config:config-item> <config:config-item config:name="IsEliminatePolyPoints" config:type="boolean">false</config:config-item> <config:config-item config:name="VisibleLayers" config:type="base64Binary">//////////////////////////////////////////8=</config:config-item> <config:config-item config:name="PrintableLayers" config:type="base64Binary">//////////////////////////////////////////8=</config:config-item> <config:config-item config:name="LockedLayers" config:type="base64Binary"/> <config:config-item config:name="NoAttribs" config:type="boolean">false</config:config-item> <config:config-item config:name="NoColors" config:type="boolean">true</config:config-item> <config:config-item config:name="RulerIsVisible" config:type="boolean">true</config:config-item> <config:config-item config:name="PageKind" config:type="short">0</config:config-item> <config:config-item config:name="SelectedPage" config:type="short">0</config:config-item> <config:config-item config:name="IsLayerMode" config:type="boolean">false</config:config-item> <config:config-item config:name="IsBigHandles" config:type="boolean">false</config:config-item> <config:config-item config:name="IsDoubleClickTextEdit" config:type="boolean">true</config:config-item> <config:config-item config:name="IsClickChangeRotation" config:type="boolean">false</config:config-item> <config:config-item config:name="SlidesPerRow" config:type="short">4</config:config-item> <config:config-item config:name="DrawMode" config:type="int">0</config:config-item> <config:config-item config:name="PreviewDrawMode" config:type="int">0</config:config-item> <config:config-item config:name="IsShowPreviewInPageMode" config:type="boolean">false</config:config-item> <config:config-item config:name="IsShowPreviewInMasterPageMode" config:type="boolean">true</config:config-item> <config:config-item config:name="SetShowPreviewInOutlineMode" config:type="boolean">true</config:config-item> <config:config-item config:name="EditModeStandard" config:type="int">0</config:config-item> <config:config-item config:name="EditModeNotes" config:type="int">0</config:config-item> <config:config-item config:name="EditModeHandout" config:type="int">1</config:config-item> <config:config-item config:name="VisibleAreaTop" config:type="int">-407</config:config-item> <config:config-item config:name="VisibleAreaLeft" config:type="int">-13433</config:config-item> <config:config-item config:name="VisibleAreaWidth" config:type="int">49254</config:config-item> <config:config-item config:name="VisibleAreaHeight" config:type="int">28851</config:config-item> <config:config-item config:name="GridCoarseWidth" config:type="int">1270</config:config-item> <config:config-item config:name="GridCoarseHeight" config:type="int">1270</config:config-item> <config:config-item config:name="GridFineWidth" config:type="int">635</config:config-item> <config:config-item config:name="GridFineHeight" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidth" config:type="int">1000</config:config-item> <config:config-item config:name="GridSnapHeight" config:type="int">1000</config:config-item> <config:config-item config:name="GridSnapWidthXNumerator" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidthXDenominator" config:type="int">1</config:config-item> <config:config-item config:name="GridSnapWidthYNumerator" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidthYDenominator" config:type="int">1</config:config-item> <config:config-item config:name="IsAngleSnapEnabled" config:type="boolean">false</config:config-item> <config:config-item config:name="SnapAngle" config:type="int">1500</config:config-item> <config:config-item config:name="ZoomOnPage" config:type="boolean">true</config:config-item> </config:config-item-map-entry> </config:config-item-map-indexed> </config:config-item-set> <config:config-item-set config:name="configuration-settings"> <config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item> <config:config-item config:name="BitmapTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sob</config:config-item> <config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item> <config:config-item config:name="ColorTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soc</config:config-item> <config:config-item config:name="DashTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sod</config:config-item> <config:config-item config:name="DefaultTabStop" config:type="int">1270</config:config-item> <config:config-item-map-indexed config:name="ForbiddenCharacters"> <config:config-item-map-entry> <config:config-item config:name="Language" config:type="string">en</config:config-item> <config:config-item config:name="Country" config:type="string">US</config:config-item> <config:config-item config:name="Variant" config:type="string"/> <config:config-item config:name="BeginLine" config:type="string"/> <config:config-item config:name="EndLine" config:type="string"/> </config:config-item-map-entry> </config:config-item-map-indexed> <config:config-item config:name="GradientTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sog</config:config-item> <config:config-item config:name="HatchTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soh</config:config-item> <config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintBooklet" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintBookletBack" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintBookletFront" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintDate" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintFitPage" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintHiddenPages" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintPageName" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintTilePage" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintTime" config:type="boolean">false</config:config-item> <config:config-item config:name="LineEndTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soe</config:config-item> <config:config-item config:name="MeasureUnit" config:type="short">7</config:config-item> <config:config-item config:name="PageNumberFormat" config:type="int">4</config:config-item> <config:config-item config:name="ParagraphSummation" config:type="boolean">false</config:config-item> <config:config-item config:name="PrintQuality" config:type="int">0</config:config-item> <config:config-item config:name="PrinterName" config:type="string">\\vgritsenkopc2\HP LaserJet 5L</config:config-item> <config:config-item config:name="PrinterSetup" config:type="base64Binary">kgP+/1xcdmdyaXRzZW5rb3BjMlxIUCBMYXNlckpldCA1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2luc3Bvb2wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAEA2AIAAAAAAAAFAAhSAAAEdAAAM1ROVwEACABcXHZncml0c2Vua29wYzJcSFAgTGFzZXJKZXQgNUwAAAEEAAWcADQCQ++ABQEAAQCaCzQIZAABAA8AWAIBAAEAWAIDAAEAQTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAA/////wAAAAAAAAAAAAAAAAAAAABESU5VIgAAADQCAACjWpOwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</config:config-item> <config:config-item config:name="ScaleDenominator" config:type="int">1</config:config-item> <config:config-item config:name="ScaleNumerator" config:type="int">1</config:config-item> </config:config-item-set> </office:settings> </office:document-settings> </zip:entry> <!-- <!DOCTYPE office:document-styles PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="styles.xml" serializer="xml"> <office:document-styles xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:version="1.0"> <office:styles> <draw:marker draw:name="Arrow" svg:viewBox="0 0 20 30" svg:d="m10 0-10 30h20z"/> <style:default-style style:family="graphics"> <style:properties fo:color="#000000" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="24pt" fo:language="en" fo:country="US" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="24pt" style:language-asian="none" style:country-asian="none" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="24pt" style:language-complex="none" style:country-complex="none" style:text-autospace="ideograph-alpha" style:punctuation-wrap="simple" style:line-break="strict"> <style:tab-stops/> </style:properties> </style:default-style> <style:style style:name="standard" style:family="graphics"> <style:properties draw:stroke="solid" svg:stroke-width="0cm" svg:stroke-color="#000000" draw:marker-start-width="0.3cm" draw:marker-start-center="false" draw:marker-end-width="0.3cm" draw:marker-end-center="false" draw:fill="solid" draw:fill-color="#00b8ff" draw:shadow="hidden" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:shadow-color="#808080" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0cm" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="24pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="24pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="24pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" fo:line-height="100%" fo:text-align="start" text:enable-numbering="false" fo:text-indent="0cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="objectwitharrow" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="solid" svg:stroke-width="0.15cm" svg:stroke-color="#000000" draw:marker-start="Arrow" draw:marker-start-width="0.7cm" draw:marker-start-center="true" draw:marker-end-width="0.3cm"/> </style:style> <style:style style:name="objectwithshadow" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:shadow="visible" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:shadow-color="#808080"/> </style:style> <style:style style:name="objectwithoutfill" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:fill="none"/> </style:style> <style:style style:name="text" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none"/> </style:style> <style:style style:name="textbody" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:font-size="16pt"/> </style:style> <style:style style:name="textbodyjustfied" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:text-align="justify"/> </style:style> <style:style style:name="textbodyindent" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0.6cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="-0.6cm" text:min-label-distance="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="title" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:font-size="44pt"/> </style:style> <style:style style:name="title1" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="solid" draw:fill-color="#008080" draw:shadow="visible" draw:shadow-offset-x="0.2cm" draw:shadow-offset-y="0.2cm" draw:shadow-color="#808080" fo:font-size="24pt" fo:text-align="center"/> </style:style> <style:style style:name="title2" style:family="graphics" style:parent-style-name="standard"> <style:properties svg:stroke-width="0.05cm" draw:fill-color="#ffcc99" draw:shadow="visible" draw:shadow-offset-x="0.2cm" draw:shadow-offset-y="0.2cm" draw:shadow-color="#808080" fo:margin-left="0.2cm" fo:margin-right="0.2cm" fo:margin-top="0.1cm" fo:margin-bottom="0.1cm" fo:font-size="36pt" fo:text-align="center" fo:text-indent="0cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties text:space-before="0.2cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="headline" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="24pt"/> </style:style> <style:style style:name="headline1" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="18pt" fo:font-weight="bold"/> </style:style> <style:style style:name="headline2" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="14pt" fo:font-style="italic" fo:font-weight="bold"/> </style:style> <style:style style:name="measure" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="solid" draw:marker-start="Arrow" draw:marker-start-width="0.2cm" draw:marker-end="Arrow" draw:marker-end-width="0.2cm" draw:fill="none" fo:font-size="12pt"/> </style:style> </office:styles> <office:automatic-styles> <style:page-master style:name="PM0"> <style:properties fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" fo:page-width="27.94cm" fo:page-height="21.59cm" style:print-orientation="landscape"/> </style:page-master> <style:page-master style:name="PM1"> <style:properties fo:margin-top="0.423cm" fo:margin-bottom="0.454cm" fo:margin-left="0.635cm" fo:margin-right="0.665cm" fo:page-width="21.59cm" fo:page-height="27.94cm" style:print-orientation="portrait"/> </style:page-master> <style:style style:name="dp1" style:family="drawing-page"> <style:properties draw:background-size="border" draw:fill="none"/> </style:style> </office:automatic-styles> <office:master-styles> <draw:layer-set> <draw:layer draw:name="layout"/> <draw:layer draw:name="background"/> <draw:layer draw:name="backgroundobjects"/> <draw:layer draw:name="controls"/> <draw:layer draw:name="measurelines"/> </draw:layer-set> <style:master-page style:name="Default" style:page-master-name="PM1" draw:style-name="dp1"/> </office:master-styles> </office:document-styles> </zip:entry> <!-- <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> --> <zip:entry name="META-INF/manifest.xml" serializer="xml"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.xml.draw" manifest:full-path="/"/> <manifest:file-entry manifest:media-type="" manifest:full-path="Pictures/"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="settings.xml"/> </manifest:manifest> </zip:entry> </zip:archive> </xsl:template> <xsl:template match="title"> </xsl:template> <xsl:template match="content"> <xsl:apply-templates/> </xsl:template> <xsl:template match="para"> <text:p text:style-name="P1"><xsl:apply-templates/></text:p> </xsl:template> <xsl:template match="@*|node()" priority="-2"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template> <xsl:template match="text()" priority="-1"><xsl:value-of select="."/></xsl:template> </xsl:stylesheet> 1.1 cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2sxi.xsl Index: page2sxi.xsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!--+ | This stylesheets transforms hello world XML page to ZIP serializer's format. | After the serializer, result is an OpenOffice Impress document (sxi). | | @author <a href="mailto:[EMAIL PROTECTED]>Vadim Gritsenko</a> | @version CVS $Id: page2sxi.xsl,v 1.1 2003/05/08 20:42:25 vgritsenko Exp $ +--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:zip="http://apache.org/cocoon/zip-archive/1.0" xmlns:text="http://openoffice.org/2000/text"> <xsl:template match="page"> <zip:archive> <!-- <!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="content.xml" serializer="xml"> <office:document-content xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:class="presentation" office:version="1.0"> <office:script/> <office:automatic-styles> <style:style style:name="dp1" style:family="drawing-page"> <style:properties presentation:background-visible="true" presentation:background-objects-visible="true"/> </style:style> <style:style style:name="gr1" style:family="graphics"> <style:properties draw:size-protect="true"/> </style:style> <style:style style:name="pr1" style:family="presentation" style:parent-style-name="Default-title"> <style:properties draw:fill-color="#ffffff" fo:min-height="3.507cm"/> </style:style> <style:style style:name="pr2" style:family="presentation" style:parent-style-name="Default-subtitle"> <style:properties draw:fill-color="#ffffff" fo:min-height="13.23cm"/> </style:style> <style:style style:name="pr3" style:family="presentation" style:parent-style-name="Default-notes"> <style:properties draw:fill-color="#ffffff" draw:auto-grow-width="true" fo:min-height="10.629cm"/> </style:style> <style:style style:name="P1" style:family="paragraph"> <style:properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm"/> </style:style> <text:list-style style:name="L1"> <text:list-level-style-bullet text:level="1" text:bullet-char=""> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char=""> <style:properties text:space-before="1cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char=""> <style:properties text:space-before="2cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char=""> <style:properties text:space-before="3cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char=""> <style:properties text:space-before="4cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char=""> <style:properties text:space-before="5cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char=""> <style:properties text:space-before="6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char=""> <style:properties text:space-before="7cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char=""> <style:properties text:space-before="8cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char=""> <style:properties text:space-before="9cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> <text:list-style style:name="L2"> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </office:automatic-styles> <office:body> <draw:page draw:name="page1" draw:style-name="dp1" draw:id="1" draw:master-page-name="Default" presentation:presentation-page-layout-name="AL1T0"> <draw:text-box presentation:style-name="pr1" draw:layer="layout" svg:width="23.912cm" svg:height="3.508cm" svg:x="2.058cm" svg:y="1.743cm" presentation:class="title"> <text:p text:style-name="P1"><xsl:value-of select="title"/></text:p> </draw:text-box> <draw:text-box presentation:style-name="pr2" draw:layer="layout" svg:width="23.912cm" svg:height="13.231cm" svg:x="2.058cm" svg:y="5.838cm" presentation:class="subtitle"> <xsl:apply-templates/> </draw:text-box> <presentation:notes> <draw:page-thumbnail draw:style-name="gr1" draw:layer="layout" svg:width="12.768cm" svg:height="9.576cm" svg:x="4.411cm" svg:y="2.794cm" draw:page-number="1" presentation:class="page"/> <draw:text-box presentation:style-name="pr3" draw:text-style-name="P1" draw:layer="layout" svg:width="15.021cm" svg:height="10.63cm" svg:x="3.292cm" svg:y="13.299cm" presentation:class="notes" presentation:placeholder="true"/> </presentation:notes> </draw:page> </office:body> </office:document-content> </zip:entry> <!-- <!DOCTYPE office:document-meta PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="meta.xml" serializer="xml"> <office:document-meta xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:presentation="http://openoffice.org/2000/presentation" office:version="1.0"> <office:meta> <meta:generator>OpenOffice.org 1.0.3 (Win32)</meta:generator> <dc:title><xsl:value-of select="title"/></dc:title> <dc:subject>Cocoon Hello World Sample Document</dc:subject> <meta:creation-date>2003-05-08T08:20:04</meta:creation-date> <dc:date>2003-05-08T08:21:08</dc:date> <dc:language>en-US</dc:language> <meta:editing-cycles>3</meta:editing-cycles> <meta:editing-duration>PT1M40S</meta:editing-duration> <meta:user-defined meta:name="Info 1"/> <meta:user-defined meta:name="Info 2"/> <meta:user-defined meta:name="Info 3"/> <meta:user-defined meta:name="Info 4"/> <meta:document-statistic meta:object-count="12"/> </office:meta> </office:document-meta> </zip:entry> <!-- <!DOCTYPE office:document-settings PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="settings.xml" serializer="xml"> <office:document-settings xmlns:office="http://openoffice.org/2000/office" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:config="http://openoffice.org/2001/config" office:version="1.0"> <office:settings> <config:config-item-set config:name="view-settings"> <config:config-item config:name="VisibleAreaTop" config:type="int">-307</config:config-item> <config:config-item config:name="VisibleAreaLeft" config:type="int">-4295</config:config-item> <config:config-item config:name="VisibleAreaWidth" config:type="int">37118</config:config-item> <config:config-item config:name="VisibleAreaHeight" config:type="int">21742</config:config-item> <config:config-item-map-indexed config:name="Views"> <config:config-item-map-entry> <config:config-item config:name="ViewId" config:type="string">view1</config:config-item> <config:config-item config:name="GridIsVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="GridIsFront" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToGrid" config:type="boolean">false</config:config-item> <config:config-item config:name="IsSnapToPageMargins" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToSnapLines" config:type="boolean">true</config:config-item> <config:config-item config:name="IsSnapToObjectFrame" config:type="boolean">false</config:config-item> <config:config-item config:name="IsSnapToObjectPoints" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPlusHandlesAlwaysVisible" config:type="boolean">false</config:config-item> <config:config-item config:name="IsFrameDragSingles" config:type="boolean">true</config:config-item> <config:config-item config:name="EliminatePolyPointLimitAngle" config:type="int">1500</config:config-item> <config:config-item config:name="IsEliminatePolyPoints" config:type="boolean">false</config:config-item> <config:config-item config:name="VisibleLayers" config:type="base64Binary">//////////////////////////////////////////8=</config:config-item> <config:config-item config:name="PrintableLayers" config:type="base64Binary">//////////////////////////////////////////8=</config:config-item> <config:config-item config:name="LockedLayers" config:type="base64Binary"/> <config:config-item config:name="NoAttribs" config:type="boolean">false</config:config-item> <config:config-item config:name="NoColors" config:type="boolean">true</config:config-item> <config:config-item config:name="RulerIsVisible" config:type="boolean">true</config:config-item> <config:config-item config:name="PageKind" config:type="short">0</config:config-item> <config:config-item config:name="SelectedPage" config:type="short">0</config:config-item> <config:config-item config:name="IsLayerMode" config:type="boolean">false</config:config-item> <config:config-item config:name="IsBigHandles" config:type="boolean">false</config:config-item> <config:config-item config:name="IsDoubleClickTextEdit" config:type="boolean">true</config:config-item> <config:config-item config:name="IsClickChangeRotation" config:type="boolean">false</config:config-item> <config:config-item config:name="SlidesPerRow" config:type="short">4</config:config-item> <config:config-item config:name="DrawMode" config:type="int">0</config:config-item> <config:config-item config:name="PreviewDrawMode" config:type="int">0</config:config-item> <config:config-item config:name="IsShowPreviewInPageMode" config:type="boolean">false</config:config-item> <config:config-item config:name="IsShowPreviewInMasterPageMode" config:type="boolean">true</config:config-item> <config:config-item config:name="SetShowPreviewInOutlineMode" config:type="boolean">true</config:config-item> <config:config-item config:name="EditModeStandard" config:type="int">0</config:config-item> <config:config-item config:name="EditModeNotes" config:type="int">0</config:config-item> <config:config-item config:name="EditModeHandout" config:type="int">1</config:config-item> <config:config-item config:name="VisibleAreaTop" config:type="int">-307</config:config-item> <config:config-item config:name="VisibleAreaLeft" config:type="int">-4295</config:config-item> <config:config-item config:name="VisibleAreaWidth" config:type="int">37119</config:config-item> <config:config-item config:name="VisibleAreaHeight" config:type="int">21743</config:config-item> <config:config-item config:name="GridCoarseWidth" config:type="int">1270</config:config-item> <config:config-item config:name="GridCoarseHeight" config:type="int">1270</config:config-item> <config:config-item config:name="GridFineWidth" config:type="int">635</config:config-item> <config:config-item config:name="GridFineHeight" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidth" config:type="int">1000</config:config-item> <config:config-item config:name="GridSnapHeight" config:type="int">1000</config:config-item> <config:config-item config:name="GridSnapWidthXNumerator" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidthXDenominator" config:type="int">1</config:config-item> <config:config-item config:name="GridSnapWidthYNumerator" config:type="int">635</config:config-item> <config:config-item config:name="GridSnapWidthYDenominator" config:type="int">1</config:config-item> <config:config-item config:name="IsAngleSnapEnabled" config:type="boolean">false</config:config-item> <config:config-item config:name="SnapAngle" config:type="int">1500</config:config-item> <config:config-item config:name="ZoomOnPage" config:type="boolean">true</config:config-item> </config:config-item-map-entry> </config:config-item-map-indexed> </config:config-item-set> <config:config-item-set config:name="configuration-settings"> <config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item> <config:config-item config:name="BitmapTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sob</config:config-item> <config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item> <config:config-item config:name="ColorTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soc</config:config-item> <config:config-item config:name="DashTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sod</config:config-item> <config:config-item config:name="DefaultTabStop" config:type="int">1270</config:config-item> <config:config-item config:name="GradientTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.sog</config:config-item> <config:config-item config:name="HatchTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soh</config:config-item> <config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintBooklet" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintBookletBack" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintBookletFront" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintDate" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintDrawing" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintFitPage" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintHandout" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintHiddenPages" config:type="boolean">true</config:config-item> <config:config-item config:name="IsPrintNotes" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintOutline" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintPageName" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintTilePage" config:type="boolean">false</config:config-item> <config:config-item config:name="IsPrintTime" config:type="boolean">false</config:config-item> <config:config-item config:name="LineEndTableURL" config:type="string">file:///C:/Program%20Files/OpenOffice.org1.0.3/user/config/standard.soe</config:config-item> <config:config-item config:name="PageNumberFormat" config:type="int">4</config:config-item> <config:config-item config:name="ParagraphSummation" config:type="boolean">false</config:config-item> <config:config-item config:name="PrintQuality" config:type="int">0</config:config-item> <config:config-item config:name="PrinterName" config:type="string">\\vgritsenkopc2\HP LaserJet 5L</config:config-item> <config:config-item config:name="PrinterSetup" config:type="base64Binary">kgP+/1xcdmdyaXRzZW5rb3BjMlxIUCBMYXNlckpldCA1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd2luc3Bvb2wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAEA2AIAAAAAAAAFAAhSAAAEdAAAM1ROVwEACABcXHZncml0c2Vua29wYzJcSFAgTGFzZXJKZXQgNUwAAAEEAAWcADQCQ++ABQEAAQCaCzQIZAABAA8AWAIBAAEAWAIDAAEAQTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAABAAAA/////wAAAAAAAAAAAAAAAAAAAABESU5VIgAAADQCAACjWpOwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</config:config-item> </config:config-item-set> </office:settings> </office:document-settings> </zip:entry> <!-- <!DOCTYPE office:document-styles PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd"> --> <zip:entry name="styles.xml" serializer="xml"> <office:document-styles xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:presentation="http://openoffice.org/2000/presentation" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" office:version="1.0"> <office:styles> <draw:marker draw:name="Arrow" svg:viewBox="0 0 20 30" svg:d="m10 0-10 30h20z"/> <style:default-style style:family="graphics"> <style:properties fo:color="#000000" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="24pt" fo:language="en" fo:country="US" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="24pt" style:language-asian="none" style:country-asian="none" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="24pt" style:language-complex="none" style:country-complex="none" style:text-autospace="ideograph-alpha" style:punctuation-wrap="simple" style:line-break="strict"> <style:tab-stops/> </style:properties> </style:default-style> <style:style style:name="standard" style:family="graphics"> <style:properties draw:stroke="solid" svg:stroke-width="0cm" svg:stroke-color="#000000" draw:marker-start-width="0.3cm" draw:marker-start-center="false" draw:marker-end-width="0.3cm" draw:marker-end-center="false" draw:fill="solid" draw:fill-color="#00b8ff" draw:shadow="hidden" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:shadow-color="#808080" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0cm" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="24pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="24pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="24pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" fo:line-height="100%" fo:text-align="start" text:enable-numbering="false" fo:text-indent="0cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="objectwitharrow" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="solid" svg:stroke-width="0.15cm" svg:stroke-color="#000000" draw:marker-start="Arrow" draw:marker-start-width="0.7cm" draw:marker-start-center="true" draw:marker-end-width="0.3cm"/> </style:style> <style:style style:name="objectwithshadow" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:shadow="visible" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:shadow-color="#808080"/> </style:style> <style:style style:name="objectwithoutfill" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:fill="none"/> </style:style> <style:style style:name="text" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none"/> </style:style> <style:style style:name="textbody" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:font-size="16pt"/> </style:style> <style:style style:name="textbodyjustfied" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:text-align="justify"/> </style:style> <style:style style:name="textbodyindent" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0.6cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="-0.6cm" text:min-label-distance="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="title" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:font-size="44pt"/> </style:style> <style:style style:name="title1" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="solid" draw:fill-color="#008080" draw:shadow="visible" draw:shadow-offset-x="0.2cm" draw:shadow-offset-y="0.2cm" draw:shadow-color="#808080" fo:font-size="24pt" fo:text-align="center"/> </style:style> <style:style style:name="title2" style:family="graphics" style:parent-style-name="standard"> <style:properties svg:stroke-width="0.05cm" draw:fill-color="#ffcc99" draw:shadow="visible" draw:shadow-offset-x="0.2cm" draw:shadow-offset-y="0.2cm" draw:shadow-color="#808080" fo:margin-left="0.2cm" fo:margin-right="0.2cm" fo:margin-top="0.1cm" fo:margin-bottom="0.1cm" fo:font-size="36pt" fo:text-align="center" fo:text-indent="0cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties text:space-before="0.2cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="headline" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="24pt"/> </style:style> <style:style style:name="headline1" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="18pt" fo:font-weight="bold"/> </style:style> <style:style style:name="headline2" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-top="0.42cm" fo:margin-bottom="0.21cm" fo:font-size="14pt" fo:font-style="italic" fo:font-weight="bold"/> </style:style> <style:style style:name="measure" style:family="graphics" style:parent-style-name="standard"> <style:properties draw:stroke="solid" draw:marker-start="Arrow" draw:marker-start-width="0.2cm" draw:marker-end="Arrow" draw:marker-end-width="0.2cm" draw:fill="none" fo:font-size="12pt"/> </style:style> <style:style style:name="Default-title" style:family="presentation"> <style:properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="44pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="44pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="44pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" fo:text-align="center" text:enable-numbering="false"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char=""> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char=""> <style:properties text:space-before="1cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char=""> <style:properties text:space-before="2cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char=""> <style:properties text:space-before="3cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char=""> <style:properties text:space-before="4cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char=""> <style:properties text:space-before="5cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char=""> <style:properties text:space-before="6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char=""> <style:properties text:space-before="7cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char=""> <style:properties text:space-before="8cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="10" text:bullet-char=""> <style:properties text:space-before="9cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="Default-subtitle" style:family="presentation"> <style:properties draw:stroke="none" draw:fill="none" draw:textarea-vertical-align="middle" fo:margin-left="0cm" fo:margin-right="0cm" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" fo:text-align="center" text:enable-numbering="false" fo:text-indent="-0.6cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="0.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="●"> <style:properties text:space-before="1.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="1.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="2.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="3.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="4.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="Default-background" style:family="presentation"> <style:properties draw:stroke="none" draw:fill="none"/> </style:style> <style:style style:name="Default-backgroundobjects" style:family="presentation"> <style:properties draw:shadow="hidden" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:shadow-color="#808080"/> </style:style> <style:style style:name="Default-notes" style:family="presentation"> <style:properties draw:stroke="none" draw:fill="none" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="20pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="20pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="20pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" text:enable-numbering="false"/> </style:style> <style:style style:name="Default-outline1" style:family="presentation"> <style:properties draw:stroke="none" draw:fill="none" fo:margin-left="1.2cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.5cm" fo:color="#000000" style:text-outline="false" style:text-crossing-out="none" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable" fo:font-size="32pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline="none" fo:font-weight="normal" style:font-family-asian="'HG Mincho Light J'" style:font-pitch-asian="variable" style:font-size-asian="32pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-family-complex="'Arial Unicode MS'" style:font-pitch-complex="variable" style:font-size-complex="32pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" fo:text-align="start" text:enable-numbering="true" fo:text-indent="-0.9cm"> <text:list-style> <text:list-level-style-bullet text:level="1" text:bullet-char="●"> <style:properties text:space-before="0.3cm" text:min-label-width="0.9cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="2" text:bullet-char="●"> <style:properties text:space-before="1.6cm" text:min-label-width="0.8cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="75%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="3" text:bullet-char="–"> <style:properties text:space-before="3cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/></text:list-level-style-bullet> <text:list-level-style-bullet text:level="4" text:bullet-char="●"> <style:properties text:space-before="4.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="75%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="5" text:bullet-char="●"> <style:properties text:space-before="5.4cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="6" text:bullet-char="●"> <style:properties text:space-before="6.6cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="7" text:bullet-char="●"> <style:properties text:space-before="7.8cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="8" text:bullet-char="●"> <style:properties text:space-before="9cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> <text:list-level-style-bullet text:level="9" text:bullet-char="●"> <style:properties text:space-before="10.2cm" text:min-label-width="0.6cm" fo:font-family="StarSymbol" fo:color="#000000" fo:font-size="45%"/> </text:list-level-style-bullet> </text:list-style> </style:properties> </style:style> <style:style style:name="Default-outline2" style:family="presentation" style:parent-style-name="Default-outline1"> <style:properties fo:margin-left="2.4cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.4cm" fo:font-size="28pt" style:font-size-asian="28pt" style:font-size-complex="28pt" fo:text-indent="-0.8cm"/> </style:style> <style:style style:name="Default-outline3" style:family="presentation" style:parent-style-name="Default-outline2"> <style:properties fo:margin-left="3.6cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.3cm" fo:font-size="24pt" style:font-size-asian="24pt" style:font-size-complex="24pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline4" style:family="presentation" style:parent-style-name="Default-outline3"> <style:properties fo:margin-left="4.8cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.2cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline5" style:family="presentation" style:parent-style-name="Default-outline4"> <style:properties fo:margin-left="6cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.1cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline6" style:family="presentation" style:parent-style-name="Default-outline5"> <style:properties fo:margin-left="7.2cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.1cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline7" style:family="presentation" style:parent-style-name="Default-outline6"> <style:properties fo:margin-left="8.4cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.1cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline8" style:family="presentation" style:parent-style-name="Default-outline7"> <style:properties fo:margin-left="9.6cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.1cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:style style:name="Default-outline9" style:family="presentation" style:parent-style-name="Default-outline8"> <style:properties fo:margin-left="10.8cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0.1cm" fo:font-size="20pt" style:font-size-asian="20pt" style:font-size-complex="20pt" fo:text-indent="-0.6cm"/> </style:style> <style:presentation-page-layout style:name="AL0T25"> <presentation:placeholder presentation:object="handout" svg:x="2.058cm" svg:y="1.743cm" svg:width="10.556cm" svg:height="0.703cm"/> <presentation:placeholder presentation:object="handout" svg:x="15.414cm" svg:y="1.743cm" svg:width="10.556cm" svg:height="0.703cm"/> <presentation:placeholder presentation:object="handout" svg:x="2.058cm" svg:y="4.546cm" svg:width="10.556cm" svg:height="0.703cm"/> <presentation:placeholder presentation:object="handout" svg:x="15.414cm" svg:y="4.546cm" svg:width="10.556cm" svg:height="0.703cm"/> </style:presentation-page-layout> <style:presentation-page-layout style:name="AL1T0"> <presentation:placeholder presentation:object="title" svg:x="2.058cm" svg:y="1.743cm" svg:width="23.912cm" svg:height="3.507cm"/> <presentation:placeholder presentation:object="subtitle" svg:x="2.058cm" svg:y="5.838cm" svg:width="23.912cm" svg:height="13.23cm"/> </style:presentation-page-layout> </office:styles> <office:automatic-styles> <style:page-master style:name="PM0"> <style:properties fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" fo:page-width="27.94cm" fo:page-height="21.59cm" style:print-orientation="landscape"/> </style:page-master> <style:page-master style:name="PM1"> <style:properties fo:margin-top="0cm" fo:margin-bottom="0cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:page-width="28cm" fo:page-height="21cm" style:print-orientation="landscape"/> </style:page-master> <style:page-master style:name="PM2"> <style:properties fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" fo:page-width="21.59cm" fo:page-height="27.94cm" style:print-orientation="portrait"/> </style:page-master> <style:style style:name="dp1" style:family="drawing-page"> <style:properties draw:background-size="border" draw:fill="none"/> </style:style> </office:automatic-styles> <office:master-styles> <draw:layer-set> <draw:layer draw:name="layout"/> <draw:layer draw:name="background"/> <draw:layer draw:name="backgroundobjects"/> <draw:layer draw:name="controls"/> <draw:layer draw:name="measurelines"/> </draw:layer-set> <style:handout-master presentation:presentation-page-layout-name="AL0T25" style:page-master-name="PM0"> <draw:page-thumbnail draw:layer="backgroundobjects" svg:width="10.393cm" svg:height="7.795cm" svg:x="2.19cm" svg:y="2cm" draw:page-number="1"/> <draw:page-thumbnail draw:layer="backgroundobjects" svg:width="10.393cm" svg:height="7.795cm" svg:x="15.357cm" svg:y="2cm" draw:page-number="2"/> <draw:page-thumbnail draw:layer="backgroundobjects" svg:width="10.393cm" svg:height="7.795cm" svg:x="2.19cm" svg:y="11.795cm" draw:page-number="3"/> <draw:page-thumbnail draw:layer="backgroundobjects" svg:width="10.393cm" svg:height="7.795cm" svg:x="15.357cm" svg:y="11.795cm" draw:page-number="4"/> </style:handout-master> <style:master-page style:name="Default" style:page-master-name="PM1" draw:style-name="dp1"> <draw:text-box presentation:style-name="Default-title" draw:layer="backgroundobjects" svg:width="23.912cm" svg:height="3.507cm" svg:x="2.058cm" svg:y="1.743cm" presentation:class="title" presentation:placeholder="true"/> <draw:text-box presentation:style-name="Default-outline1" draw:layer="backgroundobjects" svg:width="23.912cm" svg:height="13.23cm" svg:x="2.058cm" svg:y="5.838cm" presentation:class="outline" presentation:placeholder="true"/> <presentation:notes style:page-master-name="PM2"> <draw:page-thumbnail presentation:style-name="Default-title" draw:layer="backgroundobjects" svg:width="12.768cm" svg:height="9.576cm" svg:x="4.411cm" svg:y="2.794cm" presentation:class="page"/> <draw:text-box presentation:style-name="Default-notes" draw:layer="backgroundobjects" svg:width="15.021cm" svg:height="10.629cm" svg:x="3.292cm" svg:y="13.299cm" presentation:class="notes" presentation:placeholder="true"/> </presentation:notes> </style:master-page> </office:master-styles> </office:document-styles> </zip:entry> <!-- <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> --> <zip:entry name="META-INF/manifest.xml" serializer="xml"> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.xml.impress" manifest:full-path="/"/> <manifest:file-entry manifest:media-type="" manifest:full-path="Pictures/"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/> <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="settings.xml"/> </manifest:manifest> </zip:entry> </zip:archive> </xsl:template> <xsl:template match="title"> </xsl:template> <xsl:template match="content"> <xsl:apply-templates/> </xsl:template> <xsl:template match="para"> <text:p text:style-name="P1"><xsl:apply-templates/></text:p> </xsl:template> <xsl:template match="@*|node()" priority="-2"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template> <xsl:template match="text()" priority="-1"><xsl:value-of select="."/></xsl:template> </xsl:stylesheet> 1.3 +13 -6 cocoon-2.1/src/java/org/apache/cocoon/serialization/ZipArchiveSerializer.java Index: ZipArchiveSerializer.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/serialization/ZipArchiveSerializer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ZipArchiveSerializer.java 8 May 2003 05:05:22 -0000 1.2 +++ ZipArchiveSerializer.java 8 May 2003 20:42:38 -0000 1.3 @@ -100,7 +100,7 @@ * </zip:entry> * </zip:archive:zip> * </pre> - * + * * @author <a href="http://www.apache.org/~sylvain">Sylvain Wallez</a> * @version CVS $Id$ */ @@ -108,12 +108,12 @@ // TODO (1) : handle more attributes on <archive> for properties of ZipOutputStream // such as comment or default compression method and level -// TODO (2) : handle more attributes on <entry> for properties of ZipEntry +// TODO (2) : handle more attributes on <entry> for properties of ZipEntry // (compression method and level, time, comment, etc.) public class ZipArchiveSerializer extends AbstractSerializer implements Composable { /** - * The namespace for elements handled by this serializer, + * The namespace for elements handled by this serializer, * "http://apache.org/cocoon/zip-archive/1.0". */ public static final String ZIP_NAMESPACE = "http://apache.org/cocoon/zip-archive/1.0"; @@ -163,10 +163,17 @@ } /** - * Always return "application/x-zip" which is the default for Zip archives. + * Returns null. */ public String getMimeType() { - return "application/x-zip"; + // FIXME: There are many applications of Zip serializer, and one of them to generate + // OpenOffice documents, which have different mime type than "application/x-zip". + // Problem is that constant returned here can not be overriden in the sitemap neither + // when declaring serializer, nor when using it. + // Bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10277 might be related to this issue. + // WAS HERE: Always return "application/x-zip" which is the default for Zip archives + // return "application/x-zip"; + return null; } /**