Next / Previous / Contents / Shipman's homepage

36. paperTypeMap

This dictionary is used to convert a standard paper type codes from Section 10.3, “The PAPER sizes” into a PageDims instance.

fosox.py
# - - -   p a p e r T y p e M a p

paperTypeMap = {
  PAPER_LETTER: letterPage,
  PAPER_LETTER_LAND: letterLandPage,
  PAPER_LEGAL: legalPage,
  PAPER_3X5: indexCardPage }