You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2014/08/10 13:20:58 UTC

svn commit: r1617093 - in /poi/site: publish/spreadsheet/quick-guide.html src/documentation/content/xdocs/spreadsheet/quick-guide.xml

Author: nick
Date: Sun Aug 10 11:20:57 2014
New Revision: 1617093

URL: http://svn.apache.org/r1617093
Log:
Patch from iceardor from bug #56834 - Fix typos in SS comments docs

Modified:
    poi/site/publish/spreadsheet/quick-guide.html
    poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml

Modified: poi/site/publish/spreadsheet/quick-guide.html
URL: http://svn.apache.org/viewvc/poi/site/publish/spreadsheet/quick-guide.html?rev=1617093&r1=1617092&r2=1617093&view=diff
==============================================================================
--- poi/site/publish/spreadsheet/quick-guide.html (original)
+++ poi/site/publish/spreadsheet/quick-guide.html Sun Aug 10 11:20:57 2014
@@ -2012,7 +2012,7 @@ Examples:
 
     Sheet sheet = wb.createSheet();
     
-    Rowl row  = sheet.createRow(3);
+    Row row   = sheet.createRow(3);
     Cell cell = row.createCell(5);
     cell.setCellValue("F4");
     
@@ -2022,8 +2022,8 @@ Examples:
     ClientAnchor anchor = factory.createClientAnchor();
     anchor.setCol1(cell.getColumnIndex());
     anchor.setCol2(cell.getColumnIndex()+1);
-    anchor.setRow1(row.getRowNul());
-    anchor.setRow2(row.getRowNul()+3);
+    anchor.setRow1(row.getRowNum());
+    anchor.setRow2(row.getRowNum()+3);
 
     // Create the comment and set the text+author
     Comment comment = drawing.createCellComment(anchor);

Modified: poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml?rev=1617093&r1=1617092&r2=1617093&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml (original)
+++ poi/site/src/documentation/content/xdocs/spreadsheet/quick-guide.xml Sun Aug 10 11:20:57 2014
@@ -1413,7 +1413,7 @@ Examples:
 
     Sheet sheet = wb.createSheet();
     
-    Rowl row  = sheet.createRow(3);
+    Row row   = sheet.createRow(3);
     Cell cell = row.createCell(5);
     cell.setCellValue("F4");
     
@@ -1423,8 +1423,8 @@ Examples:
     ClientAnchor anchor = factory.createClientAnchor();
     anchor.setCol1(cell.getColumnIndex());
     anchor.setCol2(cell.getColumnIndex()+1);
-    anchor.setRow1(row.getRowNul());
-    anchor.setRow2(row.getRowNul()+3);
+    anchor.setRow1(row.getRowNum());
+    anchor.setRow2(row.getRowNum()+3);
 
     // Create the comment and set the text+author
     Comment comment = drawing.createCellComment(anchor);



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