Previous Next blank.gif blank.gif

Class InitialCaps


SYNOPSIS

import HTMLgen
class InitialCaps
  def __call__(self, text)
  def __init__(self, text='', upsize = '+2', downsize = '+1')
  string __module__ = 'HTMLgen'
  def __str__(self)

DESCRIPTION

Utility class to process text into Initial Upper Case style using Font specifications. All text is converted to upper case and the initial characters are altered by the size given by the optional second argument. The rest of the characters are altered by the size given in the optional third argument.

For example:

   InitialCaps('We the people', '+3', '+1')

SEE ALSO

HTMLgen


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999