diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-03-18 11:35:26 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-03-18 11:35:26 +0000 |
commit | 27344ca66169f2c99fc418eae3217ab1f613fbd4 (patch) | |
tree | bdeca533543125d6b9abe12f4222eec0745d5113 /poi-examples | |
parent | 6f36cab7585eb377a2df3b350d6f1b8ed80f335f (diff) | |
download | poi-27344ca66169f2c99fc418eae3217ab1f613fbd4.tar.gz poi-27344ca66169f2c99fc418eae3217ab1f613fbd4.zip |
use 'an'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples')
-rw-r--r-- | poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EventExample.java | 2 | ||||
-rw-r--r-- | poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/InCellLists.java | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EventExample.java b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EventExample.java index 0e71406b58..88c3f020f4 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EventExample.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EventExample.java @@ -75,7 +75,7 @@ public class EventExample implements HSSFListener { System.out.println("Cell found with value " + numrec.getValue() + " at row " + numrec.getRow() + " and column " + numrec.getColumn()); break; - // SSTRecords store a array of unique strings used in Excel. + // SSTRecords store an array of unique strings used in Excel. case SSTRecord.sid: sstrec = (SSTRecord) record; for (int k = 0; k < sstrec.getNumUniqueStrings(); k++) diff --git a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/InCellLists.java b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/InCellLists.java index 77282d980d..28c03a9bc4 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/InCellLists.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/InCellLists.java @@ -190,7 +190,7 @@ public class InCellLists { String formatString = InCellLists.BULLET_CHARACTER + " @"; int formatIndex = format.getFormat(formatString); - // Construct an HSSFCellStyle and set it's data formt to use the + // Construct an HSSFCellStyle and set its data format to use the // object created above. HSSFCellStyle bulletStyle = workbook.createCellStyle(); bulletStyle.setDataFormat((short)formatIndex); @@ -248,8 +248,8 @@ public class InCellLists { int increment) { StringBuilder buffer = new StringBuilder(); int itemNumber = startingValue; - // Note that again, an HSSFCellStye object is required and that - // it's wrap text property should be set to 'true' + // Note that again, an HSSFCellStyle object is required and that + // its wrap text property should be set to 'true' HSSFCellStyle wrapStyle = workbook.createCellStyle(); wrapStyle.setWrapText(true); // Note that the basic method is identical to the listInCell() method @@ -282,7 +282,7 @@ public class InCellLists { HSSFCell cell) { StringBuilder buffer = new StringBuilder(); // Note that again, an HSSFCellStye object is required and that - // it's wrap text property should be set to 'true' + // its wrap text property should be set to 'true' HSSFCellStyle wrapStyle = workbook.createCellStyle(); wrapStyle.setWrapText(true); // Note that the basic method is identical to the listInCell() method @@ -318,7 +318,7 @@ public class InCellLists { HSSFCell cell) { StringBuilder buffer = new StringBuilder(); // Note that again, an HSSFCellStye object is required and that - // it's wrap text property should be set to 'true' + // its wrap text property should be set to 'true' HSSFCellStyle wrapStyle = workbook.createCellStyle(); wrapStyle.setWrapText(true); // Step through the ArrayList of MultilLevelListItem instances. @@ -381,7 +381,7 @@ public class InCellLists { StringBuilder buffer = new StringBuilder(); int highLevelItemNumber = highLevelStartingValue; // Note that again, an HSSFCellStye object is required and that - // it's wrap text property should be set to 'true' + // its wrap text property should be set to 'true' HSSFCellStyle wrapStyle = workbook.createCellStyle(); wrapStyle.setWrapText(true); // Step through the ArrayList of MultilLevelListItem instances. @@ -436,7 +436,7 @@ public class InCellLists { HSSFCell cell) { StringBuilder buffer = new StringBuilder(); // Note that again, an HSSFCellStye object is required and that - // it's wrap text property should be set to 'true' + // its wrap text property should be set to 'true' HSSFCellStyle wrapStyle = workbook.createCellStyle(); wrapStyle.setWrapText(true); // Step through the ArrayList of MultilLevelListItem instances. |