public DocxFileService() { validator = new FileValidator(".docx"); textExtractor = new DocumentTextRunExtractionService(); }
public DocxTextMerger(IDocumentTextRunExtractionService textExtractionService) { this.textExtractionService = textExtractionService ?? throw new ArgumentNullException("The text extraction service cannot be null."); }