Back to index

plone3  3.1.7
Namespaces | Functions | Variables
PortalTransforms.transforms Namespace Reference

Namespaces

namespace  broken
namespace  html_body
namespace  html_to_text
namespace  html_to_web_intelligent_plain_text
namespace  identity
namespace  image_to_bmp
namespace  image_to_gif
namespace  image_to_html
namespace  image_to_jpeg
namespace  image_to_pcx
namespace  image_to_png
namespace  image_to_ppm
namespace  image_to_tiff
namespace  lynx_dump
namespace  markdown_to_html
namespace  office_com
namespace  office_uno
namespace  office_wvware
namespace  pdf_to_html
namespace  pdf_to_text
namespace  python
namespace  rest
namespace  rtf_to_html
namespace  rtf_to_xml
namespace  safe_html
namespace  st
namespace  text_pre_to_html
namespace  text_to_html
namespace  textile_to_html
namespace  web_intelligent_plain_text_to_html
namespace  word_to_html

Functions

def initialize

Variables

list modules
tuple g = globals()
list transforms = []
tuple ns = __import__(m, g, g, None)
string msg = "Problem importing module %s : %s"

Function Documentation

Definition at line 62 of file __init__.py.

00062 
00063 def initialize(engine):
00064     for transform in transforms:
00065         engine.registerTransform(transform)

Variable Documentation

tuple PortalTransforms.transforms.g = globals()

Definition at line 46 of file __init__.py.

Initial value:
00001 [
00002     'st',             # zopish
00003     'rest',           # docutils
00004     'word_to_html',   # uno, com, wvware
00005     'safe_html',      # extract <body> and remove potentially harmful tags
00006     'html_body',      # extract only the contents of the <body> tag
00007     'html_to_text',   # re based transform
00008     'text_to_html',   # wrap text in a verbatim env
00009     'text_pre_to_html', # wrap text into a pre
00010     'pdf_to_html',    # sf.net/projects/pdftohtml
00011     'pdf_to_text',    # www.foolabs.com/xpdf
00012     'rtf_to_html',    # sf.net/projects/rtf-converter
00013     'rtf_to_xml',     # sf.net/projects/rtf2xml
00014     'image_to_png',   # transforms any image to a PNG image
00015     'image_to_gif',   # transforms any image to a GIF image
00016     'image_to_jpeg',  # transforms any image to a JPEG image
00017     'image_to_pcx',   # transforms any image to a PCX image
00018     'image_to_ppm',   # transforms any image to a PPM image
00019     'image_to_tiff',  # transforms any image to a TIFF image
00020     'image_to_bmp',   # transforms any image to a BMP image
00021     'lynx_dump',      # lynx -dump
00022     'python',         # python source files, no dependancies
00023     'identity',       # identity transform, no dependancies
00024     'markdown_to_html', # markdown, depends on http://surfnet.dl.sourceforge.net/sourceforge/python-markdown/markdown-1-5.py
00025     'textile_to_html',# textile, depends on PyTextile http://dom.eav.free.fr/python/textile-mirror-2.0.10.tar.gz 
00026     'web_intelligent_plain_text_to_html',
00027     'html_to_web_intelligent_plain_text',
00028     ]

Definition at line 17 of file __init__.py.

string PortalTransforms.transforms.msg = "Problem importing module %s : %s"

Definition at line 53 of file __init__.py.

tuple PortalTransforms.transforms.ns = __import__(m, g, g, None)

Definition at line 50 of file __init__.py.

Definition at line 47 of file __init__.py.