reportlab/platypus/paraparser.py
changeset 2446 6b9268ab33c3
parent 2410 f505ed647678
child 2575 0cba68b93555
equal deleted inserted replaced
2445:5e52f2209426 2446:6b9268ab33c3
   103 _fontAttrMap = {'size': ('fontSize', _num),
   103 _fontAttrMap = {'size': ('fontSize', _num),
   104                 'face': ('fontName', None),
   104                 'face': ('fontName', None),
   105                 'name': ('fontName', None),
   105                 'name': ('fontName', None),
   106                 'fg':   ('textColor', toColor),
   106                 'fg':   ('textColor', toColor),
   107                 'color':('textColor', toColor),
   107                 'color':('textColor', toColor),
       
   108                 'backcolor':('backColor',toColor),
       
   109                 'bgcolor':('backColor',toColor),
   108                 }
   110                 }
   109 
   111 
   110 def _addAttributeNames(m):
   112 def _addAttributeNames(m):
   111     K = m.keys()
   113     K = m.keys()
   112     for k in K:
   114     for k in K: