I am using Apache POI to process Excel file. My Excel file has 2 TextBoxes for which I would like to read the text and change it. How is it possible with the XSSF model? I do not want to create a new TextBox- I know how to do this. So far I was trying, but there is no TextBox anywhere there (that I can see).
XSSFWorkbook wb = //get the Workbook somehow
XSSFSheet sheet = wb.getSheetAt(0);
Iterator<Row> rowIterator = sheet.rowIterator();
while(rowIterator.hasNext()){
Row row = rowIterator.next();
Iterator<Cell> cellIterator = row.cellIterator();
while(cellIterator.hasNext()){
Cell cell = cellIterator.next();
}
}
for(PackagePart pp : wb.getAllEmbedds()){
}
So where are the TextBoxes?