code: def parse_headerline(self, line):
          #Process incoming header line
          
          
          # Save each header field (that we know) and its own value in the dict        
          if line.startswith('Results quantitative'):
              line = to_unicode(line)
              if len(self._header) == 0:
                  self.err("Unexpected header format", numline=self._numline)
                  return -1
  
              line = line.replace(',', "")
              splitted = line.split(' - ')
              self._header['Quantitative'] = splitted[1]
              return 1
  
          if line.startswith('Selected archive'):
              if len(self._header) == 0:
                  self.err("No header found", numline=self._numline)
                  return -1
  
              splitted = self.splitLine(line)
              if len(splitted) > 1:
                  self._header['Archive'] = splitted[1].replace('"', '').strip()
              else:
                  self.warn('Unexpected header format', numline=self._numline)
              return 0
  
          if line.startswith('Number of'):
              if len(self._header) == 0:
                  self.err("No header found", numline=self._numline)
                  return -1
  
              splitted = self.splitLine(line)
              if len(splitted) > 1:
                  self._header['NumResults'] = splitted[1].replace('"', '').strip()
              else:
                  self.warn('Unexpected header format', numline=self._numline)
              return 0
  
          if line.startswith('Seq.'):
              if len(self._header) == 0:
                  self.err("No header found", numline=self._numline)
                  return -1
              #Grab column names
              self._columns = line.split(',')
              self._end_header = True
              return 1
  
          else:
              self._header['Date'] = line
              return 1
docs: 11/03/2014 14:46:46
          PANalytical
          Results quantitative - Omnian 2013,
  
          Selected archive:,Omnian 2013
          Number of results selected:,4