aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
Commit message (Collapse)AuthorAgeFilesLines
* Adjust some missing/incorrec throws and related javadocDominik Stadler2016-12-111-11/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773662 13f79535-47bb-0310-9956-ffa450edef68
* SonarCube fix - make members privateAndreas Beeker2016-12-072-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773165 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary cast and reformat some code a bitDominik Stadler2016-11-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771247 13f79535-47bb-0310-9956-ffa450edef68
* SonarCube fixesAndreas Beeker2016-11-122-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769366 13f79535-47bb-0310-9956-ffa450edef68
* - SonarCube fixesAndreas Beeker2016-11-118-403/+67
| | | | | | - moved SecureTempFile classes to OOXML, because of duplicated code in test and examples packages git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769363 13f79535-47bb-0310-9956-ffa450edef68
* bug 60321: add examples with encrypted temp data. Patch from PJ Fanning.Javen O'Neal2016-11-088-0/+703
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768744 13f79535-47bb-0310-9956-ffa450edef68
* Example AligningCells: Use int instead of short for column-index, closes ↵Dominik Stadler2016-11-072-30/+33
| | | | | | | | Github #35 Also use more of the base classes where possible git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768584 13f79535-47bb-0310-9956-ffa450edef68
* Move XWPF examples to new package to clean up code coverageMark Murphy2016-11-077-7/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768437 13f79535-47bb-0310-9956-ffa450edef68
* 57366: XWPFTable to Header / Footer Mark Murphy2016-10-302-6/+99
| | | | | | | | Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=57366 This update contains a breaking change git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767175 13f79535-47bb-0310-9956-ffa450edef68
* Adds an example for building headers and footers in XWPFMark Murphy2016-10-241-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766459 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse automated refactor/cleanup: add missing @Override and @Deprecated ↵Javen O'Neal2016-10-1930-32/+115
| | | | | | annotations git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765726 13f79535-47bb-0310-9956-ffa450edef68
* Add Apache license to example fileMark Murphy2016-10-141-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764807 13f79535-47bb-0310-9956-ffa450edef68
* 53009: Problem creating header and footer Mark Murphy2016-10-131-0/+60
| | | | | | Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=53009 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764563 13f79535-47bb-0310-9956-ffa450edef68
* Add PropertyTemplate for drawing Borders (58787)Mark Murphy2016-10-051-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763338 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDoc and remove some unnecessary String.valueOf() calls and ↵Dominik Stadler2016-09-281-33/+21
| | | | | | fix some other compiler warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1762617 13f79535-47bb-0310-9956-ffa450edef68
* bug 59264: revert CellStyle#getBorder[Top|Bottom|Left|Right]() to return ↵Javen O'Neal2016-09-143-14/+14
| | | | | | short and add getBorder[Top|Bottom|Left|Right]Enum() returns BorderStyle enum for backwards compatibility with POI 3.14 and earlier git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760630 13f79535-47bb-0310-9956-ffa450edef68
* make CreatePivotTable self-explaining with better variable namesJaven O'Neal2016-08-241-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757459 13f79535-47bb-0310-9956-ffa450edef68
* Update CreatePivotTable with non-deprecated constructor. This closes #36 on ↵Javen O'Neal2016-08-241-2/+4
| | | | | | github. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757458 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary short cast. This closes #37 on githubJaven O'Neal2016-08-241-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757457 13f79535-47bb-0310-9956-ffa450edef68
* revert changes made in r1754691Mark Murphy2016-08-011-112/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754700 13f79535-47bb-0310-9956-ffa450edef68
* Add new class Cell Style Template and supporting enum for drawing bordersMark Murphy2016-07-311-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754691 13f79535-47bb-0310-9956-ffa450edef68
* bug 59264,59833,59837: upgrade deprecated methods in examples and testcasesJaven O'Neal2016-07-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753061 13f79535-47bb-0310-9956-ffa450edef68
* bug 59264,59833,59837: upgrade deprecated methods in examples and testcasesJaven O'Neal2016-07-1712-212/+247
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753060 13f79535-47bb-0310-9956-ffa450edef68
* close workbook to avoid resource leakJaven O'Neal2016-07-171-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753053 13f79535-47bb-0310-9956-ffa450edef68
* bug 59783: replace deprecated Hyperlink.LINK_* and Hyperlink.getType usageJaven O'Neal2016-07-171-11/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753041 13f79535-47bb-0310-9956-ffa450edef68
* bug 59873: replace Hyperlink.LINK_* int constants with HyperlinkType enumJaven O'Neal2016-07-171-8/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753035 13f79535-47bb-0310-9956-ffa450edef68
* bug 59791: getCellType and getCachedFormulaResultType should return an ↵Javen O'Neal2016-07-047-10/+10
| | | | | | integer for backwards compatibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751256 13f79535-47bb-0310-9956-ffa450edef68
* reorganize imports (remove unused imports, sort alphabetically)Javen O'Neal2016-07-041-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751244 13f79535-47bb-0310-9956-ffa450edef68
* bug 59791: replace deprecated Cell.CELL_TYPE_* usage with CellType.*Javen O'Neal2016-07-046-29/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751240 13f79535-47bb-0310-9956-ffa450edef68
* bug 59791: convert Cell Type to an enumJaven O'Neal2016-07-045-44/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751237 13f79535-47bb-0310-9956-ffa450edef68
* bug 59748: replace remaining Hashtable usages in contrib/poi-ruby and hssf ↵Javen O'Neal2016-06-251-1/+2
| | | | | | examples git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750182 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2016-06-243-24/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750171 13f79535-47bb-0310-9956-ffa450edef68
* Fix for test-data of #59746Andreas Beeker2016-06-231-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750033 13f79535-47bb-0310-9956-ffa450edef68
* update WriteAuthorAntTitle example to Java 1.6+Javen O'Neal2016-06-151-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748485 13f79535-47bb-0310-9956-ffa450edef68
* reverted changes of r1747942 and deprecated insteadAndreas Beeker2016-06-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748313 13f79535-47bb-0310-9956-ffa450edef68
* back out changes for bug 58787: will replae BorderPropertyTemplate with a ↵Javen O'Neal2016-06-131-112/+0
| | | | | | more general CellStyleTemplate in the future git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748294 13f79535-47bb-0310-9956-ffa450edef68
* bug 58787: reintegrate changes from ss_border_property_template branch at ↵Javen O'Neal2016-06-131-0/+112
|\ | | | | | | | | | | r1748074. The BorderPropertyTemplate allows changes to border formatting to be staged in a template and applied to a sheet at a later time. This reduces the number of intermediate styles created, reduces interactions with cell objects (CellUtil.get/setCellProperties), and makes it easier to make the same formatting changes to multiple sheets. This utility can currently apply border line style and border color. This utility also adds the ability to add a border around a cell range rather than a single cell. Contributed by Mark Murphy. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748075 13f79535-47bb-0310-9956-ffa450edef68
| * rename drawBorders(..., short color, ...) to drawColoredBorders to make it ↵ss_border_property_templateJaven O'Neal2016-06-131-4/+4
| | | | | | | | | | | | obvious that method changes border line style and color git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748074 13f79535-47bb-0310-9956-ffa450edef68
| * make CellRangeAddresses easier to cross-reference the example with the ↵Javen O'Neal2016-06-111-8/+16
| | | | | | | | | | | | written out workbook git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747888 13f79535-47bb-0310-9956-ffa450edef68
| * make these classes more discoverable/searchable using more specific namesJaven O'Neal2016-06-111-10/+10
| | | | | | | | | | | | | | rename PropertyTemplate to BorderPropertyTemplate rename Extent to BorderExtent git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747884 13f79535-47bb-0310-9956-ffa450edef68
| * replace usage of all deprecated CellStyle.BORDER_* constants with BorderStyle.*Javen O'Neal2016-06-111-19/+12
| | | | | | | | | | | | update PropertyTemplate functions to require enum instead of short borderType git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747868 13f79535-47bb-0310-9956-ffa450edef68
| * +props svn:eol-style=nativeJaven O'Neal2016-06-111-111/+111
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747852 13f79535-47bb-0310-9956-ffa450edef68
| * bug 58787: add PropertyTemplate, unit test, and example from Mark MurphyJaven O'Neal2016-06-111-0/+111
| | | | | | | | | | | | Attachment 33684 plus changes to TestPropertyTemplate#applyBorders: replaced assertEquals(CellStyle.BORDER_*, cs.getBorder*()) with assertEquals(BorderStyle.*, cs.getBorder*()) git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747851 13f79535-47bb-0310-9956-ffa450edef68
* | fixing javadocs errors (in JDK8)Andreas Beeker2016-06-1214-41/+0
| | | | | | | | | | | | removing Rainers author tags as those cause a lot of errors and should be omitted anyways (see https://poi.apache.org/guidelines.html) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748046 13f79535-47bb-0310-9956-ffa450edef68
* | findbugs fixesAndreas Beeker2016-06-121-1/+2
|/ | | | | | changed UDFFinder to abstract class and moved DEFAULT constant to factory method git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747942 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Sonar issues and some IntelliJ warningsDominik Stadler2016-06-022-151/+165
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746627 13f79535-47bb-0310-9956-ffa450edef68
* Copy out code from the site and fixNick Burch2016-05-241-0/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745348 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58190: Add more overloaded methods for adding pictures from streams and ↵Dominik Stadler2016-05-221-4/+4
| | | | | | files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745073 13f79535-47bb-0310-9956-ffa450edef68
* Reduce calls to utf-related methods - the integration test took ages because ↵Andreas Beeker2016-05-161-3/+24
| | | | | | of poc-shared-strings.xlsx git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744005 13f79535-47bb-0310-9956-ffa450edef68
* bug 59443: use Comment.setAddress when changing both row and column of cell ↵Javen O'Neal2016-05-091-2/+2
| | | | | | comment address git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742880 13f79535-47bb-0310-9956-ffa450edef68