Back to index

python3.2  3.2.2
Public Member Functions
formatter.AbstractWriter Class Reference
Inheritance diagram for formatter.AbstractWriter:
Inheritance graph
[legend]
Collaboration diagram for formatter.AbstractWriter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def new_alignment
def new_font
def new_margin
def new_spacing
def new_styles
def send_paragraph
def send_line_break
def send_hor_rule
def send_label_data
def send_flowing_data
def send_literal_data
def flush

Detailed Description

A writer which can be used in debugging formatters, but not much else.

Each method simply announces itself by printing its name and
arguments on standard output.

Definition at line 318 of file formatter.py.


Member Function Documentation

def formatter.NullWriter.flush (   self) [inherited]

Definition at line 304 of file formatter.py.

00304 
    def flush(self): pass

Here is the caller graph for this function:

def formatter.AbstractWriter.new_alignment (   self,
  align 
)

Reimplemented from formatter.NullWriter.

Definition at line 326 of file formatter.py.

00326 
00327     def new_alignment(self, align):
00328         print("new_alignment(%r)" % (align,))

def formatter.AbstractWriter.new_font (   self,
  font 
)

Reimplemented from formatter.NullWriter.

Definition at line 329 of file formatter.py.

00329 
00330     def new_font(self, font):
00331         print("new_font(%r)" % (font,))

def formatter.AbstractWriter.new_margin (   self,
  margin,
  level 
)

Reimplemented from formatter.NullWriter.

Definition at line 332 of file formatter.py.

00332 
00333     def new_margin(self, margin, level):
00334         print("new_margin(%r, %d)" % (margin, level))

def formatter.AbstractWriter.new_spacing (   self,
  spacing 
)

Reimplemented from formatter.NullWriter.

Definition at line 335 of file formatter.py.

00335 
00336     def new_spacing(self, spacing):
00337         print("new_spacing(%r)" % (spacing,))

def formatter.AbstractWriter.new_styles (   self,
  styles 
)

Reimplemented from formatter.NullWriter.

Definition at line 338 of file formatter.py.

00338 
00339     def new_styles(self, styles):
00340         print("new_styles(%r)" % (styles,))

def formatter.AbstractWriter.send_flowing_data (   self,
  data 
)

Reimplemented from formatter.NullWriter.

Definition at line 353 of file formatter.py.

00353 
00354     def send_flowing_data(self, data):
00355         print("send_flowing_data(%r)" % (data,))

def formatter.AbstractWriter.send_hor_rule (   self,
  args,
  kw 
)

Reimplemented from formatter.NullWriter.

Definition at line 347 of file formatter.py.

00347 
00348     def send_hor_rule(self, *args, **kw):
00349         print("send_hor_rule()")

def formatter.AbstractWriter.send_label_data (   self,
  data 
)

Reimplemented from formatter.NullWriter.

Definition at line 350 of file formatter.py.

00350 
00351     def send_label_data(self, data):
00352         print("send_label_data(%r)" % (data,))

Reimplemented from formatter.NullWriter.

Definition at line 344 of file formatter.py.

00344 
00345     def send_line_break(self):
00346         print("send_line_break()")

def formatter.AbstractWriter.send_literal_data (   self,
  data 
)

Reimplemented from formatter.NullWriter.

Definition at line 356 of file formatter.py.

00356 
00357     def send_literal_data(self, data):
00358         print("send_literal_data(%r)" % (data,))
00359 

def formatter.AbstractWriter.send_paragraph (   self,
  blankline 
)

Reimplemented from formatter.NullWriter.

Definition at line 341 of file formatter.py.

00341 
00342     def send_paragraph(self, blankline):
00343         print("send_paragraph(%r)" % (blankline,))


The documentation for this class was generated from the following file: