| |
- Acquisition.Acquirer
-
- StyleElement(Persistence.Persistent, Acquisition.ExplicitAcquirer, Acquisition.Acquirer, AccessControl.Role.RoleManager, OFS.SimpleItem.Item)
- exceptions.Exception
-
- IllegalStyleElementException
- Acquisition.ExplicitAcquirer
-
- StyleElement(Persistence.Persistent, Acquisition.ExplicitAcquirer, Acquisition.Acquirer, AccessControl.Role.RoleManager, OFS.SimpleItem.Item)
- OFS.SimpleItem.Item(ExtensionClass.Base, webdav.Resource.Resource, OFS.CopySupport.CopySource, App.Management.Tabs, OFS.Traversable.Traversable, OFS.ZDOM.Element, AccessControl.Owned.Owned, App.Undo.UndoSupport)
-
- StyleElement(Persistence.Persistent, Acquisition.ExplicitAcquirer, Acquisition.Acquirer, AccessControl.Role.RoleManager, OFS.SimpleItem.Item)
- Persistence.Persistent
-
- StyleElement(Persistence.Persistent, Acquisition.ExplicitAcquirer, Acquisition.Acquirer, AccessControl.Role.RoleManager, OFS.SimpleItem.Item)
- AccessControl.Role.RoleManager(ExtensionClass.Base, AccessControl.PermissionMapping.RoleManager)
-
- StyleElement(Persistence.Persistent, Acquisition.ExplicitAcquirer, Acquisition.Acquirer, AccessControl.Role.RoleManager, OFS.SimpleItem.Item)
class StyleElement |
|
The StyleElement class stores the properties associated with a particular CSS
element; i.e. the property-value pairs that would normally go between the braces
'{}' in a CSS text stylesheet |
|
- __init__(self, id, properties)
- The properties parameter needs to be a Dictionary of property/value pairs
- getProperties(self, REQUEST=None)
- Returns the properties in a list of (key, value) pairs
- manage_addProperty(self, id, value, REQUEST)
- Add a new property/value pair to this StyleElement
- manage_delProperties(self, ids, REQUEST)
- Delete the marked properties from this StyleElement
- manage_editProperties(self, REQUEST)
- Update the property values for this StyleElement
- renderAsCSS(self)
- Render the StyleElement as CSS element text (e.g. 'H2 { font-face: Verdana; }' )
- renderAsXML(self)
- Render the StyleElement as an XML fragment, usable by the Cocoon XSLT processor to
attach properties to the XSL-FO elements that generate a PDF (or RTF) calendar view
| |