old_contents: from ingestors.base import Ingestor
  from ingestors.support.soffice import LibreOfficeSupport
  
  
  class DocumentIngestor(Ingestor, LibreOfficeSupport):
      """Office/Word document ingestor class.
  
      Converts the document to PDF and extracts the text.
      Mostly a slightly adjusted PDF ingestor.
  
      Requires system tools:
  
      - Open/Libre Office with dependencies
      - image ingestor dependencies to cover any embeded images OCR
  
      """
  
      MIME_TYPES = [
          # Text documents
          'text/richtext',
          'application/rtf',
          'application/x-rtf',
          'application/msword',
          'application/wordperfect',
          'application/vnd.wordperfect',
          'application/vnd.oasis.opendocument.text',
          'application/vnd.openxmlformats-officedocument.wordprocessingml.document',  # noqa
  
          # Presentations
          'application/vnd.ms-powerpoint',
          'application/vnd.sun.xml.impress',
          'application/vnd.ms-powerpoint.presentation',
          'application/vnd.oasis.opendocument.presentation',
          'application/vnd.openxmlformats-officedocument.presentationml.slideshow',  # noqa
          'application/vnd.openxmlformats-officedocument.presentationml.presentation',  # noqa
  
          # MS Office files with short stream missing
          'application/CDFV2-unknown',
          'application/CDFV2-corrupt'
      ]
      SCORE = 5
  
      def ingest(self, file_path):
          """Ingestor implementation."""
          with self.create_temp_dir() as temp_dir:
              pdf_path = self.document_to_pdf(file_path, temp_dir)
              self.pdf_alternative_extract(pdf_path)
  
new_contents: from ingestors.base import Ingestor
  from ingestors.support.soffice import LibreOfficeSupport
  
  
  class DocumentIngestor(Ingestor, LibreOfficeSupport):
      """Office/Word document ingestor class.
  
      Converts the document to PDF and extracts the text.
      Mostly a slightly adjusted PDF ingestor.
  
      Requires system tools:
  
      - Open/Libre Office with dependencies
      - image ingestor dependencies to cover any embeded images OCR
  
      """
  
      MIME_TYPES = [
          # Text documents
          'text/richtext',
          'application/rtf',
          'application/x-rtf',
          'application/msword',
          'application/vnd.ms-word',
          'application/wordperfect',
          'application/vnd.wordperfect',
          'application/vnd.oasis.opendocument.text',
          'application/vnd.openxmlformats-officedocument.wordprocessingml.document',  # noqa
  
          # Presentations
          'application/vnd.ms-powerpoint',
          'application/vnd.sun.xml.impress',
          'application/vnd.ms-powerpoint.presentation',
          'application/vnd.ms-powerpoint.presentation.12',
          'application/vnd.oasis.opendocument.presentation',
          'application/vnd.openxmlformats-officedocument.presentationml.slideshow',  # noqa
          'application/vnd.openxmlformats-officedocument.presentationml.presentation',  # noqa
  
          # MS Office files with short stream missing
          'application/CDFV2-unknown',
          'application/CDFV2-corrupt'
      ]
      SCORE = 5
  
      def ingest(self, file_path):
          """Ingestor implementation."""
          with self.create_temp_dir() as temp_dir:
              pdf_path = self.document_to_pdf(file_path, temp_dir)
              self.pdf_alternative_extract(pdf_path)
  
subject: Add missing MIME types