* src/docgen/OpenOfficeDoc.py: Header paragraphs have the keep-with-next
property set svn: r1911
This commit is contained in:
parent
e4d0dc71b4
commit
9307d1e83e
@ -413,6 +413,8 @@ class OpenOfficeDoc(TextDoc.TextDoc):
|
|||||||
|
|
||||||
if style.get_padding() != 0.0:
|
if style.get_padding() != 0.0:
|
||||||
self.f.write('fo:padding="%.3fcm" ' % style.get_padding())
|
self.f.write('fo:padding="%.3fcm" ' % style.get_padding())
|
||||||
|
if style.get_header_level() > 0:
|
||||||
|
self.f.write('fo:keep-with-next="true" ')
|
||||||
|
|
||||||
align = style.get_alignment()
|
align = style.get_alignment()
|
||||||
if align == TextDoc.PARA_ALIGN_LEFT:
|
if align == TextDoc.PARA_ALIGN_LEFT:
|
||||||
|
Loading…
Reference in New Issue
Block a user