Skip to content

Commit 357b1c1

Browse files
Update v2.6.0
1 parent f0420d3 commit 357b1c1

33 files changed

+340
-261
lines changed

Changelog.md

+33-36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## v2.6.0
4+
5+
---
6+
Release Date: **01.09.2020**
7+
8+
- Added new data type TIME, represented by LocalTime objects
9+
- Added time (LocalTime) examples to the demos
10+
- Updated documentation
11+
- Fixed some code formatting issues
12+
313
## v2.5.5
414

515
---
@@ -17,16 +27,13 @@ Release Date: **07.12.2018**
1727
- Improved the performance of adding stylized cells by factor 10 to 100
1828
- Code reformatting
1929

20-
21-
2230
## v2.5.3
2331

2432
---
2533
Release Date: **04.11.2018**
2634

2735
- Fixed a bug in the style handling of merged cells. Bug fix provided by David Courtel for PicoXLSX (C#)
2836

29-
3037
## v2.5.2
3138

3239
---
@@ -35,7 +42,6 @@ Release Date: **24.08.2018**
3542
- Fixed a bug in the calculation of OA Dates (internal format)
3643
- Documentation Update
3744

38-
3945
## v2.5.1
4046

4147
---
@@ -44,7 +50,6 @@ Release Date: **19.08.2018**
4450
- Fixed a bug in the Font style class
4551
- Fixed typos
4652

47-
4853
## v2.5.0
4954

5055
---
@@ -56,7 +61,6 @@ Release Date: **03.07.2018**
5661
- Extended Demo 1 to demonstrate the new address types
5762
- Minor, internal changes
5863

59-
6064
## v2.4.0
6165

6266
---
@@ -71,7 +75,6 @@ Release Date: **08.06.2018**
7175
- Added new demo for the introduced style features
7276
- Internal optimizations and fixes
7377

74-
7578
## v2.3.4
7679

7780
---
@@ -81,7 +84,6 @@ Release Date: **31.05.2018**
8184
- Added numeric data types Byte, BigDecimal, and Short (proposal by Johan Lindvall for PicoXLSX)
8285
- Changed the behavior of cell type casting. User defined cell types will now only be overwritten if the type is DEFAULT (proposal by Johan Lindvall for PicoXLSX)
8386

84-
8587
## v2.3.3
8688

8789
---
@@ -90,9 +92,8 @@ Release Date: **26.05.2018**
9092
- Fixed a bug in the handling of worksheet protection
9193
- Code cleanup
9294

93-
9495
## v2.3.2
95-
96+
9697
---
9798
Release Date: **12.03.2018**
9899

@@ -104,9 +105,8 @@ Release Date: **12.03.2018**
104105
- Fixed typos
105106
- Documentation update
106107

107-
108108
## v2.3.1
109-
109+
110110
---
111111
Release Date: **16.02.2018**
112112

@@ -117,9 +117,8 @@ Release Date: **16.02.2018**
117117
- Changed the naming of the dist files. executable and javadoc (jar files) contains now the version number
118118
- Removed the javadoc folder in dist in favour of a jar file (the plain files are still available in the docs folder)
119119

120-
121120
## v2.3.0
122-
121+
123122
---
124123
Release Date: **13.02.2018**
125124

@@ -130,7 +129,6 @@ Release Date: **13.02.2018**
130129
- Changed the method names SetColumnWidth (Worksheet) to setColumnWidth and GetCellRange (Cell) to getCellRange, to follow conventions (minor updates of code may necessary)
131130
- Minor bug fixes
132131
- Documentation update
133-
134132

135133
## v2.2.0
136134

@@ -140,8 +138,7 @@ Release Date: **10.12.2017**
140138
- Added Shortener class (WS) in workbook for quicker writing of data / formulas
141139
- Documentation Update
142140

143-
144-
## v2.1.0
141+
## v2.1.0
145142

146143
---
147144
Release Date: **03.12.2017**
@@ -150,8 +147,7 @@ Release Date: **03.12.2017**
150147
- Added demo for the new stream save method
151148
- Changed log to MD format
152149

153-
154-
## v2.0.1
150+
## v2.0.1
155151

156152
---
157153
Release Date: **01.11.2017**
@@ -161,13 +157,13 @@ Release Date: **01.11.2017**
161157
- Fixed errors in teh demo documentation (comments)
162158
- Fixed typos
163159

164-
165-
## v2.0.0
160+
## v2.0.0
166161

167162
---
168163
Release Date: **29.10.2017**
169164

170165
**Note**: This major version is not compatible with code of v1.x. However, porting is feasible with moderate effort
166+
171167
- Changed package structure to ch.rabanti.picoxlsx4j
172168
- Complete replacement of style handling
173169
- Added an option to add styles with the cell values in one step
@@ -179,7 +175,7 @@ Release Date: **29.10.2017**
179175
- Added more documentation
180176
- Added new functionality to the demos
181177

182-
## v1.6.3
178+
## v1.6.3
183179

184180
---
185181
Release Date: **24.08.2017**
@@ -189,7 +185,7 @@ Release Date: **24.08.2017**
189185
- Minor optimizations
190186
- Fixed typos
191187

192-
## v1.6.2
188+
## v1.6.2
193189

194190
---
195191
Release Date: **12.08.2017**
@@ -198,23 +194,25 @@ Release Date: **12.08.2017**
198194
- Fixed typos
199195

200196
## v1.6.1
201-
197+
202198
---
203199
Release Date: **08.08.2017**
204200

205201
**Note**: Due to a (now fixed) typo in a public parameter name, it is possible that some function calls on existing code must be fixed too (just renaming).
202+
206203
- Fixed typos (parameters and text)
207204
- Minor optimization
208205
- Moved Sub-Classes Range and Address to separate files
209206
- Complete reformatting of code (alphabetical order)
210207
- HTML documentation moved to folder 'docs' to provide an automatic API documentation on the hosting platform
211208

212-
## v1.6.0
209+
## v1.6.0
213210

214211
---
215212
Release Date: **15.04.2017**
216213

217214
**Note**: Using this version of the library with old code can cause compatibility issues due to the simplification of some methods (see below).
215+
218216
- Simplified all style assignment methods. Referencing of the workbook is not necessary anymore (can cause compatibility issues with existing code; just remove the workbook references)
219217
- Removed getCellAddressString and setCellAddressString Method. Replaced by getCellAddress and setCellAddress (String object)
220218
- getCellAddress and setCellAddress (Address object) are replaced by getCellAddress2 and setCellAddress2
@@ -261,16 +259,16 @@ Release Date: **15.11.2016**
261259

262260
- Fixed bug in sharedStrings table
263261

264-
265262
## v1.5.0
266263

267264
---
268265
Release Date: **16.08.2016**
269266

270267
**Note**: Using this version of the library with old code can cause compatibility issues due to the removal of some methods (see below).
268+
271269
- Removed all overloaded methods with various input values for adding cells. Object is sufficient
272270
- Added sharedStrings table to manage strings more efficient (Excel standard)
273-
- Changed demos according to removed overloaded methods (ArrayList<String> is now ArrayList<Object>)
271+
- Changed demos according to removed overloaded methods (```ArrayList<String>``` is now ```ArrayList<Object>```)
274272
- Added support for long (64bit) data type
275273

276274
## v1.4.0
@@ -294,32 +292,32 @@ Release Date: **18.01.2016**
294292
- Added new Column class (sub-class of Worksheet) to manage column based properties more efficiently
295293
- Removed unused Exception UnsupportedDataTypeException
296294
- Fixed some documentation issues
297-
- Minor bug fixes + typos
295+
- Minor bug fixes + typos
298296
- Added further demo for the new features
299297

300-
## v1.2.4
298+
## v1.2.4
301299

302300
---
303301
Release Date: **08.11.2015**
304302

305303
- Fixed a bug in the meta data section
306304

307-
## v1.2.3
305+
## v1.2.3
308306

309307
---
310308
Release Date: **04.11.2015**
311309

312310
- Changed all Exceptions to RuntimeExceptions, apart from IOException
313311
- Fixed typos
314312

315-
## v1.2.2
313+
## v1.2.2
316314

317315
---
318316
Release Date: **02.11.2015**
319317

320318
- Added support for protecting workbooks
321319

322-
## v1.2.1
320+
## v1.2.1
323321

324322
---
325323
Release Date: **01.11.2015**
@@ -328,7 +326,7 @@ Release Date: **01.11.2015**
328326
- Minor bug fixes
329327
- Added more documentation
330328

331-
## v1.2.0
329+
## v1.2.0
332330

333331
---
334332
Release Date: **31.10.2015**
@@ -340,17 +338,16 @@ Release Date: **31.10.2015**
340338
- Added further demo for the new features
341339

342340
## v1.1.3
343-
341+
344342
---
345343
Release Date: **13.10.2015**
346344

347345
- Update to Java 8 (full compatible to Java 7)
348346
- Fixed Javadoc to meet requirements of Java 8
349347

350-
## v1.1.2
348+
## v1.1.2
351349

352350
---
353351
Release Date: **12.10.2015**
354352

355353
- Initial release (synced to v1.1.2 of PicoXLSX for C#)
356-

README.md

+28-19
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# PicoXLSX4j ![PicoXLSX](https://rabanti-github.github.io/PicoXLSX/icons/PicoXLSX.png)
22

3-
43
![Maven Central](https://img.shields.io/maven-central/v/ch.rabanti/picoxlsx4j.svg?maxAge=86400)
54
![license](https://img.shields.io/github/license/rabanti-github/picoXlsx.svg)
65
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frabanti-github%2FPicoXLSX4j.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Frabanti-github%2FPicoXLSX4j?ref=badge_shield)
76

8-
9-
107
PicoXLSX4j is a small Java library to create XLSX files (Microsoft Excel 2007 or newer) in an easy and native way. It is a direct port of [PicoXLSX for C#](https://github.com/rabanti-github/PicoXLSX)
118

129
* No need for an installation of Microsoft Office
@@ -20,7 +17,8 @@ Project website: [https://picoxlsx.rabanti.ch](https://picoxlsx.rabanti.ch)
2017

2118
See the **[Change Log](https://github.com/rabanti-github/PicoXLSX4j/blob/master/Changelog.md)** for recent updates.
2219

23-
# What's new in version 2.x
20+
## What's new in version 2.x
21+
2422
* Changed package structure to ch.rabanti.picoxlsx4j
2523
* Added Maven support (available in Maven Central under ch.rabanti.picoxlsx4j)
2624
* Complete replacement of the old style handling
@@ -34,31 +32,40 @@ See the **[Change Log](https://github.com/rabanti-github/PicoXLSX4j/blob/master/
3432
* Added functions to retrieve stored data and the current cell address
3533
* Many internal optimizations and additional documentation
3634

37-
# Requirements
38-
PicoXLSX4j was created with Java 8 and is fully compatible with Java 7<br>
35+
## Requirements
36+
37+
PicoXLSX4j was created with Java 8 and is fully compatible with Java 7
3938
The only requirement for developments are a current JDK to develop and JRE to run.
4039

41-
# Installation
42-
## As JAR
40+
## Installation
41+
42+
### As JAR
43+
4344
Simply place the PicoXLSX4j jar file (e.g. **picoxlsx4j-2.5.5.jar**) into the lib folder of your project and create a library reference to it in your IDE.
44-
## As source files
45+
46+
### As source files
47+
4548
Place all .java files from the PicoXLSX4j source folder into your project. The folder structure defines the packages. Please use refactoring if you want to relocate the files.
46-
## Maven ##
47-
Add the following information to your POM file within the <code>&lt;dependencies&gt;</code> tag:
49+
50+
### Maven
51+
52+
Add the following information to your POM file within the ```<dependencies>``` tag:
53+
4854
```xml
4955
<dependency>
5056
<groupId>ch.rabanti</groupId>
5157
<artifactId>picoxlsx4j</artifactId>
52-
<version>2.5.5</version>
58+
<version>2.6.0</version>
5359
</dependency>
54-
```
60+
```
5561

5662
**Important:** The version number may change.
57-
Please see the version number of Maven Central at the top of the README (maven-central badge) or check the [Change Log](https://github.com/rabanti-github/PicoXLSX4j/blob/master/Changelog.md) for the most recent version. The keywords ```LATEST``` and ```RELEASE``` are only valid in Maven 2, not 3 and newer.
63+
Please see the version number of Maven Central at the top of the README (maven-central badge) or check the [Change Log](https://github.com/rabanti-github/PicoXLSX4j/blob/master/Changelog.md) for the most recent version. The keywords ```LATEST``` and ```RELEASE``` are only valid in Maven 2, not 3 and newer.
64+
65+
## Usage
5866

67+
### Quick Start (shortened syntax)
5968

60-
# Usage
61-
## Quick Start (shortened syntax)
6269
```java
6370
Workbook workbook = new Workbook("myWorkbook.xlsx", "Sheet1"); // Create new workbook with a worksheet called Sheet1
6471
workbook.WS.value("Some Data"); // Add cell A1
@@ -70,7 +77,8 @@ Please see the version number of Maven Central at the top of the README (maven-c
7077
} catch (Exception ex) {}
7178
```
7279

73-
## Quick Start (regular syntax)
80+
### Quick Start (regular syntax)
81+
7482
```java
7583
Workbook workbook = new Workbook("myWorkbook.xlsx", "Sheet1"); // Create new workbook with a worksheet called Sheet1
7684
workbook.getCurrentWorksheet().addNextCell("Some Data"); // Add cell A1
@@ -83,9 +91,10 @@ Please see the version number of Maven Central at the top of the README (maven-c
8391
```
8492

8593
## Further References
86-
See the full <b>API-Documentation</b> at: [https://rabanti-github.github.io/PicoXLSX4j/](https://rabanti-github.github.io/PicoXLSX4j/).<br>
87-
The [Demo class](https://github.com/rabanti-github/PicoXLSX4j/blob/master/src/main/java/ch/rabanti/picoxlsx4j/demo/PicoXLSX4j.java) contains 13 simple use cases. You can also look at the full API documentation or the Javadoc annotations in the particular .java files.<br>
8894

95+
See the full **API-Documentation</b> at: [https://rabanti-github.github.io/PicoXLSX4j/](https://rabanti-github.github.io/PicoXLSX4j/).
96+
The [Demo class](https://github.com/rabanti-github/PicoXLSX4j/blob/master/src/main/java/ch/rabanti/picoxlsx4j/demo/PicoXLSX4j.java) contains 13 simple use cases. You can also look at the full API documentation or the Javadoc annotations in the particular .java files.
8997

9098
## License
99+
91100
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frabanti-github%2FPicoXLSX4j.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Frabanti-github%2FPicoXLSX4j?ref=badge_large)

src/main/java/ch/rabanti/picoxlsx4j/Address.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* PicoXLSX4j is a small Java library to generate XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3-
* Copyright Raphael Stoeckli © 2019
3+
* Copyright Raphael Stoeckli © 2020
44
* This library is licensed under the MIT License.
55
* You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
66
*/

src/main/java/ch/rabanti/picoxlsx4j/BasicFormulas.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* PicoXLSX4j is a small Java library to generate XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3-
* Copyright Raphael Stoeckli © 2019
3+
* Copyright Raphael Stoeckli © 2020
44
* This library is licensed under the MIT License.
55
* You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
66
*/

0 commit comments

Comments
 (0)