
^Q\                 @   s  d  d l  m Z d  d l m Z d d   Z d d   Z d d   Z d	 d
   Z d d   Z d d   Z	 d d   Z
 d d   Z d d   Z d d   Z d d   Z d d   Z d d   Z d d   Z d d    Z d! d"   Z d# d$   Z d% d&   Z d' d(   Z d) d*   Z d+ d,   Z d- d.   Z d/ d0   Z d1 d2   Z d3 d4   Z d5 d6   Z d7 d8   Z d9 d:   Z d; d<   Z  d= d>   Z! d? d@   Z" dA dB   Z# dC dD   Z$ dE dF   Z% dG dH   Z& dI dJ   Z' dK dL   Z( dM dN   Z) dO dP   Z* dQ dR   Z+ dS dT   Z, dU dV   Z- dW S)X    )STYLENS)Elementc              K   sV   t  |    } |  j d d  d k rR d |  k rR | j t d |  j d   qR n  | S)NZcheck_grammarTdisplaynamezdisplay-namename)r   getZ	setAttrNSr   )argse r	   >/var/www/dbchiro/venv/lib/python3.4/site-packages/odf/style.pyStyleElement   s
    "r   c              K   s   t  d t d f |   S)Nqnamezbackground-image)r   r   )r   r	   r	   r
   BackgroundImage    s    r   c              K   s   t  d t d f |   S)Nr   zchart-properties)r   r   )r   r	   r	   r
   ChartProperties#   s    r   c              K   s   t  d t d f |   S)Nr   column)r   r   )r   r	   r	   r
   Column&   s    r   c              K   s   t  d t d f |   S)Nr   z
column-sep)r   r   )r   r	   r	   r
   	ColumnSep)   s    r   c              K   s   t  d t d f |   S)Nr   columns)r   r   )r   r	   r	   r
   Columns,   s    r   c              K   s   t  d t d f |   S)Nr   zdefault-page-layout)r   r   )r   r	   r	   r
   DefaultPageLayout/   s    r   c              K   s   t  d t d f |   S)Nr   zdefault-style)r   r   )r   r	   r	   r
   DefaultStyle2   s    r   c              K   s   t  d t d f |   S)Nr   zdrawing-page-properties)r   r   )r   r	   r	   r
   DrawingPageProperties5   s    r   c              K   s   t  d t d f |   S)Nr   zdrop-cap)r   r   )r   r	   r	   r
   DropCap8   s    r   c              K   s   t  d t d f |   S)Nr   z	font-face)r   r   )r   r	   r	   r
   FontFace;   s    r   c              K   s   t  d t d f |   S)Nr   Zfooter)r   r   )r   r	   r	   r
   Footer>   s    r   c              K   s   t  d t d f |   S)Nr   zfooter-left)r   r   )r   r	   r	   r
   
FooterLeftA   s    r   c              K   s   t  d t d f |   S)Nr   zfooter-style)r   r   )r   r	   r	   r
   FooterStyleD   s    r   c              K   s   t  d t d f |   S)Nr   zfootnote-sep)r   r   )r   r	   r	   r
   FootnoteSepG   s    r   c              K   s   t  d t d f |   S)Nr   zgraphic-properties)r   r   )r   r	   r	   r
   GraphicPropertiesJ   s    r   c              K   s   t  d t d f |   S)Nr   zhandout-master)r   r   )r   r	   r	   r
   HandoutMasterM   s    r   c              K   s   t  d t d f |   S)Nr   header)r   r   )r   r	   r	   r
   HeaderP   s    r    c              K   s   t  d t d f |   S)Nr   zheader-footer-properties)r   r   )r   r	   r	   r
   HeaderFooterPropertiesS   s    r!   c              K   s   t  d t d f |   S)Nr   zheader-left)r   r   )r   r	   r	   r
   
HeaderLeftV   s    r"   c              K   s   t  d t d f |   S)Nr   zheader-style)r   r   )r   r	   r	   r
   HeaderStyleY   s    r#   c              K   s   t  d t d f |   S)Nr   zlist-level-label-alignment)r   r   )r   r	   r	   r
   ListLevelLabelAlignment\   s    r$   c              K   s   t  d t d f |   S)Nr   zlist-level-properties)r   r   )r   r	   r	   r
   ListLevelProperties_   s    r%   c              K   s   t  d t d f |   S)Nr   map)r   r   )r   r	   r	   r
   Mapb   s    r'   c              K   s   t  d t d f |   S)Nr   zmaster-page)r   r   )r   r	   r	   r
   
MasterPagee   s    r(   c              K   s   t  d t d f |   S)Nr   zpage-layout)r   r   )r   r	   r	   r
   
PageLayouth   s    r)   c              K   s   t  d t d f |   S)Nr   zpage-layout-properties)r   r   )r   r	   r	   r
   PageLayoutPropertiesk   s    r*   c              K   s   t  d t d f |   S)Nr   zparagraph-properties)r   r   )r   r	   r	   r
   ParagraphPropertiesn   s    r+   c              K   s   t  d t d f |   S)Nr   zpresentation-page-layout)r   r   )r   r	   r	   r
   PresentationPageLayoutq   s    r,   c              K   s   t  d t d f |   S)Nr   zregion-center)r   r   )r   r	   r	   r
   RegionCentert   s    r-   c              K   s   t  d t d f |   S)Nr   zregion-left)r   r   )r   r	   r	   r
   
RegionLeftw   s    r.   c              K   s   t  d t d f |   S)Nr   zregion-right)r   r   )r   r	   r	   r
   RegionRightz   s    r/   c              K   s   t  d t d f |   S)Nr   zruby-properties)r   r   )r   r	   r	   r
   RubyProperties}   s    r0   c              K   s   t  d t d f |   S)Nr   zsection-properties)r   r   )r   r	   r	   r
   SectionProperties   s    r1   c              K   s   t  d t d f |   S)Nr   style)r   r   )r   r	   r	   r
   Style   s    r3   c              K   s   t  d t d f |   S)Nr   ztab-stop)r   r   )r   r	   r	   r
   TabStop   s    r4   c              K   s   t  d t d f |   S)Nr   z	tab-stops)r   r   )r   r	   r	   r
   TabStops   s    r5   c              K   s   t  d t d f |   S)Nr   ztable-cell-properties)r   r   )r   r	   r	   r
   TableCellProperties   s    r6   c              K   s   t  d t d f |   S)Nr   ztable-column-properties)r   r   )r   r	   r	   r
   TableColumnProperties   s    r7   c              K   s   t  d t d f |   S)Nr   ztable-properties)r   r   )r   r	   r	   r
   TableProperties   s    r8   c              K   s   t  d t d f |   S)Nr   ztable-row-properties)r   r   )r   r	   r	   r
   TableRowProperties   s    r9   c              K   s   t  d t d f |   S)Nr   ztext-properties)r   r   )r   r	   r	   r
   TextProperties   s    r:   N).Zodf.namespacesr   Zodf.elementr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r3   r4   r5   r6   r7   r8   r9   r:   r	   r	   r	   r
   <module>   sV   