summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-04 08:26:57 +0200
committerRemi Collet <remi@remirepo.net>2019-05-04 08:26:57 +0200
commitec5584696e5bea326a79dc8f19feb2d3fa65729c (patch)
tree0d96fdc37b6d6af695037e1d9e953953983d989c
parent3dd0d48a1270b8d3db24e131d26c0fa1de862b80 (diff)
v1.2.4
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION161
-rw-r--r--php-pecl-xlswriter.spec11
3 files changed, 152 insertions, 26 deletions
diff --git a/PHPINFO b/PHPINFO
index ca684de..50d4848 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,6 @@
xlswriter
xlswriter support => enabled
-Version => 1.2.3
-libxlsxwriter headers version => 0.8.4
-libxlsxwriter library version => 0.8.4
+Version => 1.2.4
+libxlsxwriter headers version => 0.8.6
+libxlsxwriter library version => 0.8.6
diff --git a/REFLECTION b/REFLECTION
index d4e4e3b..2b739e5 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,6 @@
-Extension [ <persistent> extension #171 xlswriter version 1.2.3 ] {
+Extension [ <persistent> extension #177 xlswriter version 1.2.4 ] {
- - Classes [3] {
+ - Classes [4] {
Class [ <internal:xlswriter> class Vtiful\Kernel\Exception extends Exception implements Throwable ] {
- Constants [0] {
@@ -74,7 +74,7 @@ Extension [ <persistent> extension #171 xlswriter version 1.2.3 ] {
Property [ <default> private $fileName ]
}
- - Methods [15] {
+ - Methods [17] {
Method [ <internal:xlswriter, ctor> public method __construct ] {
- Parameters [1] {
@@ -138,16 +138,37 @@ Extension [ <persistent> extension #171 xlswriter version 1.2.3 ] {
Parameter #0 [ <required> $row ]
Parameter #1 [ <required> $column ]
Parameter #2 [ <required> $data ]
+ Parameter #3 [ <required> $format_handle ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method insertChart ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $row ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <required> $chart_resource ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method insertUrl ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $row ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <required> $url ]
Parameter #3 [ <required> $format ]
}
}
Method [ <internal:xlswriter> public method insertImage ] {
- - Parameters [3] {
+ - Parameters [5] {
Parameter #0 [ <required> $row ]
Parameter #1 [ <required> $column ]
Parameter #2 [ <required> $image ]
+ Parameter #3 [ <optional> $width ]
+ Parameter #4 [ <optional> $height ]
}
}
@@ -190,7 +211,7 @@ Extension [ <persistent> extension #171 xlswriter version 1.2.3 ] {
Class [ <internal:xlswriter> class Vtiful\Kernel\Format ] {
- - Constants [16] {
+ - Constants [32] {
Constant [ public integer UNDERLINE_SINGLE ] { 1 }
Constant [ public integer UNDERLINE_DOUBLE ] { 2 }
Constant [ public integer UNDERLINE_SINGLE_ACCOUNTING ] { 3 }
@@ -207,47 +228,151 @@ Extension [ <persistent> extension #171 xlswriter version 1.2.3 ] {
Constant [ public integer FORMAT_ALIGN_VERTICAL_CENTER ] { 10 }
Constant [ public integer FORMAT_ALIGN_VERTICAL_JUSTIFY ] { 11 }
Constant [ public integer FORMAT_ALIGN_VERTICAL_DISTRIBUTED ] { 12 }
+ Constant [ public integer COLOR_BLACK ] { 16777216 }
+ Constant [ public integer COLOR_BLUE ] { 255 }
+ Constant [ public integer COLOR_BROWN ] { 8388608 }
+ Constant [ public integer COLOR_CYAN ] { 65535 }
+ Constant [ public integer COLOR_GRAY ] { 8421504 }
+ Constant [ public integer COLOR_GREEN ] { 32768 }
+ Constant [ public integer COLOR_LIME ] { 65280 }
+ Constant [ public integer COLOR_MAGENTA ] { 16711935 }
+ Constant [ public integer COLOR_NAVY ] { 128 }
+ Constant [ public integer COLOR_ORANGE ] { 16737792 }
+ Constant [ public integer COLOR_PINK ] { 16711935 }
+ Constant [ public integer COLOR_PURPLE ] { 8388736 }
+ Constant [ public integer COLOR_RED ] { 16711680 }
+ Constant [ public integer COLOR_SILVER ] { 12632256 }
+ Constant [ public integer COLOR_WHITE ] { 16777215 }
+ Constant [ public integer COLOR_YELLOW ] { 16776960 }
}
- Static properties [0] {
}
- - Static methods [4] {
- Method [ <internal:xlswriter> static public method bold ] {
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [8] {
+ Method [ <internal:xlswriter, ctor> public method __construct ] {
- Parameters [1] {
Parameter #0 [ <required> $handle ]
}
}
- Method [ <internal:xlswriter> static public method italic ] {
+ Method [ <internal:xlswriter> public method bold ] {
+ }
+
+ Method [ <internal:xlswriter> public method italic ] {
+ }
+
+ Method [ <internal:xlswriter> public method underline ] {
- Parameters [1] {
- Parameter #0 [ <required> $handle ]
+ Parameter #0 [ <required> $style ]
}
}
- Method [ <internal:xlswriter> static public method underline ] {
+ Method [ <internal:xlswriter> public method align ] {
- - Parameters [2] {
- Parameter #0 [ <required> $handle ]
- Parameter #1 [ <required> $style ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $style ]
}
}
- Method [ <internal:xlswriter> static public method align ] {
+ Method [ <internal:xlswriter> public method color ] {
- - Parameters [2] {
- Parameter #0 [ <required> $handle ]
- Parameter #1 [ <required> $style ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $color ]
}
}
+
+ Method [ <internal:xlswriter> public method number ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $format ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method toResource ] {
+ }
+ }
+ }
+
+ Class [ <internal:xlswriter> class Vtiful\Kernel\Chart ] {
+
+ - Constants [3] {
+ Constant [ public integer CHART_LINE ] { 11 }
+ Constant [ public integer CHART_COLUMN ] { 7 }
+ Constant [ public integer CHART_AREA ] { 1 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
}
- Properties [0] {
}
- - Methods [0] {
+ - Methods [8] {
+ Method [ <internal:xlswriter, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <required> $type ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method series ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $value ]
+ Parameter #1 [ <optional> $categories ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method seriesName ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method style ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $style ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method axisNameY ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $name ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method axisNameX ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $name ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method title ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $title ]
+ }
+ }
+
+ Method [ <internal:xlswriter> public method toResource ] {
+ }
}
}
}
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index 701100c..32c2ba8 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-xlswriter
#
-# Copyright (c) 2018 Remi Collet
+# Copyright (c) 2018-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -29,7 +29,7 @@
Summary: An efficient and fast xlsx file export extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.3
+Version: 1.2.4
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: http://pecl.php.net/package/%{pecl_name}
@@ -57,8 +57,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
@@ -107,7 +105,7 @@ cd NTS
rm -r library
# Sanity check, really often broken
-extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xls_writer.h)
+extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xlswriter.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{prever}}.
exit 1
@@ -246,6 +244,9 @@ cd ..
%changelog
+* Sat May 4 2019 Remi Collet <remi@remirepo.net> - 1.2.4-1
+- update to 1.2.4
+
* Sun Nov 25 2018 Remi Collet <remi@remirepo.net> - 1.2.3-1
- update to 1.2.3