mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Make all used styles visible in Word UI
This commit is contained in:
parent
8c827eefc6
commit
d6f8b9501b
@ -79,9 +79,9 @@ class DOCXStyle(object):
|
||||
style.append(makeelement(style, 'name', val=self.name))
|
||||
if self is normal_style:
|
||||
style.set(w('default'), '1')
|
||||
style.append(makeelement(style, 'qFormat'))
|
||||
else:
|
||||
style.append(makeelement(style, 'basedOn', val=normal_style.id))
|
||||
style.append(makeelement(style, 'qFormat'))
|
||||
styles.append(style)
|
||||
return style
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user