Document::OOXML::Document::Wordprocessor - Wordprocessor file (".docx")
version 0.181410
This class represents a "wordprocessor" file in OOXML format (usually, these have the extension .docx).
It will be returned by Document::OOXML when reading a document with a WordprocessingML main document part.
Remove spellcheck markers (<w:proofErr>) from the document.
<w:proofErr>
Merge the content of identical adjacent runs (<w:r> elements).
<w:r>
This is done internally to make finding and replacing text easy/possible.
Finds w:t nodes matching a specified regular expression, splits the run around the match, and returns the matching parts.
w:t
The regular expression should not contain capture groups, as this will mess with the text run splitting.
Finds all occurrences of $search in the text of the document, and replaces them with $replace.
$search
$replace
Document::OOXML
Document::OOXML::Part::WordprocessingML
Martijn van de Streek <martijn@vandestreek.net>
This software is copyright (c) 2018 by Martijn van de Streek.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Document::OOXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Document::OOXML
CPAN shell
perl -MCPAN -e shell install Document::OOXML
For more information on module installation, please visit the detailed CPAN module installation guide.