* src/docgen/PdfDoc.py: fixed regsiter_book_doc call

svn: r3598
This commit is contained in:
Don Allingham 2004-10-06 02:18:53 +00:00
parent c1e56807b8
commit 2e6078301e

View File

@ -34,7 +34,6 @@ from gettext import gettext as _
_H = 'Helvetica' _H = 'Helvetica'
_HB = 'Helvetica-Bold' _HB = 'Helvetica-Bold'
_HO = 'Helvetica-Oblique'
_HBO = 'Helvetica-BoldOblique' _HBO = 'Helvetica-BoldOblique'
_T = 'Times-Roman' _T = 'Times-Roman'
_TB = 'Times-Bold' _TB = 'Times-Bold'
@ -592,7 +591,7 @@ try:
print_label=None print_label=None
Plugins.register_text_doc(mtype, PdfDoc, 1, 0, 1, ".pdf", print_label) Plugins.register_text_doc(mtype, PdfDoc, 1, 0, 1, ".pdf", print_label)
Plugins.register_draw_doc(mtype, PdfDoc, 1, 1, ".pdf", print_label) Plugins.register_draw_doc(mtype, PdfDoc, 1, 1, ".pdf", print_label)
Plugins.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf",print_label) Plugins.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf")
except: except:
Plugins.register_text_doc(_('PDF document'), PdfDoc, 1, 0, 1,".pdf", None) Plugins.register_text_doc(_('PDF document'), PdfDoc, 1, 0, 1,".pdf", None)
Plugins.register_draw_doc(_('PDF document'), PdfDoc, 1, 1, ".pdf", None) Plugins.register_draw_doc(_('PDF document'), PdfDoc, 1, 1, ".pdf", None)