Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.5-incubating
-
Windows 7, java 1.7
Description
I'm modifying file metadata .ods, the application works correctly for files under 3 MB but in the case of files larger of 2,8 MB it creates a file 2 KB and get locked by the java process. No java error display.
My code is as follows:
doc = OdfDocument.loadDocument(new File("C:\tmp\ficheroIn.ods"));
OdfFileDom metadom = doc.getMetaDom();
Meta metadata = new Meta(metadom);
metadata.setTitle(plantilla.getTitulo());
metadata.setSubject(plantilla.getAsunto());
metadata.setCreator(plantilla.getModificadoPor());
metadata.setDescription(plantilla.getComentarios());
doc.save("C:\tmp\ficheroOut.ods");