• Post Reply Bookmark Topic Watch Topic
  • New Topic

error when merging pptx files  RSS feed

kazim kazia
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I generated a several ppt files using JRPptxExporter. after that, I wanted to merge them to obtain one ppt file, I used createSlide().importContent iterating on XMLSlideShow  of each ppt.

I get this exception:

But if I open the ppt files from the explorer with Microsoft PPT,  before the merge, do any change on them, save the files, then do the merge, it works fine.
this is my code:

1- creating the ppt files using .jasper templates

2- Merge the ppt files

I get the exception when:   ppt.createSlide().importContent(srcSlide);

I tryed with 6.0.0, 6.2.2 and 6.3.0 versions
can you please tell me what is the problem? and why modifying the file using PowerPoint makes it work?

Thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!