Releases: jferard/fastods
Releases · jferard/fastods
0.8.1
Tutorial:
- Add page margin and page size example to the tutorial
- Add an example of FastODSBus
Library:
- Rename WriteUtil to IntegerRepresentationCache because it's a cache.
- Add support for "Tools > Protect Spreadsheet"
- Add validation of the generated files in the examples module.
- Add slash to directory paths in manfest.xml to ensure they are not seen as files.
- Add support for print ranges
- Add support for header rows and columns
- Make XXXUtil methods static
- Add partial cell content validation
v0.7.3
Changes are:
TableCellStyle.toBuilder
: to make a builder out of an existing style.- make
BorderAttribute
public to use the same border for top, bottom, left... - external implementations of
TableCell
are accepted. - custom namespaces are accepted
- added OSGi Manifest Headers (thanks to @juergen-albert)
- added file encryption
- fixed some issues that were signaled by Excel (thanks to @ueen)
Internal changes:
write
is replaced byappend
0.7.0
Some important improvements :
- auto filters: one can pre filter the rows, but needs a workaround (trigger a script at the opening of the document);
- pilot tables: same workaround needed ;
- scripts: it is possible to add scripts to a document (for FastODS, the content of a script is just text and has no meaning);
- events: it is possible to associate a script with an event.
- formulas: fixed formulas and matrix formulas.
Misc:
- added a tutorial in fastods-examples
- grouped attributes in a package.
v0.6.2
The Table
object has become stateless. This implies a break in the API: Table.nextRow()
and TableRow.getWalker()
are now deprecated.
Instead of:
TableRow row = table.nextRow();
TableCellWalker walker = row.getWalker();
// use walker for row 0
row = Table.nextRow();
walker = row.getWalker();
// use walker for row 1
// ...
One should use Table.getWalker
:
TableCellWalker walker = Table.getWalker();
// use walker (row 0)
walker.nextRow();
// use walker (row 1)
// ...
The new TableCellWalker
implements the RowCellWalker
, TableRowWalker
, TableCell
, TableRow
and TableColumn
interfaces. The API is now cleaner.
To use the old API, replace TableCellWalker
by RowCellWalker
:
TableRow row = table.nextRow();
RowCellWalker walker = row.getWalker();
// use walker for row 0
row = table.nextRow();
walker = row.getWalker();
// use walker for row 1
// ...
Other improvements:
- Add tutorial
- Fix
TimeValue
- Fix
tools.jar
bug (yes!) - Fix minor bugs.
0.6.1
First pre-release in more than a year. Thanks to the users that opened issues.
- Replace
buildHidden()
byhidden().build()
- Fix issue with data styles
- Add text data style
- Improve time data style
- Fix XML escaper
- Add rotation angle (first pull request, thanks to https://github.com/qmor), font choice,
- Don't close AnonymousOdsDocument automatically
- Add "freeze cells" feature.
0.6.0
0.5.1
Dramatically improve speed.
0.5.0
- Remove some getters
- Improve test coverage
- Fix a testlib bug
- Fix a background color bug for default cell style
- Make from Color an enum
- Harmonize
appendXML...
method names
0.4.1
- Improve compatibility with other libraries
- Example become integration tests
0.4.0
Major change:
- getters were removed
This release also fixes internal issues:
- HeavyTableRow was removed: each cell is represented by an object.
- Cells of a Row are in a FullList.
- Improvement of test coverage
- A implementation of threading
- Anonymous cell styles for combinations of a cell style and a data style.