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')
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')
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'))