You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by gl...@apache.org on 2003/05/02 01:38:39 UTC

cvs commit: jakarta-poi/src/documentation/content/xdocs/trans/es/hssf quick-guide.xml

glens       2003/05/01 16:38:39

  Modified:    src/documentation/content/xdocs/hssf quick-guide.xml
               src/documentation/content/xdocs/trans/es/hssf
                        quick-guide.xml
  Log:
  Fixed a small error in documentation
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-poi/src/documentation/content/xdocs/hssf/quick-guide.xml
  
  Index: quick-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/documentation/content/xdocs/hssf/quick-guide.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- quick-guide.xml	24 Apr 2003 00:53:29 -0000	1.2
  +++ quick-guide.xml	1 May 2003 23:38:39 -0000	1.3
  @@ -104,7 +104,7 @@
       // create a new cell style from the workbook otherwise you can end up
       // modifying the built in style and effecting not only this cell but other cells.
       HSSFCellStyle cellStyle = wb.createCellStyle();
  -    cellStyle.setDataFormat(HSSFDataFormat.getFormat("m/d/yy h:mm"));
  +    cellStyle.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy h:mm"));
       cell = row.createCell((short)1);
       cell.setCellValue(new Date());
       cell.setCellStyle(cellStyle);
  
  
  
  1.3       +1 -1      jakarta-poi/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml
  
  Index: quick-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- quick-guide.xml	24 Apr 2003 00:53:32 -0000	1.2
  +++ quick-guide.xml	1 May 2003 23:38:39 -0000	1.3
  @@ -96,7 +96,7 @@
       // create a new cell style from the workbook otherwise you can end up
       // modifying the built in style and effecting not only this cell but other cells.
       HSSFCellStyle cellStyle = wb.createCellStyle();
  -    cellStyle.setDataFormat(HSSFDataFormat.getFormat("m/d/yy h:mm"));
  +    cellStyle.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy h:mm"));
       cell = row.createCell((short)1);
       cell.setCellValue(new Date());
       cell.setCellStyle(cellStyle);