docx2text

The Gravity PDF docx2text function.

Description

docx2text( (string) $filename ); 

Parameters (1)

0. $filename (string)
The filename.

Usage

  1. if ( !function_exists( 'docx2text' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'gravity-pdf/vendor/querypath/querypath/examples/docx.php'; 
  3.  
  4. // The filename. 
  5. $filename = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = docx2text($filename); 
  9.  

Defined (1)

The function is defined in the following location(s).

/vendor/querypath/querypath/examples/docx.php  
  1. function docx2text($filename) { 
  2. return readZippedXML($filename, "word/document.xml");