From: Vladislav Galas Date: Sat, 26 Jan 2019 23:19:41 +0000 (+0000) Subject: pulled *Cell.getAddress to common base X-Git-Tag: REL_4_1_0~88 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bc30eceb020a1fa332cfcf24cb350652fe110306;p=poi.git pulled *Cell.getAddress to common base git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852251 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/RELEASE-NOTES.txt b/src/documentation/RELEASE-NOTES.txt new file mode 100644 index 0000000000..cc03e9c587 --- /dev/null +++ b/src/documentation/RELEASE-NOTES.txt @@ -0,0 +1,44 @@ +The Apache POI project is pleased to announce the release of POI @VERSION@. +Featured are a handful of new areas of functionality, and numerous bug fixes. + +See the downloads page for binary and source distributions: https://poi.apache.org/download.html + +Release Notes + +Changes +------------ +The most notable changes in this release are: + +@List changes here@ + +A full list of changes is available in the change log: https://poi.apache.org/changes.html. +People interested should also follow the dev mailing list to track further progress. + +Release Contents +---------------- + +This release comes in two forms: + - pre-built binaries containing compiled versions of all Apache POI components and documentation + (poi-bin-@VERSION@-@DSTAMP@.zip or poi-bin-@VERSION@-@DSTAMP@.tar.gz) + - source archive you can build POI from (poi-src-@VERSION@-@DSTAMP@.zip or poi-src-@VERSION@-@DSTAMP@.tar.gz) + Unpack the archive and use the following command to build all POI components with Apache Ant 1.8+ and JDK 1.8 or higher: + + ant jar + + Pre-built versions of all POI components are also available in the central Maven repository + under Group ID "org.apache.poi" and Version "@VERSION@" + +All release artifacts are accompanied by MD5 checksums and PGP signatures +that you can use to verify the authenticity of your download. +The public key used for the PGP signature can be found at +https://svn.apache.org/repos/asf/poi/tags/@RELEASE_TAG@/KEYS + +About Apache POI +----------------------- + +Apache POI is well-known in the Java field as a library for reading and +writing Microsoft Office file formats, such as Excel, PowerPoint, Word, +Visio, Publisher and Outlook. It supports both the older (OLE2) and +new (OOXML - Office Open XML) formats. + +See https://poi.apache.org/ for more details diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java index 7926cbdb1a..10734219a6 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java @@ -248,14 +248,6 @@ public class HSSFCell extends CellBase { return _record.getColumn() & 0xFFFF; } - /** - * {@inheritDoc} - */ - @Override - public CellAddress getAddress() { - return new CellAddress(this); - } - @Override protected void setCellTypeImpl(CellType cellType) { notifyFormulaChanging(); diff --git a/src/java/org/apache/poi/ss/usermodel/CellBase.java b/src/java/org/apache/poi/ss/usermodel/CellBase.java index 7a430257ef..14d0555f80 100644 --- a/src/java/org/apache/poi/ss/usermodel/CellBase.java +++ b/src/java/org/apache/poi/ss/usermodel/CellBase.java @@ -18,6 +18,7 @@ package org.apache.poi.ss.usermodel; import org.apache.poi.ss.formula.FormulaParseException; +import org.apache.poi.ss.util.CellAddress; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellReference; @@ -57,6 +58,14 @@ public abstract class CellBase implements Cell { setCellType(CellType.BLANK); } + /** + * {@inheritDoc} + */ + @Override + public CellAddress getAddress() { + return new CellAddress(this); + } + /** * Implementation-specific logic * @param cellType new cell type. Guaranteed non-null, not _NONE. diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java index 797c39bba6..54b8236f72 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java @@ -83,14 +83,6 @@ public class SXSSFCell extends CellBase { return _row.getRowNum(); } - /** - * {@inheritDoc} - */ - @Override - public CellAddress getAddress() { - return new CellAddress(this); - } - /** * Returns the sheet this cell belongs to * diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java index a45ae4c629..f49121982d 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java @@ -635,14 +635,6 @@ public final class XSSFCell extends CellBase { return ref; } - /** - * {@inheritDoc} - */ - @Override - public CellAddress getAddress() { - return new CellAddress(this); - } - /** * Return the cell's style. *