getStatistics

getStatistics

ADVANCED / PREMIUM BASIC

Counts and prints the number of pages, words, characters, paragraphs, lines, tables and images of a DOCX.

Description
public getStatistics (string $source)

This method uses the conversion plugin based on LibreOffice to count and print the number of pages, words, characters, paragraphs, lines, tables and images of a DOCX.

Parameters

source

Path to the DOCX that you want to get its statistics.

Return values

array

Code samples

Example #1