Jump to content
Changes to the Jaspersoft community edition download ×

Jasper IReport XML


ahmy_1

Recommended Posts

Hi, guys is there a way to SAVE AS XML file from word document and import it to jasper, let me give you an example:
I have a word document with header Hello World and i save the file as XML so when i create new report i go to xml in Jasper Ireport and i copy/paste the xml from the word document so i can get Hello World in ireprot without creating anything? 

I know there must be something like a convertor. I just wonder did some one create something similar 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Yes. I did create one for my customer. I also created one form excel and powerpoint too.

There are 2 ways to do this.

First is to directly convert the xml file. Xml specifications of these files are made public so this is possible.

Second is to use Apache Poi to read the MS Office xml and to generate jrxml using dynamic report creation technique. Warning on this approach is that Apache Poi doesn't fully support all MS Office features.

So, it is possible to write a converter.

Just as a warning, not all features can be mapped but a simple report can be converted.

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...