2860: Problem with det_ancestor report in PDF at page breaks - part 1
svn: r12392
This commit is contained in:
parent
cd24dc27bf
commit
6d8dbdae60
@ -476,6 +476,9 @@ class GtkDocParagraph(GtkDocBaseElement):
|
||||
# and divide the text, first create the second part
|
||||
new_style = BaseDoc.ParagraphStyle(self._style)
|
||||
new_style.set_top_margin(0)
|
||||
#we split a paragraph, text should begin in correct position: no indent
|
||||
#as if the paragraph just continues from normal text
|
||||
new_style.set_first_indent(0)
|
||||
new_paragraph = GtkDocParagraph(new_style)
|
||||
new_paragraph.add_text(self._text.encode('utf-8')[index:])
|
||||
# then update the first one
|
||||
|
Loading…
x
Reference in New Issue
Block a user