Class s.l.i.InvoicePage(object):

Part of stoqlib.lib.invoice View In Hierarchy

This represent a page part of an invoice
Method __init__ Create a new InvoicePage object.
Method __iter__ Undocumented
Method _put Undocumented
Method _add_boolean Undocumented
Method _add_integer Undocumented
Method _add_decimal Undocumented
Method _add_string Undocumented
Method _add_list Undocumented
Method add Adds a new field to the page
def __init__(self, width, height):
Create a new InvoicePage object.
Parameterswidththe width of the page
heightthe height of the page
def __iter__(self):
Undocumented
def _put(self, x, y, width, data):
Undocumented
def _add_boolean(self, x, y, width, data):
Undocumented
def _add_integer(self, x, y, width, data):
Undocumented
def _add_decimal(self, x, y, width, data):
Undocumented
def _add_string(self, x, y, width, data):
Undocumented
def _add_list(self, data_type, x, y, width, height, data):
Undocumented
def add(self, data_type, x, y, width, height, data):
Adds a new field to the page
Parametersdata_typedata type of the field
xx position of the left side of the field
yy position of the upper side of the field
widthwidth of the field
heightheight of the field
datadata to be printed at the field. This is dependent of the data type
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.