You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Saad Shakil <ss...@rim.com> on 2010/12/16 20:27:46 UTC

minor documentation error?

In "Getting the cell contents" (http://poi.apache.org/spreadsheet/quick-guide.html#CellContents), in code:

for (Row row : sheet1) {
	for (Cell cell : row) {
		CellReference cellRef = new CellReference(row.getRowNum(), cell.getCellNum());
		System.out.print(cellRef.formatAsString());
		System.out.print(" - ");

Method "getCellNum" is deprecated and "getColumnIndex" should be used instead.

Thanks,
-saad

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org