DOCUMENT
in package
DOCUMENT class
Create content for the word/document.xml file
The minimum is provided here. Output from a Word docx file for document.xml is commented at the bottom in case more is needed.
Table of Contents
Methods
- __construct() : mixed
- Constructor
- create() : string
- Create the /word/document.xml file in memory and return it. $prefs is populated if this is called from the WP.
Methods
__construct()
Constructor
public
__construct() : mixed
create()
Create the /word/document.xml file in memory and return it. $prefs is populated if this is called from the WP.
public
create(string $fDir, string $fName[, array<string|int, mixed> $prefs = [] ]) : string
Parameters
- $fDir : string
- $fName : string
- $prefs : array<string|int, mixed> = []
-
Default is []