\r
Release Notes -- Apache POI -- Version 3.7\r
\r
-Apache POI is an open source Java library for working with Microsoft Office documents. POI 3.7 is an incremental feature release based on the earlier 3.6 release. The most notable changes since POI 3.6 are:\r
-\r
+Apache POI is an open source Java library for working with Microsoft Office documents. \r
+POI 3.7 is an incremental feature release based on the earlier 3.6 release. \r
\r
+The most notable changes since POI 3.6 are:\r
+-------------------------------------------\r
OOXML\r
* support for reading aes-encrypted/write-protected ooxml files\r
* support Java 1.5 in auto-generated xmlbeans for ooxml schemas\r
* numerous fixes and performance optimizations in the Formula Evaluation module\r
* ability to add, modify and remove series from HSSF Charts\r
* numerous improvements in the cell data formatter (handling more formatting rules, better color detection, allow overriding of default locale)\r
- * more examples including a rich "spreadsheet to HTML" convertor \r
+ * more examples including a rich "spreadsheet to HTML" converter \r
\r
Document (Word)\r
* initial support for the HWPF revision marks authors list\r
\r
This release comes in two forms:\r
- pre-built binaries containing compiled versions of all Apache POI components and documentation\r
- (poi-bin-3.7-20101025.zip or poi-bin-3.7-20101025.tar.gz)\r
- - source archive you can build POI from (poi-src-3.7-20101025.zip or poi-src-3.7-20101025.tar.gz)\r
+ (poi-bin-3.7-20101029.zip or poi-bin-3.7-20101029.tar.gz)\r
+ - source archive you can build POI from (poi-src-3.7-20101029.zip or poi-src-3.7-20101029.tar.gz)\r
\r
Pre-built versions of all POI components are also available in the central Maven repository\r
under Group ID "org.apache.poi" and Version "3.7"\r
</header>
<body>
- <section><title>15 October 2010 - POI 3.7 available</title>
+ <section><title>29 October 2010 - POI 3.7 available</title>
<p>The Apache POI team is pleased to announce the release of POI 3.7. See the
<link href="http://www.apache.org/dist/poi/release/bin/RELEASE-NOTES.txt">full release notes</link> for more details.
</p>
</developers>
<changes>
- <release version="3.7" date="2010-10-25">
+ <release version="3.7" date="2010-10-29">
<action dev="poi-developers" type="fix">50075 - avoid NPE in ListLevel.getNumberText() when numberText is null </action>
<action dev="poi-developers" type="fix">50067 - marked commons-logging and log4j as optional dependencies in POI poms</action>
<action dev="poi-developers" type="add">49928 - allow overridden built-in formats in XSSFCellStyle</action>
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.io.BufferedReader;
import java.io.IOException;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.io.*;
import org.apache.poi.poifs.filesystem.*;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.awt.*;
import javax.swing.*;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.awt.*;
import javax.swing.*;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.awt.Color;
import java.awt.Component;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.util.HashMap;
import java.util.Map;
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.poibrowser;
+package org.apache.poi.poifs.poibrowser;
import java.awt.*;
import javax.swing.*;
// TODO: Some kind of structure.
HSSFPictureData picture = new HSSFPictureData(blip);
pictures.add(picture);
- } else {
- pictures.add(null);
}
limitations under the License.
==================================================================== */
-package org.apache.poi.hssf.usermodel.contrib;
+package org.apache.poi.hssf.util;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.ss.usermodel.contrib.CellUtil;
+import org.apache.poi.ss.util.CellUtil;
/**
* Various utility functions that make working with a cells and rows easier. The various
limitations under the License.
==================================================================== */
-package org.apache.poi.hssf.usermodel.contrib;
+package org.apache.poi.hssf.util;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.ss.usermodel.contrib.RegionUtil;
+import org.apache.poi.ss.util.RegionUtil;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.Region;
limitations under the License.
==================================================================== */
-package org.apache.poi.ss.usermodel.contrib;
+package org.apache.poi.ss.util;
import java.util.HashMap;
import java.util.Map;
limitations under the License.
==================================================================== */
-package org.apache.poi.ss.usermodel.contrib;
+package org.apache.poi.ss.util;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
-import org.apache.poi.ss.util.CellRangeAddress;
/**
* Various utility functions that make working with a region of cells easier.
limitations under the License.
==================================================================== */
-package org.apache.poi.contrib.metrics;
+package org.apache.poi.util;
import java.awt.*;
import java.io.FileOutputStream;
}
}
}
+
+ public void testNotNullPictures() throws IOException {
+
+ HSSFWorkbook wb = HSSFTestDataSamples.openSampleWorkbook("SheetWithDrawing.xls");
+
+ @SuppressWarnings("unchecked") // TODO - add getFormat() to interface PictureData and genericise wb.getAllPictures()
+ List<HSSFPictureData> lst = (List<HSSFPictureData>)(List<?>)wb.getAllPictures();
+ for(HSSFPictureData pict : lst){
+ assertNotNull(pict);
+ }
+ }
+
}