pulled *Cell.getAddress to common base

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852251 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vladislav Galas 2019-01-26 23:19:41 +00:00
parent a8a0cb56f7
commit bc30eceb02
5 changed files with 53 additions and 24 deletions

View File

@ -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

View File

@ -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();

View File

@ -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.

View File

@ -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
*

View File

@ -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.
*