]> source.dussan.org Git - poi.git/commitdiff
Updated documentation so that Fix To example is named properly.
authorShawn Laubach <slaubach@apache.org>
Thu, 23 Oct 2003 17:20:41 +0000 (17:20 +0000)
committerShawn Laubach <slaubach@apache.org>
Thu, 23 Oct 2003 17:20:41 +0000 (17:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353408 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/hssf/quick-guide.xml

index 3854e5a5ca375009c8cb53030df2b741741fc8da..8940bc5fe16f1fd59fe7b4c34363ccdf8f12f36f 100644 (file)
@@ -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>
     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);