mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
8d7a936cec
commit
a436fc5fc3
@ -310,7 +310,7 @@ class BlockStyle(DOCXStyle):
|
|||||||
style.append(ind)
|
style.append(ind)
|
||||||
|
|
||||||
if (self is normal_style and self.background_color) or self.background_color != normal_style.background_color:
|
if (self is normal_style and self.background_color) or self.background_color != normal_style.background_color:
|
||||||
makeelement(style, 'shd', val='clear', color='auto', fill=self.background_color or 'auto')
|
style.append(makeelement(style, 'shd', val='clear', color='auto', fill=self.background_color or 'auto'))
|
||||||
|
|
||||||
pbdr = self.serialize_borders(style.makeelement(w('pBdr')), normal_style)
|
pbdr = self.serialize_borders(style.makeelement(w('pBdr')), normal_style)
|
||||||
if len(pbdr):
|
if len(pbdr):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user