Commit graph

14 commits

Author SHA1 Message Date
obache
408dad9d7c Update p5-Spreadsheet-WriteExcel to 2.18.
Patch provided by Mark E. Perkins in PR 36465.

2.18 January 18 2007 - Minor

    ! Correct invalid user set_column() calls to prevent
      crashes after Excel patch KB918419 is applied.
      Thanks to Sharron McKenzie for debugging.

    ! Fixed bug when writing comments longer than 8219 bytes.
      Reported by jscaglione.

    ! Fixed bug when using copy() with merged formats.
      Reported by jscaglione.

    ! Fixed bug where $@ was clobbered during garbage collection.
      Reported by afoxson.
      http://rt.cpan.org/Public/Bug/Display.html?id=24218

    ! Removed all non-ascii characters from main docs to
      avoid problems with troff and man.
      Reported by Ken Williams.
      http://rt.cpan.org/Public/Bug/Display.html?id=20948

    + Added autoloading of OLE::Storage_Lite, when available,
      to create workbooks larger than 7MB. It is no longer
      required to explicitly use ::Big.

    + Added handling of Unicode sheet names in formulas
      as suggested by Zhur:
      http://rt.cpan.org/Public/Bug/Display.html?id=20059
2007-06-10 09:15:37 +00:00
obache
0b8fdb22a8 Update p5-Spreadsheet-WriteExcel to 2.17.
Based on patch provided by Martin Wilke via PR 34389,
and remove dependency on p5-File-Temp-[0-9]*, it's already included in
perl base package.

Changes:
2.17 May 21 2006 - Minor

    + Added set_tab_color() method and example (tab_colors.pl).

    + Add set_page_view() method for Mac Excel view style
      and better default worksheet dimensions.

    + Added simulated row_wrap.pl example.

    + Added simulated Autofit example (autofit.pl).

    ! Fixed RT #17801, incorrect close value with filehandles.
      Thanks to Josie.

    ! Changed comment font to Excel's default of Tahoma 8.
      Reported by Stefano Maurri.

    ! Fixed bug that stopped Charts working in 2.16.
2006-11-05 02:27:37 +00:00
wiz
94caff876f Update to 2.16, provided by Mark E. Perkins in PR 30934:
2.16 January 6 2005 - Major

    + Rewrote and reinstated the write_comment() method to take
      account of the changes in the Excel 97+ comment format.
      Currently conflicts with insert_bitmap(), see docs.

    + Added standard styles such as comma, percent and currency.

    ! Changed write_url() methods to allow numbers or formulas
      as well as strings as the optional text.
      Requested by many.

    + Documented use of encoding flag in add_worksheet() to allow
      handling of UTF-16 sheet names.

    + Added encoding flag to merge_range() method to allow
      handling of UTF-16 strings. Requested by many.
      Added merge6.pl example program.

    + Added hide_zero() worksheet method to allow hiding of zero
      values in cells.

    + Added print_across() worksheet method to allow changing of
      the default print direction.

    + Added right_to_left() worksheet method to allow changing of
      the default worksheet direction in eastern versions of Excel.

    + Documented the Worksheet hide() method.

    + Added comments1.pl and comments2.pl example programs.

    + Added tests for the internal methods used by write_comment().



2.15 September 18 2005 - Minor

    ! Changed OLE container stream name from "Book" to "Workbook"
      for compatibility with some third party apps.
      Thanks Wieland Pusch and Kevin McMahon.

    ! Fixed bug that caused all worksheets to be selected in
      OpenOfficeOrg causing strange linking of data between
      Worksheets. Thanks  M. Brodbelt. See
      http://rt.cpan.org/NoAuth/Bug.html?id=14094
      http://www.openoffice.org/issues/show_bug.cgi?id=52955

    ! Changed file creation from end of program to the start of
      program in order to avoid race conditions and extra file
      creation on VMS.

    + Added optional user supplied results for formulas as a
      workaround for uncalcuated values in some non-Excel apps.
      Added formula_result.pl example of above.


2.14 May 9 2005 - Minor

    ! Fixed handling of Unicode font names.


2.13 April 20 2005 - Minor

    ! Made it a fatal error to use a merged format in a non-
      merged cell (and vice-versa). This is a temporary measure
      to prevent people from shooting themselves in the foot
      until the Format.pm code can be refactored.

    + Add 01_merge_formats.t test for above.

    + Added date_time tests.


2.12 March 22 2005 - Minor

    + Added further Unicode support. The following methods now
      handle uft8 in perl 5.8:
      add_worksheet()
      set_header()
      set_footer()
      set_font()
      set_num_format()

    + Added unicode_cyrillic.pl example.

    + Added 01_add_worksheet.t test.


2.11 September 30 2004 - Minor

    - Removed undocumented date_time handling from write() to
      avoid potential false matches.

    + Added add_write_handler() method to allow users to add
      their own data handlers to write().

    + Added 4 write_handler examples.


2.10 September 23 2004 - Major

    + Added chart support via external templates.
      Added Chart.pm and add_chart_ext() method to Workbook object.
      Added /charts directory with examples and documentation

    + Added write_date_time() worksheet method for writing dates
      and times in Excel date format.
      Added date_time.pl example.

    + Added automatic Unicode handling via utf8 in perl 5.8 and
      later. Thanks Mark Fowler.
      Added several unicode_*.pl examples in different encodings.
      Thanks to Sean Burke for the sample encodings.

    + Added write_to_scalar.pl example in order to answer frequently
      asked question about writing an Excel file to a scalar.


2.04 August 18 2004 - Minor

    ! Fixed handling of Euro symbol in num_format() strings.

    ! Renamed the Excel 5 style merge() format to the more correct
      center_across(). Updated examples accordingly.

    ! Added bug warning about using merge formats outside of
      merged ranges.

    + Fixed handling of doubled double quotes in formula strings.
      Thanks to a tip from merlyn.

    + The 2.xx versions are now compatible with MS Access. Removed
      statements to the contrary.


2.03 July 4 2004 - Minor

    ! Fixed bug that prevented column outlines from displaying.
      Thanks to Marc Rosenthal.

    ! Enhanced add_worksheet() name checking to exclude case-
      insensitive duplicate names.
      Thanks to James Wilkinson.

    ! Internal fix to number of rows in several (unseen) places.

    + Added mod_perl 2 example program from Matisse Enzer. Thanks.


2.02 May 28 2004 - Minor

    + Fixed internal version numbers to keep CPAN.pm happy.
      Thanks to David Dyck.

    + Minor changes to demo.pl merge5.pl and the html docs.


2.01 May 27 2004 - Major

    This version is a MAJOR revision to Spreadsheet::WriteExcel. The
    format of the Excel file that it produces has been updated from
    Excel 5 to Excel 97. This allows support for long, 32k character
    strings and Unicode.

    DUE TO THE MAJOR INTERNAL CHANGES IT IS RECOMMENDED THAT YOU TEST
    THIS UPGRADE FULLY BEFORE DEPLOYING IT.

    Also note that this version can be 1.5 to 2 times slower than
    previous versions and the write_comment() method has been
    temporarily removed. These issues will be fixed in later releases.


    + Changed the default Excel format to Excel 97.

    + Added support for strings up to 32767 character.

    + Added support for Unicode strings.

    + Improved speed in relation to pre-release versions.
      However, it is still slower than the 1.xx versions.

    + Improved OpenOffice.org support.

    + Added more examples: diag_border.pl, indent.pl,
      unicode.pl, unicode_japan.pl, unicode_list.pl

    + Changed the distro dir structure.

    - Temporarily removed write_comment() support since the Excel 5
      version isn't compatible with Excel 97+.


1.01 May 24 2004 - Minor

    ! Small non-bug fix to write_comment().


0.43 April 28 2004 - Minor

    ! Fixed longstanding bug where page setup features didn't
      show up in OpenOffice.org.

    ! Fixed localised @_ bug when using threaded perls.
      Thanks Tamas Gulacsi and Stephan Loescher.


0.42 August 26 2003 - Minor

    ! Fixed bug when using IO::Sclalar object as a filehandle.
      Thanks to Kyle R. Burton and David Robins.

    ! Fixed minor formula parser bug.
      Thanks Michael Braig

    ! Fixed handling of column sizing for widths less than 1
      unit (again). Thanks to Rubio (again).

    ! Failed new() returns undef instead of croak()ing as per docs.
2006-03-08 06:04:59 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
snj
dd82c3374a Convert to buildlink3. 2004-04-27 21:26:08 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
mjl
38456b0ddc Update p5-Spreadsheet-WriteExcel to 0.41
+ Added facility for adding outlines to worksheets. Added
      outline.pl example.
    + Moved write_comment() code into the core modules. It is now
      possible to write cell comments.
    + Added option to return a slice from the sheets() method.
    + Added link to latest Excel97 pre-release.
    ! Changed, once more, the handling of temp files to avoid several
      file closing bugs.
    ! Fixed handling of column sizing for widths less than 1 unit.
    ! Renamed addworksheet() and addformat() to add_worksheet()
      and add_format() for consistency with other method names.
      Older names are supported but deprecated.
    ! Fixed internal sheet indexing in formulas on some platforms.
      This caused multi-sheet workbooks with formulas to crash.
    ! Fixed non-lexical filehandles to prevent problems in
      multi-threaded environments.
    + Added the set_codepage() workbook method. This is mainly to
      prevent a bug that caused Gnumeric to crash but it is also
      useful for people working with non ascii chars on the Macintosh.
    ! Fixed the non-deletion of temporary files. Users of version
      0.38 should probably clean up their tmp dirs manually.
    ! Changed default handling of set_fg_color and set_bg_color from
      what Excel expected to what everyone else expected. Setting the
      fill colour of a cell should now be more intuitive.
    + Replaced the merge_cells() method with the merge_range() method.
      This is mainly to prevent the Excel 97 crashing bug that occurs
      when merge_cells() is used correctly. It also provide a simpler
      interface to the merge feature. Updated merge example programs.
    ! Refactored the error raising mechanism for formulas. The source
      of errors should now be clearer.
    ! Minor internal fixes to Format.pm.
    + Added formula caching to speed up the writing of formulas.
    + Added handling of A:A column notation in formulas and
      applicable worksheet methods.
    + Changed handling of numbers with leading zeroes so that they
      can be treated as strings and the zeroes maintained.
    + Modified $workbook->close() to return the value of the system
      file close.
    + Made file size exceeded a die() error instead of a warning.
    + Added option to hide row with the set_row() method
    + Added more examples: merge4.pl, merge5.pl, sendmail.pl and repeat.pl
    ! Fixed write_url() when handling relative links in the current
      directory.
    ! Fixed handling of multiple AND()'s and OR()'s in formulas.
    ! Fixed bug when creating a very large number of files within a
      single program on Windows.
    ! Added warning about Excel97 crashing bug with merge_cells().
    ! Fixed handling of parentheses in Worksheet names.
    ! Fixed minor bugs in Format.pm. Thanks Johann Hanne.
    ! Fixed File::Temp dependency in Makefile. Thanks to many.
    + Added set_tempdir() method to allow a user defined temp directory.
    + Fixed default format behaviour for formats set via the set_row()
      and set_column() methods.
    + Extended the hide_gridlines() method to allow hiding of screen
      gridlines as well as print gridlines.
    + Added long_string.pl a workaround example for the 255 char
      limit.
    + Added https match to url regex.
    + Added user definable colour palette.
    + Added headers.pl and colors.pl examples.
2003-04-25 17:18:45 +00:00
seb
0d75c1efb1 Use buildlink2. Use perl5/module.mk. 2002-10-20 17:45:59 +00:00
mjl
7d0783f734 Initial import of p5-Spreadsheet-WriteExcel:
The Spreadsheet::WriteExcel module can be used to create a cross-
platform Excel binary file. Multiple worksheets can be added to a
workbook and formatting can be applied to cells. Text, numbers,
formulas, hyperlinks and images can be written to the cells.

The Excel file produced by this module is compatible with Excel 5,
95, 97, 2000 and 2002.

The module will work on the majority of Windows, UNIX and
Macintosh platforms. Generated files are also compatible with the
Linux/UNIX spreadsheet applications Gnumeric and OpenOffice.
The generated files are not compatible with MS Access.
2002-03-19 15:03:31 +00:00