summaryrefslogtreecommitdiff
path: root/sd/xsl
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-08-11 09:57:55 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-20 16:11:23 +0200
commit28dff3780f9074f585bd626e2f06c94124ef4910 (patch)
tree9af8f298166c110af5e180170ed3a4ea3ff8d240 /sd/xsl
parent732d2e8bb19dbb65f6786e0d109020c189920e1e (diff)
Clean up xsl files
* Remove trailing spaces * Use 4 spaces for indentation everywhere See discussion at https://lists.freedesktop.org/archives/libreoffice/2017-September/078433.html Change-Id: I0bb9a0b9b0502cdf0870529cea37ee9c4d1ffdf4 Reviewed-on: https://gerrit.libreoffice.org/41009 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd/xsl')
-rw-r--r--sd/xsl/effect.xsl212
1 files changed, 106 insertions, 106 deletions
diff --git a/sd/xsl/effect.xsl b/sd/xsl/effect.xsl
index 86306d24759f..283dde3e83a8 100644
--- a/sd/xsl/effect.xsl
+++ b/sd/xsl/effect.xsl
@@ -17,29 +17,29 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:office="urn:oasis:names:tc:openoffice:xmlns:office:1.0"
- xmlns:style="urn:oasis:names:tc:openoffice:xmlns:style:1.0"
- xmlns:text="urn:oasis:names:tc:openoffice:xmlns:text:1.0"
- xmlns:table="urn:oasis:names:tc:openoffice:xmlns:table:1.0"
- xmlns:draw="urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:meta="urn:oasis:names:tc:openoffice:xmlns:meta:1.0"
- xmlns:number="urn:oasis:names:tc:openoffice:xmlns:datastyle:1.0"
- xmlns:pres="urn:oasis:names:tc:openoffice:xmlns:presentation:1.0"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns:chart="urn:oasis:names:tc:openoffice:xmlns:chart:1.0"
- xmlns:dr3d="urn:oasis:names:tc:openoffice:xmlns:dr3d:1.0"
- xmlns:math="http://www.w3.org/1998/Math/MathML"
- xmlns:form="urn:oasis:names:tc:openoffice:xmlns:form:1.0"
- xmlns:script="urn:oasis:names:tc:openoffice: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"
- xmlns:smil="http://www.w3.org/2001/SMIL20"
- xmlns:anim="urn:oasis:names:tc:openoffice:xmlns:animation:1.0"
+ xmlns:office="urn:oasis:names:tc:openoffice:xmlns:office:1.0"
+ xmlns:style="urn:oasis:names:tc:openoffice:xmlns:style:1.0"
+ xmlns:text="urn:oasis:names:tc:openoffice:xmlns:text:1.0"
+ xmlns:table="urn:oasis:names:tc:openoffice:xmlns:table:1.0"
+ xmlns:draw="urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:meta="urn:oasis:names:tc:openoffice:xmlns:meta:1.0"
+ xmlns:number="urn:oasis:names:tc:openoffice:xmlns:datastyle:1.0"
+ xmlns:pres="urn:oasis:names:tc:openoffice:xmlns:presentation:1.0"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:chart="urn:oasis:names:tc:openoffice:xmlns:chart:1.0"
+ xmlns:dr3d="urn:oasis:names:tc:openoffice:xmlns:dr3d:1.0"
+ xmlns:math="http://www.w3.org/1998/Math/MathML"
+ xmlns:form="urn:oasis:names:tc:openoffice:xmlns:form:1.0"
+ xmlns:script="urn:oasis:names:tc:openoffice: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"
+ xmlns:smil="http://www.w3.org/2001/SMIL20"
+ xmlns:anim="urn:oasis:names:tc:openoffice:xmlns:animation:1.0"
version="1.0">
@@ -119,14 +119,14 @@
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
</xsl:template>
-
+
<!-- box -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-entrance-box']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
</xsl:template>
-
+
<!-- checkerboard -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-entrance-checkerboard']">
<anim:par pres:preset-property="Direction">
@@ -217,21 +217,21 @@
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
</xsl:template>
-
+
<!-- zoom -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-entrance-zoom']">
<anim:par pres:preset-property="Zoom">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- swivel -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-entrance-swivel']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- emphasis -->
<!-- change fill color -->
@@ -239,84 +239,84 @@
<anim:par pres:preset-property="FillColor;ColorStyle;Accelerate;Decelerate;AutoReverse">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- change font -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-font']">
<anim:par pres:preset-property="FontStyle" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- change font color -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-font-color']">
<anim:par pres:preset-property="CharColor;ColorStyle;Accelerate;Decelerate;AutoReverse" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- change font size -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-font-size']">
<anim:par pres:preset-property="CharHeight" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- change font style -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-font-style']">
<anim:par pres:preset-property="CharDecoration" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- change line color -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-line-color']">
<anim:par pres:preset-property="LineColor;ColorStyle;Accelerate;Decelerate;AutoReverse">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- grow/shrink -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-grow-and-shrink']">
<anim:par pres:preset-property="Scale;Accelerate;Decelerate;AutoReverse">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- spin -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-spin']">
<anim:par pres:preset-property="Rotate;Accelerate;Decelerate;AutoReverse">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- Transparency -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-transparency']">
<anim:par pres:preset-property="Transparency">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- brush on color -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-color-over-by-word']">
<anim:iterate pres:preset-property="Color" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
- </xsl:template>
-
+ </xsl:template>
+
<!-- color blend -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-color-blend']">
<anim:par pres:preset-property="Color">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- color wave -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-color-over-by-letter']">
<anim:iterate pres:preset-property="Color" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
- </xsl:template>
+ </xsl:template>
<!-- bold flash -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-bold-flash']">
@@ -324,13 +324,13 @@
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
</xsl:template>
-
+
<!-- reveal underline -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-reveal-underline']">
<anim:iterate pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
- </xsl:template>
+ </xsl:template>
<!-- shimmer -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-shimmer']">
@@ -344,57 +344,57 @@
<anim:par pres:preset-property="Color">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- flicker -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-flicker']">
<anim:par pres:preset-property="Color">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- grow with color -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-grow-with-color']">
<anim:iterate pres:preset-property="Color" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
- </xsl:template>
-
+ </xsl:template>
+
<!-- teeter -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-teeter']">
<anim:par pres:preset-property="Color">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- blast -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-blast']">
<anim:par pres:preset-property="Color">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- style emphasis -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-emphasis-style-emphasis']">
<anim:par pres:preset-property="Color" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- bold reveal -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-bold-reveal']">
<anim:iterate pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
</xsl:template>
-
+
<!-- wave -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-emphasis-wave']">
<anim:iterate pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
</xsl:template>
-
+
<!-- exit -->
<!-- blinds -->
@@ -402,126 +402,126 @@
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- box -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-box']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- checkerboard -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-checkerboard']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- circle -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-circle']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- crawl out -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-crawl-out']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- diamond -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-diamond']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- fly out -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-fly-out']">
<anim:par pres:preset-property="Direction;Accelerate;Decelerate">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- peek out -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-peek-out']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- plus -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-plus']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- random bars -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-random-bars']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- split -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-split']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- strips -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-diagonal-squares']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- wheel -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-wheel']">
<anim:par pres:preset-property="Spokes">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- wipe -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-wipe']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- collapse -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-collapse']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- color typewriter -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-exit-colored-lettering']">
<anim:iterate pres:preset-property="Color1;Color2" pres:text-only="true">
<xsl:apply-templates select="*|@*|text()"/>
- </anim:iterate>
- </xsl:template>
-
+ </anim:iterate>
+ </xsl:template>
+
<!-- zoom -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-zoom']">
<anim:par pres:preset-property="Zoom">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
-
+ </xsl:template>
+
<!-- swivel -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-exit-swivel']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
</anim:par>
- </xsl:template>
+ </xsl:template>
<!-- fade in an swivel -->
<xsl:template match="anim:iterate[@pres:preset-id = 'ooo-exit-fade-out-and-swivel']">
@@ -564,7 +564,7 @@
<xsl:apply-templates select="*|@*|text()"/>
</anim:iterate>
</xsl:template>
-
+
<!-- remove pres:group-id -->
<xsl:template match="@xlink:href" />
<xsl:template match="@smil:targetElement" />