]> git.lyx.org Git - lyx.git/commitdiff
lyx_2_0.py:
authorUwe Stöhr <uwestoehr@web.de>
Sat, 6 Nov 2010 17:42:26 +0000 (17:42 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 6 Nov 2010 17:42:26 +0000 (17:42 +0000)
- remove 2 fixmes; we can be sure that there is space between the table entries
- add comment for the preamble that got lost the last days

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36165 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py

index 624bad934744fdb6f9958ee4a346fbe2b2677e7a..40238724a3f45ba38c3f143b6183434e1e00ec04 100644 (file)
@@ -951,7 +951,6 @@ def revert_multirow(document):
       multirow = True
       # remove the multirow tag, set the valignment to top
       # and remove the bottom line
-      # FIXME Are we sure these always have space around them?
       document.body[i] = document.body[i].replace(' multirow="3" ', ' ')
       document.body[i] = document.body[i].replace('valignment="middle"', 'valignment="top"')
       document.body[i] = document.body[i].replace(' bottomline="true" ', ' ')
@@ -988,7 +987,6 @@ def revert_multirow(document):
               break
           # remove the multirow tag, set the valignment to top
           # and remove the top line
-          # FIXME Are we sure these always have space around them?
           document.body[k] = document.body[k].replace(' multirow="4" ', ' ')
           document.body[k] = document.body[k].replace('valignment="middle"', 'valignment="top"')
           document.body[k] = document.body[k].replace(' topline="true" ', ' ')
@@ -997,6 +995,7 @@ def revert_multirow(document):
       i = cend
 
     if multirow == True:
+        add_to_preamble(document, ["% this command was inserted by lyx2lyx"])
         add_to_preamble(document, ["\\usepackage{multirow}"])