Utilities
package |
Docxpresso |
---|---|
subpackage |
Core |
attributes2Array(\Docxpresso\Commons\DOMNode $node) : array
access |
public |
---|---|
static |
\Docxpresso\Commons\DOMNode
array
cleanPath(string $path) : string
access |
public |
---|---|
static |
string
string
convertUnits(string $unit, string $prop) : float
access |
public |
---|---|
static |
string
string
float
extractBaseURL(string $path) : string
access |
public |
---|---|
static |
string
string
generateId(string $prefix = 'style_') : string
access |
public |
---|---|
static |
string
string
generateURL(string $baseURL, string $path) : string
access |
public |
---|---|
static |
string
string
string
getBackgroundImage(string $path) : string
access |
public |
---|---|
static |
string
string
getImgResolution(string $imageData, string $extension) : array
access |
public |
---|---|
static |
string
string
array
getImgSize(string $imageData) : array
access |
public |
---|---|
static |
string
array
insertAsFirstChild(\Docxpresso\Commons\DOMNode $node, \Docxpresso\Commons\DOMNode $child) : array
access |
public |
---|---|
static |
\Docxpresso\Commons\DOMNode
the receptor node
\Docxpresso\Commons\DOMNode
the node we wish to insert
array
isHTML(string $string) : boolean
access |
public |
---|---|
static |
string
boolean
jpgResolution(string $imageData) : array
access |
public |
---|---|
static |
string
array
matrixMultiplication(array $matrix_1, array $matrix_2) : array
access |
public |
---|---|
static |
array
array
array
pngResolution(string $imageData) : array
access |
public |
---|---|
static |
string
array
updateNodeValue(string $nodeName, string $value, \Docxpresso\Commons\DOMNode $parentNode) : void
access |
public |
---|---|
static |
string
the name of the node we want to update
string
\Docxpresso\Commons\DOMNode
the parent node of the updated node
UTF8Encoded(string $str) : boolean
access |
public |
---|---|
static |
string
boolean