Class s.r.t.BaseRMLReport(object):

Part of stoqlib.reporting.template View In Hierarchy

Known subclasses: stoqlib.reporting.payment_receipt.PaymentReceipt, stoqlib.reporting.receival_receipt.ReceivalReceipt, stoqlib.reporting.transfer_receipt.TransferOrderReceipt

A base class for all rml reports
Class Variablestemplate_namethe name of the template to be used in report
titlethe report title
Method __init__ Creates a new BaseRMLReport object
Method save Build the report file properly
Method _complete_namespace Add common information in namespace
Method get_namespace Each child must to build your namespace and implement this
def __init__(self, filename, template_name=None):
Creates a new BaseRMLReport object
Parametersfilenamefilename to save report as
template_nameoptional, name of the rml template to use
def save(self):
Build the report file properly
def _complete_namespace(self, ns):
Add common information in namespace
def get_namespace(self):
Each child must to build your namespace and implement this method to give us a common way to access it
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.