This article explains how to detect document file type and calculate Pages count when merge PDF, Word(DOC, DOCX), Excel(XLS, XLSX), PowerPoint(PPT, PPTX) files with GroupDocs.Merger....txt — every page also has a Markdown version...name etc. - indicates count of pages for text processing document...