poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slaub...@apache.org
Subject cvs commit: jakarta-poi/src/documentation/content/xdocs/hssf quick-guide.xml
Date Thu, 23 Oct 2003 17:20:41 GMT
slaubach    2003/10/23 10:20:41

  Modified:    src/documentation/content/xdocs/hssf quick-guide.xml
  Log:
  Updated documentation so that Fix To example is named properly.
  
  Revision  Changes    Path
  1.5       +5 -5      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- quick-guide.xml	18 Jul 2003 12:19:26 -0000	1.4
  +++ quick-guide.xml	23 Oct 2003 17:20:41 -0000	1.5
  @@ -31,7 +31,7 @@
                       <li><link href="#ReadWriteWorkbook">Reading and writing</link></li>
                       <li><link href="#NewLinesInCells">Use newlines in cells.</link></li>
                       <li><link href="#DataFormats">Create user defined data
formats.</link></li>
  -                    <li><link href="#PrintArea">Fit sheet to one page</link></li>
  +                    <li><link href="#FitTo">Fit Sheet to One Page</link></li>
                       <li><link href="#PrintArea2">Set print area for a sheet.</link></li>
	    
                       <li><link href="#FooterPageNumbers">Set page numbers on
the footer of a sheet.</link></li>
                       <li><link href="#ShiftRows">Shift rows.</link></li>
  @@ -420,14 +420,14 @@
       fileOut.close();
                       </source>
                   </section>
  -                <anchor id="PrintArea"/>
  -                <section><title>Set Print Area to One Page</title>
  +                <anchor id="FitTo"/>
  +                <section><title>Fit Sheet to One Page</title>
                       <source>
       HSSFWorkbook wb = new HSSFWorkbook();
       HSSFSheet sheet = wb.createSheet("format sheet");
  -    HSSFPrintSetup ps = sheet.getPrintSetup()
  +    HSSFPrintSetup ps = sheet.getPrintSetup();
       
  -    sheet.setAutobreaks(true)
  +    sheet.setAutobreaks(true);
       
       ps.setFitHeight((short)1);
       ps.setFitWidth((short)1);
  
  
  

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


Mime
View raw message