Details

      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");

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adarsus Jacinto Verdaguer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: