poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1799620 - /poi/site/publish/spreadsheet/quick-guide.html
Date Thu, 22 Jun 2017 20:39:59 GMT
Author: nick
Date: Thu Jun 22 20:39:59 2017
New Revision: 1799620

URL: http://svn.apache.org/viewvc?rev=1799620&view=rev
Log:
Republish site

Modified:
    poi/site/publish/spreadsheet/quick-guide.html

Modified: poi/site/publish/spreadsheet/quick-guide.html
URL: http://svn.apache.org/viewvc/poi/site/publish/spreadsheet/quick-guide.html?rev=1799620&r1=1799619&r2=1799620&view=diff
==============================================================================
--- poi/site/publish/spreadsheet/quick-guide.html (original)
+++ poi/site/publish/spreadsheet/quick-guide.html Thu Jun 22 20:39:59 2017
@@ -3134,27 +3134,27 @@ the data to populate another drop down l
   PropertyTemplate pt = new PropertyTemplate();
   // #1) these borders will all be medium in default color
   pt.drawBorders(new CellRangeAddress(1, 3, 1, 3),
-          BorderStyle.MEDIUM, PropertyTemplate.Extent.ALL);
+          BorderStyle.MEDIUM, BorderExtent.ALL);
   // #2) these cells will have medium outside borders and thin inside borders
   pt.drawBorders(new CellRangeAddress(5, 7, 1, 3),
-          BorderStyle.MEDIUM, PropertyTemplate.Extent.OUTSIDE);
+          BorderStyle.MEDIUM, BorderExtent.OUTSIDE);
   pt.drawBorders(new CellRangeAddress(5, 7, 1, 3), BorderStyle.THIN,
-          PropertyTemplate.Extent.INSIDE);
+          BorderExtent.INSIDE);
   // #3) these cells will all be medium weight with different colors for the
   //     outside, inside horizontal, and inside vertical borders. The center
   //     cell will have no borders.
   pt.drawBorders(new CellRangeAddress(9, 11, 1, 3),
           BorderStyle.MEDIUM, IndexedColors.RED.getIndex(),
-          PropertyTemplate.Extent.OUTSIDE);
+          BorderExtent.OUTSIDE);
   pt.drawBorders(new CellRangeAddress(9, 11, 1, 3),
           BorderStyle.MEDIUM, IndexedColors.BLUE.getIndex(),
-          PropertyTemplate.Extent.INSIDE_VERTICAL);
+          BorderExtent.INSIDE_VERTICAL);
   pt.drawBorders(new CellRangeAddress(9, 11, 1, 3),
           BorderStyle.MEDIUM, IndexedColors.GREEN.getIndex(),
-          PropertyTemplate.Extent.INSIDE_HORIZONTAL);
+          BorderExtent.INSIDE_HORIZONTAL);
   pt.drawBorders(new CellRangeAddress(10, 10, 2, 2),
           BorderStyle.NONE, 
-          PropertyTemplate.Extent.ALL);
+          BorderExtent.ALL);
 
   // apply borders to sheet
   Workbook wb = new XSSFWorkbook();
@@ -3169,7 +3169,7 @@ the data to populate another drop down l
       BorderStyle.NONE. To remove a color from a border, use IndexedColor.AUTOMATIC.getIndex().
       </p>
       
-<p>Additionally, to remove a border or color from the PropertyTemplate object, use
Extent.NONE.</p>
+<p>Additionally, to remove a border or color from the PropertyTemplate object, use
BorderExtent.NONE.</p>
       
 <p>
       This does not work with diagonal borders yet.



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


Mime
View raw message