filter/source/xslt/odf2xhtml/export/xhtml/body.xsl |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 30e474a7e5bba6cebb7b082abd7ae8dc8d8bf8b0
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Dec 15 12:58:16 2021 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Dec 15 12:35:37 2021 +0100

    s/2DO/TODO/
    
    Also s/4now/for now/ .
    
    Change-Id: I170c912e09435fb33532eb51ee0c15e6a0e85460
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126854
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl 
b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 033f3200c846..52b0cd90f058 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -341,7 +341,7 @@
                 A surrounding 'div' element taking over the image style solves 
that problem, but the div is invalid as child of a paragraph
                 Therefore the paragraph has to be exchanged with a HTML div 
element
         -->
-        <!-- 2DO page alignment fix - PART1 -->
+        <!-- TODO page alignment fix - PART1 -->
         <xsl:variable name="childText"><xsl:apply-templates 
mode="getAllTextChildren"/></xsl:variable>
         <xsl:choose>
             <xsl:when test="name() = 'text:p' and not(*) and 
(normalize-space($childText) = '')">
@@ -388,7 +388,7 @@
                             <xsl:with-param name="previousFrameHeights" 
select="0"/>
                             <xsl:with-param name="leftPosition" select="0" />
                             <xsl:with-param name="stopAtFirstFrame" 
select="true()" />
-                            <!-- 2DO for me (Svante) - Not used, uncertain 
4now...
+                            <!-- TODO for me (Svante) - Not used, uncertain 
for now...
                             <xsl:with-param name="pageMarginLeft">
                                 <xsl:call-template name="getPageMarginLeft"/>
                             </xsl:with-param>-->
@@ -401,7 +401,7 @@
                         <xsl:with-param name="previousFrameHeights" 
select="0"/>
                         <xsl:with-param name="leftPosition" select="0"/>
 
-                        <!-- 2DO for me (Svante) - Not used, uncertain 4now...
+                        <!-- TODO for me (Svante) - Not used, uncertain for 
now...
                         <xsl:with-param name="pageMarginLeft">
                             <xsl:call-template name="getPageMarginLeft"/>
                          </xsl:with-param>-->
@@ -430,7 +430,7 @@
                             <xsl:variable name="paragraphName" 
select="@text:style-name" />
                             <xsl:variable name="imageParagraphStyle" 
select="$globalData/all-styles/style[@style:name = 
$paragraphName]/final-properties"/>
                             <!-- Only the left margin of the first paragraph 
of a list item will be added to the margin of the complete list (all levels)-->
-<!-- 2DO: left-margin in order with bidirectional -->
+<!-- TODO: left-margin in order with bidirectional -->
                             <xsl:choose>
                                 <xsl:when test="contains($imageParagraphStyle, 
'margin-left:')">
                                     <xsl:call-template name="convert2cm">
@@ -497,7 +497,7 @@
         <xsl:param name="parentMarginLeft" />
         <xsl:param name="pageMarginLeft" />
 
-<!-- 2DO: EXCHANGE FOLLOWING SIBLING BY VARIABLE -->
+<!-- TODO: EXCHANGE FOLLOWING SIBLING BY VARIABLE -->
         <xsl:variable name="followingSiblingNode" 
select="following-sibling::node()[1]"/>
 
 
@@ -1687,7 +1687,7 @@
 
         <!-- $globalData/styles-file/*/office:styles/ -->
         <xsl:variable name="listLevelStyle" select="$listStyle/*/*[@text:level 
= number($listLevel)]"/>
-        <!-- 2DO: Access new list styles
+        <!-- TODO: Access new list styles
         <xsl:variable name="listLevelLabelAlignment1" 
select="$listLevelStyle/style:list-level-properties/style:list-level-label-alignment"/>-->
         <xsl:variable name="listIndent">
             <xsl:call-template name="getListIndent">
@@ -1998,7 +1998,7 @@
                                                         <xsl:with-param 
name="value" select="string($listLevelLabelAlignment/@fo:text-indent)"/>
                                                     </xsl:call-template>
                                                 </xsl:variable>
-                                                <!-- 2DO: Access new ODF 1.2 
list styles
+                                                <!-- TODO: Access new ODF 1.2 
list styles
                                                 <xsl:variable 
name="listLevelTextIndent">
                                                     <xsl:call-template 
name="convert2cm">
                                                         <xsl:with-param 
name="value" 
select="string($listLevelLabelAlignment/@text:list-tab-stop-position)"/>
@@ -2020,7 +2020,7 @@
                                         </xsl:if>
                                         <xsl:attribute name="style">
                                             
<xsl:text>display:block;float:</xsl:text>
-                                            <!-- 2DO: Svante - copy this 
functionality for other used margin:left (in western country 'left') -->
+                                            <!-- TODO: Svante - copy this 
functionality for other used margin:left (in western country 'left') -->
                                             <xsl:call-template 
name="getOppositeWritingDirection">
                                                 <xsl:with-param 
name="globalData" select="$globalData"/>
                                                 <xsl:with-param 
name="paraStyleName" select="descendant-or-self::*/@text:style-name"/>
@@ -2269,7 +2269,7 @@
                                     <xsl:choose>
                                         <!-- if it has content the counting is 
ended -->
                                         <xsl:when test="*[name() = 'text:h' or 
name() = 'text:p'] or $isListHeader">
-                                            <!-- 2DO: Perhaps the children 
still have to be processed -->
+                                            <!-- TODO: Perhaps the children 
still have to be processed -->
                                             <xsl:value-of select="$itemNumber 
+ $pseudoLevel"/>
                                         </xsl:when>
                                         <xsl:otherwise>
@@ -2524,7 +2524,7 @@
         <xsl:param name="minLabelDist"/>
         <xsl:param name="minLabelWidth"/>
 
-        <!-- 2DO page alignment fix - PART1 -->
+        <!-- TODO page alignment fix - PART1 -->
 
         <!-- xhtml:p may only contain inline elements.
              If there is one frame beyond, div must be used! -->

Reply via email to