Esempio n. 1
0
 def create_txt(self, rml, localcontext, logo=None, title=None):
     obj = render.rml2txt(rml, localcontext, self.bin_datas)
     obj.render()
     return obj.get().encode('utf-8')
Esempio n. 2
0
 def create_txt(self, rml,localcontext, logo=None, title=None):
     obj = render.rml2txt(rml, localcontext, self.bin_datas)
     obj.render()
     return obj.get().encode('utf-8')
Esempio n. 3
0
 def create_txt(self, rml, localcontext, logo=None, title=None):
     obj = render.rml2txt(rml, localcontext, self.bin_datas)
     obj.set_page_limit(self._page_limit)
     obj.render()
     return obj.get().encode(
         tools.config.get_misc('rml2txt', 'encoding', 'utf-8'))