* src/docgen/PdfDoc.py: Proper indentation for the first line with
and without bullets. svn: r5401
This commit is contained in:
parent
c57bc8375f
commit
686912e885
@ -1,3 +1,7 @@
|
|||||||
|
2005-11-13 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/docgen/PdfDoc.py: Proper indentation for the first line with
|
||||||
|
and without bullets.
|
||||||
|
|
||||||
2005-11-12 Don Allingham <don@gramps-project.org>
|
2005-11-12 Don Allingham <don@gramps-project.org>
|
||||||
* src/plugins/DetDescendantReport.py: add support for Henry
|
* src/plugins/DetDescendantReport.py: add support for Henry
|
||||||
numbers for descendants
|
numbers for descendants
|
||||||
|
@ -156,9 +156,9 @@ class PdfDoc(BaseDoc.BaseDoc):
|
|||||||
|
|
||||||
pdf_style.rightIndent = style.get_right_margin()*cm
|
pdf_style.rightIndent = style.get_right_margin()*cm
|
||||||
pdf_style.leftIndent = style.get_left_margin()*cm
|
pdf_style.leftIndent = style.get_left_margin()*cm
|
||||||
pdf_style.firstLineIndent = style.get_left_margin()*cm + \
|
pdf_style.firstLineIndent = style.get_first_indent()*cm
|
||||||
style.get_first_indent()*cm
|
pdf_style.bulletIndent = pdf_style.firstLineIndent + \
|
||||||
pdf_style.bulletIndent = pdf_style.firstLineIndent
|
pdf_style.leftIndent
|
||||||
|
|
||||||
align = style.get_alignment()
|
align = style.get_alignment()
|
||||||
if align == BaseDoc.PARA_ALIGN_RIGHT:
|
if align == BaseDoc.PARA_ALIGN_RIGHT:
|
||||||
@ -204,6 +204,7 @@ class PdfDoc(BaseDoc.BaseDoc):
|
|||||||
if leader==None:
|
if leader==None:
|
||||||
self.text = ''
|
self.text = ''
|
||||||
else:
|
else:
|
||||||
|
self.current_para.firstLineIndent = 0
|
||||||
self.text = '<bullet>%s</bullet>' % leader
|
self.text = '<bullet>%s</bullet>' % leader
|
||||||
|
|
||||||
def end_paragraph(self):
|
def end_paragraph(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user