[Libreoffice-commits] core.git: filter/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jun 2 19:13:38 UTC 2019
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit b58410bd51cd433c2ed5fe0345b390bcbee244b6
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:23:41 2019 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Jun 2 21:12:43 2019 +0200
Fix typo
Change-Id: I2d98e82f281d30d5d9e069a62d0876f64a1f5074
Reviewed-on: https://gerrit.libreoffice.org/73347
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 541417b2f36e..31d3f4da8c69 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -736,8 +736,8 @@
<!-- the footnote symbol is the prefix for a footnote in the footer -->
<xsl:param name="footnotePrefix" />
- <!-- empty paragraph tags does not provoke an carridge return,
- therefore an non breakable space ( ) have been inserted.-->
+ <!-- empty paragraph tags does not provoke a carriage return,
+ therefore a non breakable space ( ) have been inserted.-->
<xsl:choose>
<xsl:when test="node()">
<xsl:call-template name="apply-styles-and-content">
@@ -992,7 +992,7 @@
<xsl:if test="@text:anchor-type='paragraph'">
<xsl:comment>Next 'div' is emulating the top height of a draw:frame.</xsl:comment>
<!-- When the svg:y is set relative to the paragraph content, the best way to emulate a positive height,
- is to add an invisbile division inbetween with a height.
+ is to add an invisible division inbetween with a height.
Often text will flow into this 'gap', which is handled separately!
-->
<xsl:if test="$svgY > 0">
@@ -1096,7 +1096,7 @@
<xsl:call-template name="widthAndHeight"/>
<xsl:text> padding:0; </xsl:text>
<xsl:if test="@text:anchor-type!='as-char'">
- <!-- all images float (CSS float reltaive) with a left position calculated by svg:x - parentMarginLeft - previousFrameWidths -->
+ <!-- all images float (CSS float relative) with a left position calculated by svg:x - parentMarginLeft - previousFrameWidths -->
<xsl:text> float:left; position:relative; left:</xsl:text>
<xsl:value-of select="$leftPosition"/>
<xsl:text>cm; </xsl:text>
@@ -1176,7 +1176,7 @@
<!-- no creation of empty headings (without text content) -->
<xsl:if test="text() or descendant::text()">
- <!-- The URL linking of an table-of-content is due to a bug (cp. bug id# 102311) not mapped as URL in the XML.
+ <!-- The URL linking of a table-of-content is due to a bug (cp. bug id# 102311) not mapped as URL in the XML.
Linking of the table-of-content can therefore only be archieved by a work-around in HTML -->
<xsl:call-template name="create-heading">
<xsl:with-param name="globalData" select="$globalData"/>
@@ -2017,8 +2017,8 @@
</xsl:variable>
<!-- Numbering is being done by this transformation creating a HTML span representing the number label
The html:span represents the list item/header label (e.g. 1.A.III)
- As the html:span is usually a inline element is formatted by CSS as block element to use width upon it,
- to disable the caridge return float:left is used and later neglected -->
+ As the html:span is usually an inline element is formatted by CSS as block element to use width upon it,
+ to disable the carriage return float:left is used and later neglected -->
<xsl:element name="span">
<xsl:if test="$listLevelStyle/@text:style-name">
<xsl:attribute name="class">
More information about the Libreoffice-commits
mailing list