equal
deleted
inserted
replaced
1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- |
2 <!-- |
3 Sane Software Manifesto helper tools |
3 Sane software manifesto helper tools |
4 Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
4 Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
5 |
5 |
6 This program is free software: you can redistribute it and/or modify |
6 This program is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by |
7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, version 3. |
8 the Free Software Foundation, version 3. |
32 <xsl:import href="common.xsl"/> |
32 <xsl:import href="common.xsl"/> |
33 |
33 |
34 <xsl:param name="versionTag"/> |
34 <xsl:param name="versionTag"/> |
35 <xsl:param name="versionDistance"/> |
35 <xsl:param name="versionDistance"/> |
36 <xsl:param name="versionHash"/> |
36 <xsl:param name="versionHash"/> |
|
37 <xsl:param name="versionChangedFiles"/> |
37 |
38 |
38 <xsl:output |
39 <xsl:output |
39 method="xml" |
40 method="xml" |
40 indent="yes" |
41 indent="yes" |
41 encoding="UTF-8"/> |
42 encoding="UTF-8"/> |
51 <text:p text:style-name="Subtitle"> |
52 <text:p text:style-name="Subtitle"> |
52 <xsl:call-template name="version"> |
53 <xsl:call-template name="version"> |
53 <xsl:with-param name="tag" select="$versionTag"/> |
54 <xsl:with-param name="tag" select="$versionTag"/> |
54 <xsl:with-param name="distance" select="$versionDistance"/> |
55 <xsl:with-param name="distance" select="$versionDistance"/> |
55 <xsl:with-param name="hash" select="$versionHash"/> |
56 <xsl:with-param name="hash" select="$versionHash"/> |
|
57 <xsl:with-param name="changedFiles" select="$versionChangedFiles"/> |
56 </xsl:call-template> |
58 </xsl:call-template> |
57 </text:p> |
59 </text:p> |
58 <text:p text:style-name="Paragraph"> |
60 <text:p text:style-name="Paragraph"> |
59 <xsl:value-of select="m:preamble"/> |
61 <xsl:value-of select="m:preamble"/> |
60 </text:p> |
62 </text:p> |
183 </office:automatic-styles> |
185 </office:automatic-styles> |
184 |
186 |
185 <office:master-styles> |
187 <office:master-styles> |
186 <style:master-page style:name="Standard" style:page-layout-name="pm1"> |
188 <style:master-page style:name="Standard" style:page-layout-name="pm1"> |
187 <style:footer> |
189 <style:footer> |
188 <!-- TODO: move license information to XML file --> |
190 <text:p text:style-name="Footer"> |
189 <text:p text:style-name="Footer">Sane Software Manifesto <https://sane-software.globalcode.info/> Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) CC-BY-ND<text:tab/> |
191 <xsl:value-of select="/m:manifesto/m:title"/> |
|
192 <xsl:text> <</xsl:text> |
|
193 <xsl:value-of select="/m:manifesto/m:url"/> |
|
194 <xsl:text>> Copyright © </xsl:text> |
|
195 <xsl:value-of select="/m:manifesto/m:license/m:year"/> |
|
196 <xsl:text> </xsl:text> |
|
197 <xsl:value-of select="/m:manifesto/m:author"/> |
|
198 <xsl:text> </xsl:text> |
|
199 <xsl:value-of select="/m:manifesto/m:license/m:abbreviation"/> |
|
200 <text:tab/> |
190 <text:page-number text:select-page="current">1</text:page-number> / <text:page-count>1</text:page-count> |
201 <text:page-number text:select-page="current">1</text:page-number> / <text:page-count>1</text:page-count> |
191 </text:p> |
202 </text:p> |
192 </style:footer> |
203 </style:footer> |
193 </style:master-page> |
204 </style:master-page> |
194 </office:master-styles> |
205 </office:master-styles> |