mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Just a restructuring, with early continue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36020 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7dad1e1c5d
commit
40ad4b4d63
@ -455,15 +455,15 @@ def revert_tabularvalign(document):
|
||||
document.body[i + 2] = document.body[i + 2][:q - 1]
|
||||
document.body[i + 2] = document.body[i + 2] + '>'
|
||||
i = i + 1
|
||||
continue
|
||||
|
||||
# when no longtable
|
||||
if p == -1:
|
||||
# no longtable
|
||||
tabularvalignment = 'c'
|
||||
# which valignment is specified?
|
||||
m = document.body[i + 2].find('tabularvalignment="top"')
|
||||
if m > -1:
|
||||
tabularvalignment = 't'
|
||||
m = document.body[ i+ 2].find('tabularvalignment="bottom"')
|
||||
m = document.body[i + 2].find('tabularvalignment="bottom"')
|
||||
if m > -1:
|
||||
tabularvalignment = 'b'
|
||||
# delete tabularvalignment
|
||||
|
Loading…
Reference in New Issue
Block a user