Products.MightyCal.Style.StyleCollection (version 1.7)
index
/home/zope/lib/python/Products/MightyCal/Style/StyleCollection.py

StyleCollection Class.  Contains Stylesheet objects which correspond to
Templates.  Stylesheets are requested by the Cocoon frontend, depending on various factors,
including the output format requested, the user agent, and the user's formatting choices.

 
Modules
            
Acquisition
Dumper
os
re
string
sys

 
Classes
            
Acquisition.Acquirer
StyleCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Acquisition.ExplicitAcquirer
StyleCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Products.MightyCal.SFolder.SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)
StyleCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)

 
class StyleCollection
      StyleCollection Class.  Holds Intermediate stylesheets for a particular Calendar
 
  
_StyleCollection__createStylesheetsFromFiles = __createStylesheetsFromFiles(self, ids=None)
Creates a new stylesheet based on our defaultStylesheetText, and stores it as a sub object. If the ids parameter is supplied, then we only create the stylesheet if the stripped filename (which serves as the stylesheet ID) is in the list.  This is so that this same routine can be used by the refreshStylesheets() method, which deletes and re-adds a set of stylesheets.
__init__(self, contextObject)
Construct a new instance of StyleCollection
createBlankStylesheet(self, id, title)
Creates a new blank stylesheet, and stores it as a sub object
deleteStylesheets(self, ids, REQUEST=None)
Delete the given list of Stylesheets from our registry
refreshStylesheets(self, ids, REQUEST=None)
Restore the given Stylesheets to their defaults on disk
tpValues(self, REQUEST=None)
Return the children stylesheet objects referred to in the current stylesheet collection

 
Data
             ATTRIBUTE_SET_TAG = 'xsl:attribute-set'

ATTRIBUTE_TAG = 'xsl:attribute'

BLANK_CSS = 'blank.css'

CSS_DIR = 'css'

DTML_DIR = 'dtml'

INFO = 0

MessageDialog = <HTML instance at 82c28f8>

PRODUCT_NAME = 'MightyCal'

STYLESHEET_OBJECT = 'Stylesheet'

STYLE_COLLECTION = 'StyleCollection'

STYLE_ELEMENT = 'StyleElement'

STYLE_POLICY = 'Policy for Stylesheet and related objects'

VALUE_OF_TAG = 'xsl:value-of'

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/StyleCollection.pyc'

__name__ = 'Products.MightyCal.Style.StyleCollection'

__version__ = '$Revision: 1.7 $'

permAddCalendar = 'Add Calendars'

permDelObjs = 'Delete objects'

permViewMgmtScreen = 'View management screens'