/usr/lib/python2.6/site-packages/tablib/packages/xlwt
Edit: /usr/lib/python2.6/site-packages/tablib/packages/xlwt/Formatting.pyc (8945B)
}DVc @ s d Z d d k Z d e f d YZ d e f d YZ d e f d YZ d e f d
YZ d e f d YZ d S(
s
The XF record is able to store explicit cell formatting attributes or the
attributes of a cell style. Explicit formatting includes the reference to
a cell style XF record. This allows to extend a defined cell style with
some explicit attributes. The formatting attributes are divided into
6 groups:
Group Attributes
-------------------------------------
Number format Number format index (index to FORMAT record)
Font Font index (index to FONT record)
Alignment Horizontal and vertical alignment, text wrap, indentation,
orientation/rotation, text direction
Border Border line styles and colours
Background Background area style and colours
Protection Cell locked, formula hidden
For each group a flag in the cell XF record specifies whether to use the
attributes contained in that XF record or in the referenced style
XF record. In style XF records, these flags specify whether the attributes
will overwrite explicit cell formatting when the style is applied to
a cell. Changing a cell style (without applying this style to a cell) will
change all cells which already use that style and do not contain explicit
cell attributes for the changed style attributes. If a cell XF record does
not contain explicit attributes in a group (if the attribute group flag
is not set), it repeats the attributes of its style XF record.
iNt Fontc B s e Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d Z d Z d Z
d Z d Z d Z d Z d Z d Z d Z d
Z d Z d Z d
Z d Z d Z d Z d Z d Z d Z d Z d Z d Z! d Z" d Z# d Z$ d Z% RS( i i i i! i" i i i iM i i i i i i i i i i i i i i i c C s d | _ t | _ t | _ t | _ t | _ d | _ t | _ d | _ | i | _
| i | _ | i
| _ | i | _ d | _ d S( Ni i i t Arial( t heightt Falset italict
struck_outt outlinet shadowt colour_indext boldt _weightt ESCAPEMENT_NONEt
escapementt UNDERLINE_NONEt underlinet FAMILY_NONEt familyt CHARSET_SYS_DEFAULTt charsett name( t self( ( s? /tmp/pip-build-lt8jXN/tablib/tablib/packages/xlwt/Formatting.pyt __init__H s c
C s | i } d } | i o | d O} d | _ n | i o | d O} n | i | i j o | d O} n | i o | d O} n | i o | d O} n | i o | d O} n | i } | i } | i
} | i } | i } | i } | i
} t i | | | | | | | | | S( Ni i i i i i i i ( R R R
R R R
R R R R R R R R t BIFFRecordst
FontRecord(
R R t optionsR t weightR R R R R ( ( s? /tmp/pip-build-lt8jXN/tablib/tablib/packages/xlwt/Formatting.pyt get_biff_record[ s2
c
C sR | i | i | i | i | i | i | i | i | i | i | i
| i | i f
S( N(
R R R R R R R R
R R R R R ( R ( ( s? /tmp/pip-build-lt8jXN/tablib/tablib/packages/xlwt/Formatting.pyt _search_keyy s (&