Show
Ignore:
Timestamp:
12/09/07 15:26:15 (16 years ago)
Author:
jerome
Message:

Each parser now has a 'format' attribute containing its short name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/ooo.py

    r527 r555  
    3232    totiffcommands = [ 'xvfb-run -a abiword --import-extension=.odt --print="| gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r\"%(dpi)i\" -sOutputFile=\"%(outfname)s\" -" "%(infname)s"' ] 
    3333    required = [ "xvfb-run", "xauth", "abiword", "gs" ] 
     34    format = "ISO/IEC DIS 26300" 
    3435    def isValid(self) :         
    3536        """Returns True if data is OpenDocument, else False.""" 
     
    4243                return False 
    4344            else : 
    44                 self.logdebug("DEBUG: Input file is in the OpenDocument (ISO/IEC DIS 26300) format.") 
    4545                return True 
    4646        else :