Google

"http://www.w3.org/TR/html40/loose.dtd">

Table of Contents

Module: pdfmap pdfmap.py
Imported modules   
import cStringIO
import cgi
import getopt
import os
import re
import string
import sys
import urllib
import whrandom
Functions   
__display_usage_and_quit
__display_version_and_quit
createpdfmap
parse_commandline
standardize_form
  __display_usage_and_quit 
__display_usage_and_quit ()

Displays command line usage, then exists successfully.

  __display_version_and_quit 
__display_version_and_quit ()

Displays version number, then exists successfully.

  createpdfmap 
createpdfmap (
        cmdline,
        arguments,
        mandatory,
        )

Options check and conversions, then does the real work.

  parse_commandline 
parse_commandline (
        argv,
        short,
        long,
        )

Parses the command line, controlling options.

Exceptions   
PDFMapError, "Unexpected problem when parsing command line"
  standardize_form 
standardize_form ( form )

Tries to determine if we were launched as a CGI script or from Zope, then returns the form contents as a dictionnary identical in both cases.

Classes   
Circle

For objects represented by circles on the map.

Cross

For objects represented by crosses on the map.

Diamond

For objects represented by diamonds on the map.

Ellipse

For objects represented by ellipses on the map.

Image

For objects represented by images on the map.

MapBackground

For rasterized background images.

MapObject

For shapes/images which represent objects on the map.

PDFMap

Our Map class.

PDFMapCanvas

A canvas with a powerful caching mechanism for images.

PDFMapError

PDFMap's Exception class.

Rectangle

For objects represented by rectangles on the map.

Square

For objects represented by squares on the map.

Star

For objects represented by stars on the map.

Triangle

For objects represented by triangles on the map.


Table of Contents

This document was automatically generated on Mon Feb 4 12:33:53 2002 by HappyDoc version 2.0