Skip to content

Commit

Permalink
Further Adaptions to POI 3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
tpfau committed Apr 20, 2021
1 parent 1e8c261 commit 5ce1bcd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ public String toString()
@Override
public void setCellType(CellType cellType) {
// TODO Auto-generated method stub

this.type = cellType;
}

@Override
public CellType getCellTypeEnum() {
// TODO Auto-generated method stub
return null;
return type;
}

@Override
Expand All @@ -289,7 +289,7 @@ public CellType getCachedFormulaResultTypeEnum() {
@Override
public CellAddress getAddress() {
// TODO Auto-generated method stub
return null;
return new CellAddress(row.getRowNum(), row.getColumnNumber(this));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Vector;
Expand Down Expand Up @@ -816,12 +817,12 @@ public Hyperlink getHyperlink(CellAddress addr) {
@Override
public List<? extends Hyperlink> getHyperlinkList() {
// TODO Auto-generated method stub
return null;
return new LinkedList<Hyperlink>();
}
@Override
public CellAddress getActiveCell() {
// TODO Auto-generated method stub
return null;
return new CellAddress(0,0);
}
@Override
public void setActiveCell(CellAddress address) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class CSVWorkbook implements Workbook{
*/
public CSVWorkbook(File F, String separator, int idColumnCount ) throws IOException, WrongFormat
{

PrintFDebugger.Debugging(this, "Starting to read File " + F.getName() + " with separator " + separator);
//create the sheet
currentSheet = new CSVSheet(this,F.getName());
int currentRowNumber = 0;
Expand Down

0 comments on commit 5ce1bcd

Please sign in to comment.