diff options
author | Shawn Laubach <slaubach@apache.org> | 2003-10-23 17:20:41 +0000 |
---|---|---|
committer | Shawn Laubach <slaubach@apache.org> | 2003-10-23 17:20:41 +0000 |
commit | 88b95cab72cb5abd025ea716563ca4fa526949e7 (patch) | |
tree | 84b13d5d2992b90698da71c90b7c13a2717e7c7f /src | |
parent | 07e543477352d97a0f70ddf4c81b113d6e4ac857 (diff) | |
download | poi-88b95cab72cb5abd025ea716563ca4fa526949e7.tar.gz poi-88b95cab72cb5abd025ea716563ca4fa526949e7.zip |
Updated documentation so that Fix To example is named properly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353408 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/documentation/content/xdocs/hssf/quick-guide.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/documentation/content/xdocs/hssf/quick-guide.xml b/src/documentation/content/xdocs/hssf/quick-guide.xml index 3854e5a5ca..8940bc5fe1 100644 --- a/src/documentation/content/xdocs/hssf/quick-guide.xml +++ b/src/documentation/content/xdocs/hssf/quick-guide.xml @@ -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); |