Permalink
Browse files

Allow compilation against LibXL 2.4.3k

Added ExcelSheet::setProtect(), ExcelSheet::protect() to set/get sheet protection
Added ExcelSheet::setPrintHeaders() to set printability of column/row headers
Added ExcelSheet::setCellFormat() method (LibXL 2.4.3k+) to set a cell format
Added ExcelBook::getAllFormats() method (LibXL 2.4.3k+) to get a list of all document formats
  • Loading branch information...
1 parent dcc7323 commit 717274f239c25773672aa75620de9d11cfdce33c Ilia committed Aug 2, 2010
Showing with 446 additions and 35 deletions.
  1. +66 −0 .gitignore
  2. +8 −4 ChangeLog
  3. +5 −0 config.m4
  4. +134 −24 excel.c
  5. +0 −2 php_excel.h
  6. +7 −3 tests/045.phpt
  7. +0 −2 tests/050.phpt
  8. +27 −0 tests/051.phpt
  9. +35 −0 tests/052.phpt
  10. +164 −0 tests/053.phpt
View
@@ -0,0 +1,66 @@
+*~
+*.swp
+*.lo
+*.la
+.deps
+.libs
+Makefile
+Makefile.fragments
+Makefile.global
+Makefile.objects
+acinclude.m4
+aclocal.m4
+autom4te.cache
+build
+config.cache
+config.guess
+config.h
+config.h.in
+config.log
+config.nice
+config.status
+config.sub
+configure
+configure.in
+conftest
+conftest.c
+include
+install-sh
+libtool
+ltmain.sh
+missing
+mkinstalldirs
+modules
+scan_makefile_in.awk
+*.dsw
+*.plg
+*.opt
+*.ncb
+Release
+Release_inline
+Debug
+Release_TS
+Release_TSDbg
+Release_TS_inline
+Debug_TS
+run-tests.php
+cscope.out
+tests/*.log
+tests/*.mem
+tests/*.out
+tests/*.diff
+tests/*.php
+tests/*.exp
+tests/*/*.log
+tests/*/*.mem
+tests/*/*.out
+tests/*/*.diff
+tests/*/*.php
+tests/*/*.exp
+tests/*/*/*.log
+tests/*/*/*.mem
+tests/*/*/*.out
+tests/*/*/*.diff
+tests/*/*/*.php
+tests/*/*/*.exp
+tmp-php.ini
View
@@ -1,8 +1,12 @@
-[2010-08-01]
+[2010-08-01] - Version 0.8.1
* Fixed build on 5.3 (patch from Felipe Pena)
+ * Allow compilation against LibXL 2.4.3k
+ * Added ExcelSheet::setProtect(), ExcelSheet::protect() to set/get sheet protection
+ * Added ExcelSheet::setPrintHeaders() to set printability of column/row headers
+ * Added ExcelSheet::setCellFormat() method (LibXL 2.4.3k+) to set a cell format
+ * Added ExcelBook::getAllFormats() method (LibXL 2.4.3k+) to get a list of all document formats
+[2010-08-01] - Version 0.8
-[2010-08-01]
-
- * Initial Release
+ * Initial Release
View
@@ -26,6 +26,11 @@ if test "$PHP_EXCEL" != "no"; then
PHP_ADD_INCLUDE($EXCEL_DIR/include)
+ AC_MSG_CHECKING(for LibXL version)
+ if grep -c FILLPATTERN_HORSTRIPE $EXCEL_DIR/include/enum.h 2>&1 >/dev/null; then
+ AC_DEFINE([HAVE_LIBXL_243_PLUS], [1], [Have LibXL 2.4.3+])
+ fi
+
AC_MSG_RESULT([$EXCEL_DIR/lib])
PHP_ADD_LIBRARY_WITH_PATH(xl, $EXCEL_DIR/lib, XL_SHARED_LIBADD)
PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
Oops, something went wrong.

0 comments on commit 717274f

Please sign in to comment.