mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
Switched to style tags
This commit is contained in:
parent
5309e6a002
commit
d49f8996df
@ -484,13 +484,15 @@ class SimpleXLSXGen {
|
|||||||
if ( strpos( $v, '<s>' ) !== false ) {
|
if ( strpos( $v, '<s>' ) !== false ) {
|
||||||
$F += self::F_STRIKE;
|
$F += self::F_STRIKE;
|
||||||
}
|
}
|
||||||
if ( strpos( $v, '<color rgb' ) !== false ) {
|
if ( strpos( $v, '<style' ) !== false ) {
|
||||||
preg_match('/(?<=<color rgb=").*?(?=")/', $v, $cValue);
|
preg_match('/(?<= color=").*?(?=")/', $v, $cValue);
|
||||||
$C = $cValue[0];
|
if(!empty($cValue)){
|
||||||
}
|
$C = $cValue[0];
|
||||||
if ( strpos( $v, '<fill rgb' ) !== false ) {
|
}
|
||||||
preg_match('/(?<=<fill rgb=").*?(?=")/', $v, $bValue);
|
preg_match('/(?<= bgcolor=").*?(?=")/', $v, $bValue);
|
||||||
$B = $bValue[0];
|
if(!empty($bValue)){
|
||||||
|
$B = $bValue[0];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ( strpos( $v, '<left>' ) !== false ) {
|
if ( strpos( $v, '<left>' ) !== false ) {
|
||||||
$A += self::A_LEFT;
|
$A += self::A_LEFT;
|
||||||
|
Loading…
Reference in New Issue
Block a user