def executeShow(self, frm): from lino.gendoc.plain import PlainDocument #gd = PlainDocument() gd = PlainDocument(self.stdout) gd.beginDocument() gd.renderForm(frm) gd.endDocument()
def executeShow(self,frm): from lino.gendoc.plain import PlainDocument #gd = PlainDocument() gd = PlainDocument(self.stdout) gd.beginDocument() gd.renderForm(frm) gd.endDocument()
def report(self,rpt,*args,**kw): from lino.gendoc.plain import PlainDocument gd = PlainDocument(writer=self._stdout) gd.beginDocument() gd.report(rpt) gd.endDocument()
def show_report(self,rpt,*args,**kw): from lino.gendoc.plain import PlainDocument doc = PlainDocument(self) doc.beginDocument() doc.report(rpt) doc.endDocument()
def __unicode__(self): doc = PlainDocument() doc.beginDocument() doc.report(self) doc.endDocument() return unicode(doc)
def show_report(self, rpt, *args, **kw): from lino.gendoc.plain import PlainDocument doc = PlainDocument(self) doc.beginDocument() doc.report(rpt) doc.endDocument()