diff --git a/src/documentation/content/xdocs/hssf/quick-guide.xml b/src/documentation/content/xdocs/hssf/quick-guide.xml index 3854e5a5c..8940bc5fe 100644 --- a/src/documentation/content/xdocs/hssf/quick-guide.xml +++ b/src/documentation/content/xdocs/hssf/quick-guide.xml @@ -31,7 +31,7 @@
  • Reading and writing
  • Use newlines in cells.
  • Create user defined data formats.
  • -
  • Fit sheet to one page
  • +
  • Fit Sheet to One Page
  • Set print area for a sheet.
  • Set page numbers on the footer of a sheet.
  • Shift rows.
  • @@ -420,14 +420,14 @@ fileOut.close(); - -
    Set Print Area to One Page + +
    Fit Sheet to One Page 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);