templates/ssm.odt.xsl
author František Kučera <franta-hg@frantovo.cz>
Wed, 02 Oct 2019 22:28:55 +0200
branchv_0
changeset 43 1f52b8493268
parent 36 9e5c3383ba50
child 49 1dc027689f93
permissions -rw-r--r--
link GNU Coding Standards and Information for Maintainers of GNU Software Add links to compatible and relevant rules in GNU. Thanks to Félicien Pillot for bringing this idea and finding some matching rules: https://lists.globalcode.info/mailman3/hyperkitty/list/sane-software@lists.globalcode.info/thread/LVFFEQREQ2LBZGWVJIFTZE2QV3AGF5RO/
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
<!--
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
	Sane Software Manifesto helper tools
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
	Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
    This program is free software: you can redistribute it and/or modify
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
    it under the terms of the GNU General Public License as published by
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
    the Free Software Foundation, version 3.
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
    This program is distributed in the hope that it will be useful,
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
    GNU General Public License for more details.
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
	You should have received a copy of the GNU General Public License
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
	along with this program.  If not, see <https://www.gnu.org/licenses/>.
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
-->
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
<xsl:stylesheet 
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
	version="1.0"
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    20
	xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" 
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    21
	xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    22
	xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    23
	xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" 
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    24
	xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    25
	xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
	xmlns:m="tag:globalcode.info,2019:sane-software/manifesto"
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
	xmlns:fn="http://www.w3.org/2005/xpath-functions"
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
	xsi:schemaLocation="tag:globalcode.info,2019:sane-software/manifesto ssm.xsd"
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    32
	exclude-result-prefixes="fn m xs xsi">
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
	<xsl:output 
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
		method="xml" 
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    36
		indent="yes" 
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    37
		encoding="UTF-8"/>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
		
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
	<xsl:template match="/m:manifesto">
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    40
		<office:document office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    41
			<xsl:call-template name="styles"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    42
			<office:body>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    43
				<office:text>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    44
					<text:p text:style-name="Title">
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    45
						<xsl:value-of select="m:title"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    46
					</text:p>
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    47
					<!-- TODO: remove hardcoded warning, use version from mercurial -->
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    48
					<text:p text:style-name="Subtitle">&lt;DRAFT&gt; Please note that this is a draft version. Stay tuned for v1.0.0! &lt;/DRAFT&gt;</text:p>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    49
					<text:p text:style-name="Paragraph">
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    50
						<xsl:value-of select="m:preamble"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    51
					</text:p>
29
5ed5b68408e4 CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents: 25
diff changeset
    52
					<xsl:apply-templates select="m:chapter"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    53
				</office:text>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    54
			</office:body>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    55
		</office:document>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    56
	</xsl:template>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    57
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    58
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    59
	<xsl:template match="m:chapter">
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    60
		<text:h text:style-name="Heading_1" text:outline-level="1">
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    61
			<xsl:value-of select="m:name"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    62
		</text:h>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    63
		<text:list text:style-name="List_1">
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    64
			<xsl:apply-templates select="m:item"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    65
		</text:list>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    66
	</xsl:template>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    67
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    68
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    69
	<xsl:template match="m:item">
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    70
		<text:list-item>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    71
			<text:p>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    72
				<xsl:apply-templates select="m:text"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    73
			</text:p>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    74
			
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    75
			<xsl:if test="m:item">
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    76
				<text:list text:style-name="List_1">
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    77
					<xsl:apply-templates select="m:item"/>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    78
				</text:list>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    79
			</xsl:if>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    80
			
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    81
		</text:list-item>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    82
	</xsl:template>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    83
	
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    84
	<xsl:template match="m:text">
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    85
		<xsl:apply-templates/>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    86
		<xsl:text>&#10;</xsl:text>
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    87
	</xsl:template>
36
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    88
	
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    89
	<xsl:template name="styles">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    90
		<office:font-face-decls>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    91
			<style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol" style:font-charset="x-symbol"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    92
			<style:font-face style:name="Sawasdee" svg:font-family="Sawasdee" style:font-adornments="Tučné" style:font-pitch="variable"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    93
			<style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    94
			<style:font-face style:name="Lohit Devanagari" svg:font-family="&apos;Lohit Devanagari&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    95
			<style:font-face style:name="Noto Sans CJK SC" svg:font-family="&apos;Noto Sans CJK SC&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    96
		</office:font-face-decls>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    97
	
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    98
		<office:styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
    99
			<style:default-style style:family="paragraph">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   100
				<style:paragraph-properties fo:orphans="2" fo:widows="2" 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"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   101
				<style:text-properties style:use-window-font-color="true" style:font-name="Liberation Sans" fo:font-size="12pt" fo:language="cs" fo:country="CZ" style:letter-kerning="true" style:font-name-asian="Noto Sans CJK SC" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Lohit Devanagari" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   102
			</style:default-style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   103
			<style:style style:name="Standard" style:family="paragraph" style:class="text">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   104
				<style:paragraph-properties fo:text-align="justify" style:justify-single-word="false"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   105
				<style:text-properties style:font-size-asian="10.5pt"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   106
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   107
			<style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Paragraph" style:class="text">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   108
				<style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:keep-with-next="always"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   109
				<style:text-properties style:font-name="Liberation Sans" fo:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt" style:font-name-asian="Noto Sans CJK SC" style:font-family-asian="&apos;Noto Sans CJK SC&apos;" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="14pt" style:font-name-complex="Lohit Devanagari" style:font-family-complex="&apos;Lohit Devanagari&apos;" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="14pt"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   110
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   111
			<style:style style:name="Paragraph" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   112
				<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.247cm" loext:contextual-spacing="false" fo:line-height="115%"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   113
				<style:text-properties style:font-name="Liberation Sans" fo:font-family="&apos;Liberation Sans&apos;" style:font-style-name="Běžné" style:font-family-generic="swiss" style:font-pitch="variable" style:font-size-asian="10.5pt"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   114
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   115
			<style:style style:name="Title" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:class="chapter">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   116
				<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   117
				<style:text-properties style:font-name="Sawasdee" fo:font-family="Sawasdee" style:font-style-name="Tučné" style:font-pitch="variable" fo:font-size="28pt" fo:font-weight="bold" style:font-size-asian="28pt" style:font-weight-asian="bold" style:font-size-complex="28pt" style:font-weight-complex="bold"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   118
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   119
			<style:style style:name="Subtitle" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:class="chapter">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   120
				<style:paragraph-properties fo:margin-top="0.106cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:text-align="center" style:justify-single-word="false"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   121
				<style:text-properties fo:font-size="10pt" style:font-size-asian="18pt" style:font-size-complex="18pt"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   122
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   123
			<style:style style:name="Heading_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:default-outline-level="1" style:class="text">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   124
				<style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   125
				<style:text-properties style:font-name="Sawasdee" fo:font-family="Sawasdee" style:font-style-name="Tučné" style:font-pitch="variable" fo:font-size="130%" fo:font-weight="bold" style:font-size-asian="130%" style:font-weight-asian="bold" style:font-size-complex="130%" style:font-weight-complex="bold"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   126
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   127
			<style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   128
				<style:paragraph-properties text:number-lines="false" text:line-number="0">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   129
					<style:tab-stops>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   130
						<style:tab-stop style:position="8.5cm" style:type="center"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   131
						<style:tab-stop style:position="17cm" style:type="right"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   132
					</style:tab-stops>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   133
				</style:paragraph-properties>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   134
				<style:text-properties fo:font-size="6pt"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   135
			</style:style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   136
		
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   137
			<style:style style:name="Numbering_20_Symbols" style:display-name="Numbering Symbols" style:family="text"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   138
			<text:list-style style:name="List_1" style:display-name="List 1">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   139
				<text:list-level-style-bullet text:level="1" text:style-name="Numbering_20_Symbols" text:bullet-char="•">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   140
					<style:list-level-properties text:list-level-position-and-space-mode="label-alignment">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   141
						<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.4cm" fo:text-indent="-0.4cm" fo:margin-left="0.4cm"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   142
					</style:list-level-properties>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   143
					<style:text-properties style:font-name="OpenSymbol"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   144
				</text:list-level-style-bullet>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   145
				<text:list-level-style-bullet text:level="2" text:style-name="Numbering_20_Symbols" text:bullet-char="•">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   146
					<style:list-level-properties text:list-level-position-and-space-mode="label-alignment">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   147
						<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.801cm" fo:text-indent="-0.4cm" fo:margin-left="0.801cm"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   148
					</style:list-level-properties>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   149
					<style:text-properties style:font-name="OpenSymbol"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   150
				</text:list-level-style-bullet>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   151
				<text:list-level-style-bullet text:level="3" text:style-name="Numbering_20_Symbols" text:bullet-char="•">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   152
					<style:list-level-properties text:list-level-position-and-space-mode="label-alignment">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   153
						<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.199cm" fo:text-indent="-0.4cm" fo:margin-left="1.199cm"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   154
					</style:list-level-properties>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   155
					<style:text-properties style:font-name="OpenSymbol"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   156
				</text:list-level-style-bullet>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   157
			</text:list-style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   158
		
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   159
			<text:notes-configuration text:note-class="footnote" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   160
			<text:notes-configuration text:note-class="endnote" style:num-format="i" text:start-value="0"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   161
		
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   162
		</office:styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   163
	
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   164
		<office:automatic-styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   165
			<style:page-layout style:name="pm1">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   166
				<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="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20" style:layout-grid-base-height="0.706cm" style:layout-grid-ruby-height="0.353cm" style:layout-grid-mode="none" style:layout-grid-ruby-below="false" style:layout-grid-print="false" style:layout-grid-display="false" style:footnote-max-height="0cm">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   167
					<style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:line-style="solid" style:adjustment="left" style:rel-width="25%" style:color="#000000"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   168
				</style:page-layout-properties>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   169
				<style:header-style/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   170
				<style:footer-style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   171
					<style:header-footer-properties fo:min-height="0cm" fo:margin-top="0.2cm"/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   172
				</style:footer-style>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   173
			</style:page-layout>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   174
		</office:automatic-styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   175
	
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   176
		<office:master-styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   177
			<style:master-page style:name="Standard" style:page-layout-name="pm1">
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   178
				<style:footer>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   179
					<!-- TODO: move license information to XML file -->
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   180
					<text:p text:style-name="Footer">Sane Software Manifesto &lt;https://sane-software.globalcode.info/&gt; Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) CC-BY-ND<text:tab/>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   181
						<text:page-number text:select-page="current">1</text:page-number> / <text:page-count>1</text:page-count>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   182
					</text:p>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   183
				</style:footer>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   184
			</style:master-page>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   185
		</office:master-styles>
9e5c3383ba50 add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents: 30
diff changeset
   186
	</xsl:template>
15
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
   187
96fc2f42b1e1 conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
   188
</xsl:stylesheet>