diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 53dbe1e3d6..d44bc902ad 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -32,7 +32,9 @@ - + + + 47747 - fixed logic for locating shared formula records 47809 - Improved work with user-defined functions 47581 - fixed XSSFSheet.setColumnWidth to produce XML compatible with Mac Excel 2008 diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/EmeddedObjects.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/EmeddedObjects.java index f27725bdb4..11d2a3345e 100755 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/EmeddedObjects.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/EmeddedObjects.java @@ -59,7 +59,7 @@ public class EmeddedObjects { } } else { // There is no DirectoryEntry - // Recover the object’s data from the HSSFObjectData instance. + // Recover the object's data from the HSSFObjectData instance. byte[] objectData = obj.getObjectData(); } } diff --git a/src/examples/src/org/apache/poi/xssf/usermodel/examples/EmbeddedObjects.java b/src/examples/src/org/apache/poi/xssf/usermodel/examples/EmbeddedObjects.java index 9f3a9482b8..d6a22ea7fd 100755 --- a/src/examples/src/org/apache/poi/xssf/usermodel/examples/EmbeddedObjects.java +++ b/src/examples/src/org/apache/poi/xssf/usermodel/examples/EmbeddedObjects.java @@ -35,27 +35,27 @@ public class EmbeddedObjects { XSSFWorkbook workbook = new XSSFWorkbook(args[0]); for (PackagePart pPart : workbook.getAllEmbedds()) { String contentType = pPart.getContentType(); - // Excel Workbook – either binary or OpenXML + // Excel Workbook - either binary or OpenXML if (contentType.equals("application/vnd.ms-excel")) { HSSFWorkbook embeddedWorkbook = new HSSFWorkbook(pPart.getInputStream()); } - // Excel Workbook – OpenXML file format + // Excel Workbook - OpenXML file format else if (contentType.equals("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")) { XSSFWorkbook embeddedWorkbook = new XSSFWorkbook(pPart.getInputStream()); } - // Word Document – binary (OLE2CDF) file format + // Word Document - binary (OLE2CDF) file format else if (contentType.equals("application/msword")) { HWPFDocument document = new HWPFDocument(pPart.getInputStream()); } - // Word Document – OpenXML file format + // Word Document - OpenXML file format else if (contentType.equals("application/vnd.openxmlformats-officedocument.wordprocessingml.document")) { XWPFDocument document = new XWPFDocument(pPart.getInputStream()); } - // PowerPoint Document – binary file format + // PowerPoint Document - binary file format else if (contentType.equals("application/vnd.ms-powerpoint")) { HSLFSlideShow slideShow = new HSLFSlideShow(pPart.getInputStream()); } - // PowerPoint Document – OpenXML file format + // PowerPoint Document - OpenXML file format else if (contentType.equals("application/vnd.openxmlformats-officedocument.presentationml.presentation")) { OPCPackage docPackage = OPCPackage.open(pPart.getInputStream()); XSLFSlideShow slideShow = new XSLFSlideShow(docPackage);