Products.MightyCal.Style.Stylesheet (version 1.7) | index /home/zope/lib/python/Products/MightyCal/Style/Stylesheet.py |
Stylesheet: Holds and manages a named set of CSS elements. Each CSS element is instantiated as a separate object, and the Stylesheet acts like a Zope Folder in containing the tags. When the Stylesheet is asked, it will take the CSS elements objects it contains and produce a complete CSS stylesheet in standard text format, dynamically. Stylesheets are primarily used by user agents that handle HTML documents, but they can also be used to style a variety of other XML-based documents, in particular VoiceXML. Also, the XSL-FO properties were deliberately made very similar to CSS, so that a Stylesheet object can be used to contain properties for styling PDF documents as well as HTML.
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
|
Data | ||
ATTRIBUTE_SET_TAG = 'xsl:attribute-set' ATTRIBUTE_TAG = 'xsl:attribute' BLANK_CSS = 'blank.css' DTML_DIR = 'dtml' INFO = 0 STYLESHEET_OBJECT = 'Stylesheet' STYLE_ELEMENT = 'StyleElement' STYLE_POLICY = 'Policy for Stylesheet and related objects' VALUE_OF_TAG = 'xsl:value-of' XML_START_TAG = '<?xml version="1.0" ?>' XSL_NAMESPACE_ATTRIBUTE = 'xmlns:xsl="http://www.w3.org/1999/XSL/Transform"' XSL_STYLESHEET_TAG = 'style-attribute-sets' __file__ = '/home/zope/lib/python/Products/MightyCal/Style/Stylesheet.pyc' __name__ = 'Products.MightyCal.Style.Stylesheet' __version__ = '$Revision: 1.7 $' permAddStylesheet = 'Add Stylesheets' permDelObjs = 'Delete objects' permViewMgmtScreen = 'View management screens' |