CRM_Utils_PDF_Document
class CRM_Utils_PDF_Document
Class CRM_Utils_PDF_Document.
Properties
static | $ooxmlMap |
Methods
static
html2doc(array $pages, string $fileName, array|int $format = [])
Convert html to a Doc file.
static
printDoc(object|string $phpWord, string $ext, string $fileName)
No description
static int
toTwip($value, $metric)
No description
static array
docReader(array $path, string $type)
No description
static array
unzipDoc(string $filePath, string $docType)
Extract content of docx/odt file
static string
printDocuments(array $contents, string $fileName, string $docType, clsTbsZip $zip, bool $returnFinalContent = FALSE)
Modify contents of docx/odt file(s) and later merged into one final document
Details
at line 66
static
html2doc(array $pages, string $fileName, array|int $format = [])
Convert html to a Doc file.
at line 114
static
printDoc(object|string $phpWord, string $ext, string $fileName)
at line 141
static int
toTwip($value, $metric)
at line 153
static array
docReader(array $path, string $type)
at line 173
static array
unzipDoc(string $filePath, string $docType)
Extract content of docx/odt file
at line 201
static string
printDocuments(array $contents, string $fileName, string $docType, clsTbsZip $zip, bool $returnFinalContent = FALSE)
Modify contents of docx/odt file(s) and later merged into one final document