File: //lib64/libreoffice/program/wizards/common/ConfigSet.pyc
�
�\Ofc @ s6 d d l Z d d l m Z d e f d � � YZ d S( i����Ni ( t ConfigGroupt ConfigSetc B s) e Z d Z d � Z d � Z d � Z RS( s�
After reading the configuration set items,
the ConfigSet checks this field.
If it is true, it will remove any nulls from
the vector.
subclasses can change this field in the constructor
to avoid this "deletion" of nulls.
c C s | | _ g | _ d | _ d S( Ni ( t childTypet childrenListt childrenListLen( t selfR ( ( s: /usr/lib64/libreoffice/program/wizards/common/ConfigSet.pyt __init__ s c C s� x$ t | j � D] } | j | � q Wx� t | j � D]� \ } } y� | j � } | j | | � t | j � r� | j � } | d j | _
| d j | _ | d j | _ | d j | _
| j | | � n Wq7 t k
r� t j � q7 Xq7 Wd S( Ni i i i ( t rangeR t removeByNamet enumerateR t createInstancet insertByNamet callableR t Valuet cp_Indext cp_Topict cp_Responsiblet cp_Timet writeConfigurationt Exceptiont tracebackt print_exc( R t configurationViewt paramt it indext itemt childViewt topic( ( s: /usr/lib64/libreoffice/program/wizards/common/ConfigSet.pyR $ s
c C s� | j } | r� xz | D]o } yK t | j � rf | j � } | j | j | � | � | j j | � n Wq t k
r� t j � q Xq Wn t
| j � | _ d S( N( t ElementNamesR R t readConfigurationt getByNameR t appendR R R t lenR ( R R R t namesR R ( ( s: /usr/lib64/libreoffice/program/wizards/common/ConfigSet.pyR 6 s
( t __name__t
__module__t __doc__R R R ( ( ( s: /usr/lib64/libreoffice/program/wizards/common/ConfigSet.pyR s ( R R R ( ( ( s: /usr/lib64/libreoffice/program/wizards/common/ConfigSet.pyt <module> s