The JIRA issue you have been pointing is fixed and closed, so not a problem any longer. ;-)
As ODFDOM is designed to use a DOM Tree and keeping all elements & attributes and the Simple API relies on ODFDOM doing the same, there should be no data loss when loading and saving a document. This is far safer than earlier applications are designed as Microsoft Office and StarOffice, where there had been an import filter and the document's data had been mapped to an internal data model. All the data that did not fit into it was neglected (filtered), was lost. In other words, I do think our software is production ready, but I also think that it makes good sense to add regression tests covering the features (or use case) you are relying on. Never underestimate humans creativity ;) Cheers, Svante ᐧ 2018-01-24 9:42 GMT+01:00 Julien Le Gall <[email protected]>: > Thank you very much for you answer ! > > The feature doesn't seem to exist already, but does seem easy to implement > using simple API. > > I am considering using OdfDom as an alternative to LibreOffice via > UnoBridge. > > Would you consider Section Navigation and insertContentFromDocumentAfter > production ready ? Your comment in > https://issues.apache.org/jira/browse/ODFTOOLKIT-300 implies that some > code > might not be... > > > > 2018-01-23 14:14 GMT+01:00 Svante Schubert <[email protected]>: > > > There are so many features, I would have to consult the JavaDoc myself. > ;) > > > > But if you have not found it in the Simple API > > http://incubator.apache.org/odftoolkit/0.6.2-incubating/simple/, > > > > you would need to adjust the ODF XML by using the ODFDOM API, > > http://incubator.apache.org/odftoolkit/0.6.2-incubating/odfdom/ > > which uses a Java class for each ODF element and attribute. > > > > The common way to implement a new feature is to create the desired the > > document in OpenOffice or LibreOffice (and perhaps check if it also works > > in Microsoft Office) and created the desired document within a regression > > test by the Simple or the ODFDOM API. > > > > The tests are also a get way to get to know the API. > > > > Hope this already helps you, > > Svante > > ᐧ > > > > 2018-01-23 14:04 GMT+01:00 Julien Le Gall <[email protected]>: > > > > > Hi ! > > > > > > I have looked around > > > http://incubator.apache.org/odftoolkit/0.6.2-incubating/ > > > odfdom/index.html?org/odftoolkit/odfdom/package-tree.html > > > , and I can't find any method to update a section with a link to a > file, > > > the same way "Tools / update / links" would. > > > > > > Does that kind of method exist ? > > > > > > Thank you. > > > > > >
