File: //lib64/libreoffice/program/wizards/fax/FaxDocument.pyc
�
�\Ofc @ s� d d l m Z m Z m Z m Z d d l m Z d d l m Z d d l m
Z
d d l m Z d d l
m Z d e f d � � YZ d
S( i ( t TextDocumentt tracebackt TextFieldHandlert
Configuration( t TextSectionHandleri����( t PARAGRAPH_BREAK( t CENTER( t CURRENT( t ARABICt FaxDocumentc B sY e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
RS( c C s5 t t | � j | | d d � t | _ t | _ d S( Nt WIZARD_LIVE_PREVIEW( t superR t __init__t Nonet Truet
keepLogoFramet
keepTypeFrame( t selft xMSFt listener( ( s9 /usr/lib64/libreoffice/program/wizards/fax/FaxDocument.pyR s c C sY y7 t | j | j � } | j j j | � } | | _ Wn t k
rT t j � n Xd S( N( R R t
xTextDocumentt TextSectionst getByNamet IsVisiblet ExceptionR t print_exc( R t sElementt bStatet mySectionHandlert oSection( ( s9 /usr/lib64/libreoffice/program/wizards/fax/FaxDocument.pyt
switchElement# s
c C s# t | j | j � } | j � d S( N( R R t updateDateFields( R t FH( ( s9 /usr/lib64/libreoffice/program/wizards/fax/FaxDocument.pyR - s c
C s@ | j d k r<y� | j j � | j j j d � } | j | � } | r� | j d t � | j } | | _ | r | j j
� } | j t � | j
| t t � | j d t � | j j d � } | j d t � t | _ | j | j | t � q n t | _ | j j � Wq<t k
r8| j j � t j � q<Xn d S( Nt
PageStylest
FooterIsOnt
ParaAdjusts&