|
|
|
|
|
|
|
|
for (CellType cell : row.getCellArray()) { |
|
|
for (CellType cell : row.getCellArray()) { |
|
|
String cellName = cell.getN(); |
|
|
String cellName = cell.getN(); |
|
|
|
|
|
|
|
|
if (cellName.equals("X")) { |
|
|
|
|
|
|
|
|
if ("X".equals(cellName)) { |
|
|
x = XDGFCell.parseDoubleValue(cell); |
|
|
x = XDGFCell.parseDoubleValue(cell); |
|
|
} else if (cellName.equals("Y")) { |
|
|
|
|
|
|
|
|
} else if ("Y".equals(cellName)) { |
|
|
y = XDGFCell.parseDoubleValue(cell); |
|
|
y = XDGFCell.parseDoubleValue(cell); |
|
|
} else { |
|
|
} else { |
|
|
throw new POIXMLException("Invalid cell '" + cellName |
|
|
throw new POIXMLException("Invalid cell '" + cellName |