Example #1
0
 def show_opf(self, opf, ext=''):
     mi = MetaInformation(opf)
     html = '<h2 align="center">%s</h2>%s\n<b>%s:</b> %s'\
             %(_('Metadata'), u''.join(mi.to_html()),
                     _('Book format'), ext.upper())
     self.setText(html)