$readDataOnly
$readDataOnly : boolean
Read data only?
Reader for Word2007
load(string $docFile) : \PhpOffice\PhpWord\PhpWord
Loads PhpWord from file
| string | $docFile |
| None found |
openFile(string $filename) : resource
Open file for reading
| string | $filename |
| None found |
readPart(\PhpOffice\PhpWord\PhpWord $phpWord, array $relationships, string $partName, string $docFile, string $xmlFile)
Read document part.
| \PhpOffice\PhpWord\PhpWord | $phpWord | |
| array | $relationships | |
| string | $partName | |
| string | $docFile | |
| string | $xmlFile |
| None found |
readRelationships(string $docFile) : array
Read all relationship files
| string | $docFile |
| None found |
getRels(string $docFile, string $xmlFile, string $targetPrefix = '') : array
Get relationship array
| string | $docFile | |
| string | $xmlFile | |
| string | $targetPrefix |
| None found |