Skip to content

Commit

Permalink
Allow compilation against LibXL 2.4.3k
Browse files Browse the repository at this point in the history
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
Ilia committed Aug 2, 2010
1 parent dcc7323 commit 717274f
Show file tree
Hide file tree
Showing 10 changed files with 446 additions and 35 deletions.
66 changes: 66 additions & 0 deletions .gitignore
@@ -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
12 changes: 8 additions & 4 deletions ChangeLog
@@ -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
5 changes: 5 additions & 0 deletions config.m4
Expand Up @@ -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)
Expand Down

0 comments on commit 717274f

Please sign in to comment.