Module ed_style
#--------------------------------------------------------------------------#
# FILE: ed_style.py
# # AUTHOR: Cody Precord
# # LANGUAGE: Python
# # SUMMARY:
# # Provides classes/functions to manage the document styling.
# #
# # CLASS: StyleItem
# # METHODS:
# # -SetFore,SetBack,SetFace,SetSize: Set values of named attributes
# # -SetAttrFromString: Convert a style string to a StyleItem
# #
# # CLASS: StyleMgr
# # METHODS:
# # -DefaultStyleDictionary: Returns the Default Styles
# # -GetFontDictionary: Does a font lookup and returns a dictonary of
fonts # # -GetStyleByName: Looksup and returns a style string by named
key. # # -HasNamedStyle: Returns true if a named style key has
been defined. # # -LoadStyleSheet: Loads a custom style sheet.
# # -MergeFonts: Merges the font dictonary into the style items.
#
#--------------------------------------------------------------------------#
Author:
Cody Precord <cprecord@editra.org>
|
|
StyleItem
A storage class for holding styling information
|
|
|
StyleMgr
Manages style definitions and provides them on request.
|
|
|
STY_ATTRIBUTES = u'face fore back size'
|
|
|
STY_EX_ATTRIBUTES = u'eol bold italic underline'
|
|
|
__revision__ = '$Revision: 551 $'
|
|
|
__svnid__ = '$Id: ed_style.py 551 2007-09-28 07:58:06Z CodyPre...
|
__svnid__
- Value:
'$Id: ed_style.py 551 2007-09-28 07:58:06Z CodyPrecord $'
|
|