Hi, I am using the Simple API and the ODFDOM to perform a match-merge of large XML files to ODT files. I am currently using the simple-odf-0.6.6.jar and odfdom-java-0.8.7.jar.
I thought I would take a crack at upgrading to the most recent 0.6.1-incubating Jar files with all of their dependencies. I have a test case which is a 72,000 line XML file. A Java 7 program will process this nested XML file and create a very large multi-cell table which may contain multiple paragraphs per cell in the ODT. examples: Paragraph para = cell1.addParagraph(greatGrandChildText); ... myFont.setFontStyle(StyleTypeDefinitions.FontStyle.BOLD); para.setFont(myFont); ... cell1.setDisplayText(grandChildText,new StringCellValueAdapter(), paraStyles[childCnt-1]); ... etc.... The older version takes around 50 seconds. After switching out the ODF Jars, the file now takes about 5.5 minutes to process. Is there a known performance issue with the new version of the ODFToolkit, or are there any docs on performance tuning or code changes which might help resolve this? I know this is vague, but I thought I would ask if I am missing something obvious. Thanks, Kevin Skelton This message is intended for use only by the person(s) addressed above and may contain privileged and confidential information. Disclosure or use of this message by any other person is strictly prohibited. If this message is received in error, please notify the sender immediately and delete this message.
