Skip to content

Return Total Words in a File #2313

Open
@shimul49

Description

@shimul49

I need to show the total words in the Word file I am working on. How do I do that using PHPWord?

Hi,
In the bottom section of any Word file, we can see the total words in that file. In a recent project, I face a word counting issue while trying to use Arabic and PHPWord, as the default PHP word counting functions also fail for Arabic, I am wonder if there is any function/procedure that already exists in PHPWord that returns the total number of words in a file I am reading using PHPWord.

Although I have no idea how important this function is to request this as an upcoming feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions