łň €°2Fc@s0dZddklZdefd„ƒYZdS(s This module exposes a class responsible for printing the content of the text editor's buffer. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright Š 2005 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com i˙˙˙˙(tSourcePrintJobtPrintJobcBsDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(sc This class creates an object responsible for printing the content of the text editor's buffer. cCsJddkl}|ƒ}ti|||iƒ|i|ƒ|iƒdS(sĚ Initialize the PrintJob object. @param self: Reference to the PrintJob instance. @type self: A PrintJob object. @param editor: Reference to the text editor. @type editor: An Editor object. i˙˙˙˙(tconfig_defaultN(t gnomeprintRRt__init__t textbuffert_PrintJob__init_attributest_PrintJob__set_properties(tselfteditorRtconfig((splugins/PrintDialog/Job.pyR's   cCs|iƒ}|S(su Create a print job object. @param self: Reference to the PrintJob instance. @type self: A PrintJob object. (tprint_(Rtjob((splugins/PrintDialog/Job.pytget_job7s cCs@ddkl}ddkl}|t||iƒƒ|_dS(sŃ Initialize the PrintJob's attributes @param self: Reference to the PrintJob instance. @type self: A PrintJob object. @param editor: Reference to the text editor. @type editor: An Editor object. i˙˙˙˙(tmsg0003(t url2pathnameN(ti18nRturllibRtstrturit_PrintJob__header(RR RR((splugins/PrintDialog/Job.pyt__init_attributesAs cCsn|itƒ|itƒ|itƒ|idƒddkl}|i|ƒ|i |i ddtƒdS(s€ Initialize the PrintJob's properties. @param self: Reference to the PrintJob instance. @type self: A PrintJob object. ii˙˙˙˙(t WRAP_WORDtN( t set_highlighttTruetset_print_headertset_print_numberstFalsetset_tabs_widthtgtkRt set_wrap_modetset_header_formatR(RR((splugins/PrintDialog/Job.pyt__set_propertiesPs     cCs'ddkl}||ƒ~d}dS(Ni˙˙˙˙(tdelete_attributes(t SCRIBES.utilsR"tNone(RR"((splugins/PrintDialog/Job.pyt __destroy`s  cCs|iƒdS(N(t_PrintJob__destroy(R((splugins/PrintDialog/Job.pytdestroygs ( t__name__t __module__t__doc__RR RRR&R'(((splugins/PrintDialog/Job.pyR!s    N(R*t gtksourceviewRR(((splugins/PrintDialog/Job.pyss