Interfaces to create writers are dependent on the specific writer class being instantiated. The interfaces described below are the required interfaces which all writers must support once initialized. Note that while most applications can use the AbstractFormatter class as a formatter, the writer must typically be provided by the application.
None
, where None
indicates that the writer's ``preferred'' alignment should be used.
Conventional align values are 'left'
, 'center'
,
'right'
, and 'justify'
.
None
,
indicating that the device's default font should be used, or a tuple
of the form (
size, italic, bold,
teletype)
. Size will be a string indicating the size of
font that should be used; specific strings and their interpretation
must be defined by the application. The italic, bold, and
teletype values are Boolean values specifying which of those
font attributes should be used.
See About this document... for information on suggesting changes.