* src/docgen/PdfDoc.py: Proper indentation for the first line with

and without bullets.


svn: r5401
This commit is contained in:
Alex Roitman 2005-11-13 18:47:54 +00:00
parent c57bc8375f
commit 686912e885
2 changed files with 9 additions and 4 deletions

View File

@ -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>
* src/plugins/DetDescendantReport.py: add support for Henry
numbers for descendants

View File

@ -156,10 +156,10 @@ class PdfDoc(BaseDoc.BaseDoc):
pdf_style.rightIndent = style.get_right_margin()*cm
pdf_style.leftIndent = style.get_left_margin()*cm
pdf_style.firstLineIndent = style.get_left_margin()*cm + \
style.get_first_indent()*cm
pdf_style.bulletIndent = pdf_style.firstLineIndent
pdf_style.firstLineIndent = style.get_first_indent()*cm
pdf_style.bulletIndent = pdf_style.firstLineIndent + \
pdf_style.leftIndent
align = style.get_alignment()
if align == BaseDoc.PARA_ALIGN_RIGHT:
pdf_style.alignment = TA_RIGHT
@ -204,6 +204,7 @@ class PdfDoc(BaseDoc.BaseDoc):
if leader==None:
self.text = ''
else:
self.current_para.firstLineIndent = 0
self.text = '<bullet>%s</bullet>' % leader
def end_paragraph(self):