From ec5584696e5bea326a79dc8f19feb2d3fa65729c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 4 May 2019 08:26:57 +0200 Subject: v1.2.4 --- PHPINFO | 6 +- REFLECTION | 161 ++++++++++++++++++++++++++++++++++++++++++------ php-pecl-xlswriter.spec | 11 ++-- 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 [ extension #171 xlswriter version 1.2.3 ] { +Extension [ extension #177 xlswriter version 1.2.4 ] { - - Classes [3] { + - Classes [4] { Class [ class Vtiful\Kernel\Exception extends Exception implements Throwable ] { - Constants [0] { @@ -74,7 +74,7 @@ Extension [ extension #171 xlswriter version 1.2.3 ] { Property [ private $fileName ] } - - Methods [15] { + - Methods [17] { Method [ public method __construct ] { - Parameters [1] { @@ -138,16 +138,37 @@ Extension [ extension #171 xlswriter version 1.2.3 ] { Parameter #0 [ $row ] Parameter #1 [ $column ] Parameter #2 [ $data ] + Parameter #3 [ $format_handle ] + } + } + + Method [ public method insertChart ] { + + - Parameters [3] { + Parameter #0 [ $row ] + Parameter #1 [ $column ] + Parameter #2 [ $chart_resource ] + } + } + + Method [ public method insertUrl ] { + + - Parameters [4] { + Parameter #0 [ $row ] + Parameter #1 [ $column ] + Parameter #2 [ $url ] Parameter #3 [ $format ] } } Method [ public method insertImage ] { - - Parameters [3] { + - Parameters [5] { Parameter #0 [ $row ] Parameter #1 [ $column ] Parameter #2 [ $image ] + Parameter #3 [ $width ] + Parameter #4 [ $height ] } } @@ -190,7 +211,7 @@ Extension [ extension #171 xlswriter version 1.2.3 ] { Class [ 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 [ 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 [ static public method bold ] { + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $handle ] } } - Method [ static public method italic ] { + Method [ public method bold ] { + } + + Method [ public method italic ] { + } + + Method [ public method underline ] { - Parameters [1] { - Parameter #0 [ $handle ] + Parameter #0 [ $style ] } } - Method [ static public method underline ] { + Method [ public method align ] { - - Parameters [2] { - Parameter #0 [ $handle ] - Parameter #1 [ $style ] + - Parameters [1] { + Parameter #0 [ $style ] } } - Method [ static public method align ] { + Method [ public method color ] { - - Parameters [2] { - Parameter #0 [ $handle ] - Parameter #1 [ $style ] + - Parameters [1] { + Parameter #0 [ $color ] } } + + Method [ public method number ] { + + - Parameters [1] { + Parameter #0 [ $format ] + } + } + + Method [ public method toResource ] { + } + } + } + + Class [ 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 [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $handle ] + Parameter #1 [ $type ] + } + } + + Method [ public method series ] { + + - Parameters [2] { + Parameter #0 [ $value ] + Parameter #1 [ $categories ] + } + } + + Method [ public method seriesName ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method style ] { + + - Parameters [1] { + Parameter #0 [ $style ] + } + } + + Method [ public method axisNameY ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method axisNameX ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method title ] { + + - Parameters [1] { + Parameter #0 [ $title ] + } + } + + Method [ 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 - 1.2.4-1 +- update to 1.2.4 + * Sun Nov 25 2018 Remi Collet - 1.2.3-1 - update to 1.2.3 -- cgit