ExcelWriter 5.5.1 Readme

Features & Benefits


SoftArtisans ExcelWriter

The Power of Microsoft® Excel on the Web

October 2004

ExcelWriter Editions


System Requirements


Installation


Release Notes


New in Version 5.5.1


Version Differences

ExcelWriter Documentation
and Samples



Features & Benefits

     
Note on ExcelWriter Editions

SoftArtisans offers several production editions of ExcelWriter. Not all ExcelWriter features are available in ExcelWriterSE, ExcelWriterLE, and ExcelWriterFree.

Top


ExcelWriter Editions

SoftArtisans offers several editions of ExcelWriter:

Top


System Requirements

Server Requirements

To use ExcelWriter in ASP, you will need:

To use ExcelWriter in ASP.NET, you will need:

Microsoft Excel is not required on the server. This prevents the performance penalties and instability associated with instantiating multiple copies of the Excel object on a Web server.

If you intend to create spreadsheets from databases, install the latest Microsoft drivers. The driver package is available for free for all versions of IIS at http://www.microsoft.com/data. Choose to download MDAC 2.0 or later. MDAC includes updates to ADO, OLEDB, and related ODBC drivers.

Client Requirements

No software is required on the client to download and save an Excel Spreadsheet. To enable opening of Excel spreadsheets, one of the following must be installed on the client.

Top


Installation

If you are upgrading to a new version of ExcelWriter, before installing the new version, remove the old version.

During the automatic installation process you will be asked to enter the ExcelWriter license key that you received with your order confirmation. There is only one installer for all editions of ExcelWriter. Depending on which license key is entered during installation (or updated later with the license utility), different functionality will be unlocked for the product. For example, if you enter a key for the LE edition, only the functionality of ExcelWriterLE will be available (see ExcelWriter Editions). If you leave the key field blank during installation, you will get the free 30-day edition of ExcelWriter.

If you received two keys - one for ExcelWriter and one for WordWriter - enter either during the installation process. After installing, run LicenseManager.exe (in \OfficeWriter) and add the second key.

When you update a license key, the Web server must be restarted before the new license will take effect.

Automatic Installation

To run the automatic installation, double-click OfficeWriter-2.x.x-Win.exe and follow the instructions. By default, the automatic installation will save ExcelWriter's dll files, samples, and documentation in the directory C:\Program Files\SoftArtisans\OfficeWriter\ExcelWriter. You can select a different directory during the installation process. The automatic installation will:

During the automatic installation process you will be asked to enter the ExcelWriter license key that you received with your order confirmation. To see all OfficeWriter license keys installed in the registry, or to add or remove a key (for example, when upgrading) run LicenseManager.exe (included with ExcelWriter).

When you update a license key, IIS must be reset before the new license will take effect.

Manual Installation for ASP

To install ExcelWriter the first time, run the automatic installation. Once InstallShield has unpacked the dll files that contain ExcelWriter, you can re-install ExcelWriter manually (if, for example, you are moving ExcelWriter to a different server):

  1. Open a command prompt window and move to the directory OfficeWriter\ExcelWriter.
    For example, enter cd Program Files\SoftArtisans\OfficeWriter\ExcelWriter.


  2. Enter regsvr32 SAXW5COM.dll. A dialog box will inform you that SAXW5COM.dll registered successfully; click Ok.


  3. Enter iisreset to reset IIS.


Manual Installation for ASP.NET: Installing ExcelWriter at the Application Level

After running the automatic installation, ExcelWriter's assemblies will be available to the ExcelWriter samples. To make ExcelWriter available to another application, include a directory called bin at the application's top level, and save a copy of SAXW5NET.dll in this directory:

  1. At the top level of your application, create a directory called bin.

  2. Copy SAXW5NET.dll OfficeWriter\ExcelWriter\Samples\bin to your application's bin directory.

Manual Installation for ASP.NET: Installing ExcelWriter in the GAC

To make ExcelWriter available to all ASP.NET applications on your machine, install ExcelWriter in the Global Assembly Cache (GAC):

  1. Open a command prompt window and move to the directory OfficeWriter\ExcelWriter\Samples\bin.

  2. Enter gacutil /i SAXW5NET.dll.


  3. Open the file machine.config (in [Windows directory]\Microsoft.NET\Framework\[.NET version directory]\CONFIG).


  4. Add the following line to the assemblies node of machine.config:

    <add assembly="SAXW5NET, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>

    OR

    Create a text file containing the following lines, and save it as web.config. Save web.config at the top level of your application.

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <compilation>
    <compilers>
    </compilers>
    <assemblies>
    <add assembly="SAXW5NET, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>
    <add assembly="*" />
    </assemblies>
    </compilation>
    </system.web>
    </configuration>
The version attribute of the add assembly node must correspond exactly to the version of SAXW5NET.dll added to the GAC. If you add a new version of SAXW5NET.dll to the GAC using the gacutil command, update the dll version attributes in machine.config. To get the exact version of SAXW5NET.dll, right-click the file and select the Properties tab.

Top


Release Notes

 
ExcelWriterEE
ExcelWriterSE
ExcelWriterLE
ExcelWriter Free
Licensing Per CPU Per server Per server Free, no redistribution
OS Required Server Only Server Only Server Only Server Only
Easy Database Import Yes Yes Yes Yes
Templates Yes Yes Yes Yes
Max rows: 500
Cell Formatting Unlimited Font type,
style,
size,
and color;
cell borders,
alignment,
background
Font type,
style,
size,
and color;
cell borders,
alignment,
background
Font type,
style,
size,
and color;
cell borders,
alignment,
background
Excel Functions Over 90,
more to come
Sum,
Average
Sum,
Average
Sum,
Average
Numeric Formatting Yes Yes Yes Yes
HotCell Technology Yes HotCell
POST
only
HotCell
POST
only
HotCell
POST
only
Max Cell Length Biff7: 255

Biff8: 32000
Biff7: 255

Biff8: 32000
Biff7: 255

Biff8: 32000
Biff7: 255

Biff8: 32000
Max Number of Rows Biff7: 16384

Biff8: 65536
Biff7: 16384

Biff8: 65536
Biff7: 16384

Biff8: 65536
500
Max Number of Columns 256 256 256 256
Max spreadsheets generated per 24 hour period Unlimited Unlimited 200* 200*
Number of concurrent spreadsheets that can be generated Unlimited Unlimited Unlimited Unlimited
Charting Yes Bar,
column,
pie
Bar,
column,
pie
Bar,
column,
pie
Pictures Yes No No No
Worksheets contain Ad No  No  No Yes 

* ExcelWriterLE and ExcelWriterFree will fail when generating more than 200 spreadsheets within 24 hours. Generated spreadsheets can be streamed to the browser or saved in static files on the hard disk. Static spreadsheets can be served an unlimited number of times. Only the generation of new spreadsheets is limited.

Top


New in Version 5.5.1

Integration with Microsoft Reporting Services
OfficeWriter enhances Reporting Services by allowing you to design in Excel and Word (or use existing Excel and Word files as templates) and deliver in real, native Excel and Word.

PivotTables
You can now generate PivotTable reports from code using the new PivotTable and PivotField objects.

New in Version 5

Pure .NET Template Object
New pure .NET ExcelTemplate object makes spreadsheet generation in ASP.NET even easier, and significantly improves the performance of ADO.NET data imports.


ExcelApplication and ExcelTemplate Integration in .NET
ExcelWriter can easily pass a spreadsheet from ExcelApplication to ExcelTemplate and vice versa, allowing you to take advantage of the features in both objects.


DocumentProperties Object *
The DocumentProperties object allows you to set properties displayed on the generated file's Properties sheet in code.


UsedRange Properties *
Range.UsedRange and Cells.UsedRange return the range of used cells in a worksheet or a range of cells. This is useful if you want to apply formatting to populated cells, or assign cell values based on the location of used cells.


BorderAround Method
The BorderAround method creates a border around a range of cells. Select one of 13 border styles.


New Chart Object Properties *
SecondaryValueAxis and SecondaryCategoryAxis allow you to create and set properties for secondary value and category axes.


New Series Object Properties *
5 new Series object properties: AxisGroup, ChartType, ChartSubType, SpaceBetweenBars, and SpaceBetweenCategories.


LockedFileRetry Registry Key
When an ExcelWriter script opens an existing spreadsheet, the spreadsheet is locked until the request is complete. To prevent failure of additional requests, ExcelWriter will retry a request that could not be processed because the spreadsheet was locked. The LockedFileRetry< registry key allows you to change the length of the interval between retries.


DataTable and DataReader support in .NET
ExcelWriter can now populate spreadsheets from ADO.NET DataTables and DataReaders, in addition to DataSets.


29 New Functions *
Math Functions:
Acos, Asin, Atan, Atan2, Ceiling, Cos, Degrees, Even, Fact, Floor, Ln, Log, Log10, Pi, Product, Radians, Rounddown, Roundup, Sin, Sqrt, Tan
Statistical functions:
Mode, Percentile
Date and time functions:
DateValue, TimeValue, Days360
Information functions:
IsErr, IsError, Type

* This feature is not available in ExcelWriterSE, ExcelWriterLE, or ExcelWriterFree.

Top


Version Differences

New in Version 5.0.2

New in Version 5.0.3

New in Version 5.0.4

New in Version 5.1.1

New in Version 5.1.2

New in Version 5.1.3

New in Version 5.5.1


Top


Documentation and Samples

ExcelWriter includes comprehensive documentation and many sample applications. You can run all samples and view sample code from the documentation. You can also run the samples separately. ExcelWriter's automatic installation process will create virtual directories for the documentation and samples.

To run the integrated documentation and samples, open a browser window and enter the URL "http://localhost/officewriter/excelwriter".

To run the samples separately, open a browser window and enter the URL "http://localhost/officewriter/excelwriter/samples".

Top


Copyright 2004 SoftArtisans, Inc. All rights reserved.