def create_odt(self,rml,localcontext = None): obj = render.odt2odt(rml,localcontext) obj.render() return obj.get()
def create_raw(self,rml, localcontext = None, logo=None, title=None): obj = render.odt2odt(etree.XML(rml),localcontext) obj.render() return etree.tostring(obj.get())
def create_raw(self, rml, localcontext=None, logo=None, title=None): obj = render.odt2odt(etree.XML(rml), localcontext) obj.render() return etree.tostring(obj.get())
def create_odt(self, rml, localcontext=None): obj = render.odt2odt(rml, localcontext) obj.render() return obj.get()
def create_sxw(self, rml, localcontext=None): obj = render.odt2odt(rml, localcontext) obj.set_page_limit(self._page_limit) obj.render() return obj.get()