Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/include_styles.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/include_styles.xml?rev=700038&r1=700037&r2=700038&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/include_styles.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/include_styles.xml Mon Sep 29 02:55:55 2008 @@ -1,123 +1,188 @@ - <office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" - xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" - xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" - xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" - xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" - xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" - xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" - xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" - xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" - xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" - xmlns:math="http://www.w3.org/1998/Math/MathML" - xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" - xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" - xmlns:ooo="http://openoffice.org/2004/office" - xmlns:ooow="http://openoffice.org/2004/writer" - xmlns:oooc="http://openoffice.org/2004/calc" - xmlns:dom="http://www.w3.org/2001/xml-events" office:version="1.1"> - <office:font-face-decls> - <style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/> - <style:font-face style:name="Times New Roman" svg:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/> - <style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/> - <style:font-face style:name="Lucida Sans Unicode" svg:font-family="'Lucida Sans Unicode'" style:font-family-generic="system" style:font-pitch="variable"/> - <style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/> - </office:font-face-decls> - <office:styles> - <style:default-style style:family="graphic"> - <style:graphic-properties draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/> - <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false"> - <style:tab-stops/> - </style:paragraph-properties> - <style:text-properties style:use-window-font-color="true" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none"/> - </style:default-style> - <style:default-style style:family="paragraph"> - <style:paragraph-properties fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/> - <style:text-properties style:use-window-font-color="true" style:font-name="Times New Roman" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-name-complex="Tahoma" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/> - </style:default-style> - <style:default-style style:family="table"> - <style:table-properties table:border-model="collapsing"/> - </style:default-style> - <style:default-style style:family="table-row"> - <style:table-row-properties fo:keep-together="auto"/> - </style:default-style> - <style:style style:name="Standard" style:family="paragraph" style:class="text"/> - <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text"> - <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/> - <style:text-properties style:font-name="Arial" fo:font-size="14pt" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="14pt" style:font-name-complex="Tahoma" style:font-size-complex="14pt"/> - </style:style> - <style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text"> - <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.212cm"/> - </style:style> - <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list"> - <style:text-properties style:font-name-complex="Tahoma1"/> - </style:style> - <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> - <style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" text:number-lines="false" text:line-number="0"/> - <style:text-properties fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-name-complex="Tahoma1" style:font-size-complex="12pt" style:font-style-complex="italic"/> - </style:style> - <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index"> - <style:paragraph-properties text:number-lines="false" text:line-number="0"/> - <style:text-properties style:font-name-complex="Tahoma1"/> - </style:style> - <style:style style:name="Emphasis" style:family="text"> - <style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/> - </style:style> - <style:style style:name="Source_20_Text" style:display-name="Source Text" style:family="text"> - <style:text-properties style:font-name="DejaVu Sans Mono" style:font-name-asian="DejaVu Sans Mono" style:font-name-complex="DejaVu Sans Mono"/> - </style:style> - <style:style style:name="Strong_20_Text" style:display-name="Strong Text" style:family="text"> - <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/> - </style:style> - - <text:outline-style> - <text:outline-level-style text:level="1" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="2" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="3" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="4" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="5" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="6" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="7" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="8" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="9" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - <text:outline-level-style text:level="10" style:num-format=""> - <style:list-level-properties text:min-label-distance="0.381cm"/> - </text:outline-level-style> - </text:outline-style> - <text:notes-configuration text:note-class="footnote" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/> - <text:notes-configuration text:note-class="endnote" style:num-format="i" text:start-value="0"/> - <text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/> - </office:styles> - <office:automatic-styles> - <style:page-layout style:name="pm1"> - <style:page-layout-properties fo:page-width="20.999cm" fo:page-height="29.699cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm"> - <style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:adjustment="left" style:rel-width="25%" style:color="#000000"/> - </style:page-layout-properties> - <style:header-style/> - <style:footer-style/> - </style:page-layout> - </office:automatic-styles> - <office:master-styles> - <style:master-page style:name="Standard" style:page-layout-name="pm1"/> - </office:master-styles> - </office:document-styles> +<?xml version="1.0" encoding="UTF-8"?> +<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" +xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" +xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" +xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" +xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" +xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" +xmlns:xlink="http://www.w3.org/1999/xlink" +xmlns:dc="http://purl.org/dc/elements/1.1/" +xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" +xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" +xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" +xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" +xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" +xmlns:math="http://www.w3.org/1998/Math/MathML" +xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" +xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" +xmlns:ooo="http://openoffice.org/2004/office" +xmlns:ooow="http://openoffice.org/2004/writer" +xmlns:oooc="http://openoffice.org/2004/calc" +xmlns:dom="http://www.w3.org/2001/xml-events" office:version="1.0"> +<office:font-face-decls> +<style:font-face style:name="Frutiger Linotype" svg:font-family="'Frutiger Linotype'"/><style:font-face style:name="StarSymbol" svg:font-family="StarSymbol"/> +<style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/> +<style:font-face style:name="Times New Roman1" svg:font-family="'Times New Roman'"/> +<style:font-face style:name="Century Schoolbook" svg:font-family="'Century Schoolbook'" style:font-adornments="Bold" style:font-family-generic="roman" style:font-pitch="variable"/> +<style:font-face style:name="Times New Roman2" svg:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/> +<style:font-face style:name="Times New Roman" svg:font-family="'Times New Roman'" style:font-adornments="Regular" style:font-family-generic="roman" style:font-pitch="variable"/> +<style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/> +<style:font-face style:name="Frutiger LT Std 55 Roman" svg:font-family="'Frutiger LT Std 55 Roman'" style:font-family-generic="swiss" style:font-pitch="variable"/> +<style:font-face style:name="Lucida Sans Unicode" svg:font-family="'Lucida Sans Unicode'" style:font-family-generic="system" style:font-pitch="variable"/> +<style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/> +</office:font-face-decls> +<office:styles> +<style:default-style style:family="graphic"> +<style:graphic-properties draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/> +<style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false"> +<style:tab-stops/> +</style:paragraph-properties> +<style:text-properties style:use-window-font-color="true" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none"/> +</style:default-style> +<style:default-style style:family="paragraph"> +<style:paragraph-properties fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/> +<style:text-properties style:use-window-font-color="true" style:font-name="Frutiger Linotype" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-name-complex="Tahoma" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/> +</style:default-style> +<style:default-style style:family="table"> +<style:table-properties table:border-model="collapsing"/> +</style:default-style> +<style:default-style style:family="table-row"> +<style:table-row-properties fo:keep-together="auto"/> +</style:default-style> +<style:style style:name="Standard" style:family="paragraph" style:class="text"/> +<style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text" style:master-page-name=""> +<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.212cm" fo:hyphenation-ladder-count="no-limit" style:register-true="true"/> +<style:text-properties style:font-name="Times New Roman" fo:hyphenate="true" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/> +</style:style><style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text"> +<style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/> +<style:text-properties style:font-name="Arial" fo:font-size="14pt" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="14pt" style:font-name-complex="Tahoma" style:font-size-complex="14pt"/> +</style:style> +<style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:class="text" style:master-page-name="" style:default-outline-level="1"> +<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/> +<style:text-properties style:font-name="Century Schoolbook" fo:font-size="115%" fo:font-weight="bold" style:font-size-asian="115%" style:font-weight-asian="bold" style:font-size-complex="115%" style:font-weight-complex="bold"/> +</style:style> +<style:style style:name="Heading_20_2" style:display-name="Heading 2" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:class="text" style:master-page-name="" style:default-outline-level="2"> +<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/> +<style:text-properties style:font-name="Times New Roman" fo:font-size="18pt" fo:font-weight="normal" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="18pt" style:font-weight-asian="bold" style:font-name-complex="Tahoma" style:font-size-complex="18pt" style:font-weight-complex="bold"/> +</style:style> +<style:style style:name="Heading_20_3" style:display-name="Heading 3" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:class="text" style:default-outline-level="3"> +<style:text-properties style:font-name="Times New Roman2" fo:font-size="14pt" fo:font-weight="bold" style:font-name-asian="Lucida Sans Unicode" style:font-size-asian="14pt" style:font-weight-asian="bold" style:font-name-complex="Tahoma" style:font-size-complex="14pt" style:font-weight-complex="bold"/> +</style:style> +<style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list"> +<style:text-properties style:font-name="Times New Roman1" style:font-name-complex="Tahoma1"/> +</style:style> +<style:style style:name="Header" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> +<style:paragraph-properties text:number-lines="false" text:line-number="0"> +<style:tab-stops> +<style:tab-stop style:position="9.095cm" style:type="center"/> +<style:tab-stop style:position="18.189cm" style:type="right"/> +</style:tab-stops> +</style:paragraph-properties> +</style:style> +<style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> +<style:paragraph-properties text:number-lines="false" text:line-number="0"> +<style:tab-stops> +<style:tab-stop style:position="9.095cm" style:type="center"/> +<style:tab-stop style:position="18.189cm" style:type="right"/> +</style:tab-stops> +</style:paragraph-properties> +</style:style> +<style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> +<style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" text:number-lines="false" text:line-number="0"/> +<style:text-properties style:font-name="Times New Roman1" fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-name-complex="Tahoma1" style:font-size-complex="12pt" style:font-style-complex="italic"/> +</style:style> +<style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index"> +<style:paragraph-properties text:number-lines="false" text:line-number="0"/> +<style:text-properties style:font-name="Times New Roman1" style:font-name-complex="Tahoma1"/> +</style:style> +<style:style style:name="Horizontal_20_Line" style:display-name="Horizontal Line" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="html"> +<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.499cm" style:border-line-width-bottom="0.002cm 0.035cm 0.002cm" fo:padding="0cm" fo:border-left="none" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.039cm double #808080" text:number-lines="false" text:line-number="0" style:join-border="false"/> +<style:text-properties fo:font-size="6pt" style:font-size-asian="6pt" style:font-size-complex="6pt"/> +</style:style> +<style:style style:name="List_20_Contents" style:display-name="List Contents" style:family="paragraph" style:parent-style-name="Standard" style:class="html"> +<style:paragraph-properties fo:margin-left="1cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"/> +</style:style> +<style:style style:name="List_20_Heading" style:display-name="List Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="List_20_Contents" style:class="html"> +<style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"/> +</style:style> +<style:style style:name="Bullet_20_Symbols" style:display-name="Bullet Symbols" style:family="text"> +<style:text-properties style:font-name="StarSymbol" fo:font-size="9pt" style:font-name-asian="StarSymbol" style:font-size-asian="9pt" style:font-name-complex="StarSymbol" style:font-size-complex="9pt"/> +</style:style> +<style:style style:name="Internet_20_link" style:display-name="Internet link" style:family="text"> +<style:text-properties fo:color="#000080" style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="font-color"/> +</style:style> +<style:style style:name="Emphasis" style:family="text"> +<style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/> +</style:style> +<style:style style:name="Strong_20_Emphasis" style:display-name="Strong Emphasis" style:family="text"> +<style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/> +</style:style> +<text:outline-style> +<text:outline-level-style text:level="1" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="2" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="3" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="4" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="5" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="6" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="7" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="8" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="9" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +<text:outline-level-style text:level="10" style:num-format=""> +<style:list-level-properties text:min-label-distance="0.381cm"/> +</text:outline-level-style> +</text:outline-style> +<text:notes-configuration text:note-class="footnote" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/> +<text:notes-configuration text:note-class="endnote" style:num-format="i" text:start-value="0"/> +<text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/> +</office:styles> +<office:automatic-styles> +<style:page-layout style:name="pm1"> +<style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="1.3cm" fo:margin-bottom="0.801cm" fo:margin-left="1.402cm" fo:margin-right="1.409cm" style:shadow="none" fo:background-color="transparent" style:writing-mode="lr-tb" style:footnote-max-height="0cm"> +<!-- FIXME: Below backgroun image is hard coded, should make that configurable and optional --> +<style:background-image xlink:href="Pictures/osswatch_background.png" xlink:type="simple" xlink:actuate="onLoad" style:repeat="stretch"/> +<style:columns fo:column-count="2"> +<style:column-sep style:width="0.002cm" style:color="#000000" style:height="100%"/> +<style:column style:rel-width="5164*" fo:start-indent="0cm" fo:end-indent="0.049cm"/> +<style:column style:rel-width="5147*" fo:start-indent="0.049cm" fo:end-indent="0cm"/> +</style:columns> +<style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:adjustment="left" style:rel-width="25%" style:color="#000000"/> +</style:page-layout-properties> +<style:header-style> +<style:header-footer-properties fo:min-height="5.6cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-bottom="0cm" style:shadow="none" fo:background-color="transparent" style:dynamic-spacing="false"> +<style:background-image/> +</style:header-footer-properties> +</style:header-style> +<style:footer-style> +<style:header-footer-properties fo:min-height="1cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" style:dynamic-spacing="false"/> +</style:footer-style> +</style:page-layout> +</office:automatic-styles> +<office:master-styles> +<style:master-page style:name="Standard" style:page-layout-name="pm1"> +<style:header> +<text:p text:style-name="Header"/> +</style:header> +<style:footer> +<text:p text:style-name="Footer"/> +</style:footer> +</style:master-page> +</office:master-styles> +</office:document-styles> \ No newline at end of file
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/xdoc-to-odt.xsl URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/xdoc-to-odt.xsl?rev=700038&r1=700037&r2=700038&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/xdoc-to-odt.xsl (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.OOo/resources/stylesheets/xdoc-to-odt.xsl Mon Sep 29 02:55:55 2008 @@ -68,6 +68,39 @@ <xsl:template match="body"> <xsl:apply-templates/> </xsl:template> + <!-- work on the TOC stuff here --> + <!-- <xsl:variable name="config" select="//skinconfig"/> + <xsl:variable name="minitoc-location" select="//skinconfig/toc/@location"/> + <xsl:template match="[EMAIL PROTECTED]'skinconf-toc-page']"> + <xsl:if test="$config/toc"> + <xsl:if test="contains($minitoc-location,'page')"> + <xsl:if test="(count(//tocitems/tocitem) >= $config/toc/@min-sections) or (//tocitems/@force = 'true')"> + <xsl:call-template name="minitoc"> + <xsl:with-param name="tocroot" select="//tocitems"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:if> + </xsl:template> + <xsl:template name="minitoc"> + <xsl:param name="tocroot"/> + <xsl:if test="(count($tocroot/tocitem) >= $config/toc/@min-sections) or ($tocroot/@force = 'true')"> + <xsl:if test="contains($config/toc/@location,'page')"> + <ul class="minitoc"> + <xsl:for-each select="$tocroot/tocitem"> + <li><a href="[EMAIL PROTECTED]"> + <xsl:value-of select="@title"/></a> + <xsl:if test="@level<//skinconfig/toc/@max-depth+1"> + <xsl:call-template name="minitoc"> + <xsl:with-param name="tocroot" select="."/> + </xsl:call-template> + </xsl:if></li> + </xsl:for-each> + </ul> + </xsl:if> + </xsl:if> + </xsl:template>--> + <!-- work on the TOC stuff ends --> <xsl:template match="section"> <xsl:apply-templates/> </xsl:template> @@ -148,8 +181,8 @@ <xsl:attribute name="draw:z-index">0</xsl:attribute> <!-- FIXME: See FOR-1098 - The svg attributes below are being ignored. --> <xsl:attribute name="svg:y">0cm</xsl:attribute> - <xsl:attribute name="svg:width"><xsl:value-of select="@width div 36"/>cm</xsl:attribute> - <xsl:attribute name="svg:height"><xsl:value-of select="@height div 36"/>cm</xsl:attribute> + <xsl:attribute name="svg:width"><xsl:value-of select="../width div 36"/>cm</xsl:attribute> + <xsl:attribute name="svg:height"><xsl:value-of select="../height div 36"/>cm</xsl:attribute> <xsl:call-template name="drawImage"/> </draw:frame> <xsl:apply-templates/> @@ -202,6 +235,12 @@ </xsl:attribute> </zip:entry> </xsl:for-each> + <!-- Add default background image --> + <zip:entry> + <xsl:attribute name="name">Pictures/osswatch_background.png</xsl:attribute> + <xsl:attribute name="src">resources/images/osswatch_background.png</xsl:attribute> + <!-- FIXME: Would like to use project images dir, how to configure for that ? --> + </zip:entry> </xsl:template> <!-- 'filename' template returns just file.txt from a path such