• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic table in word doc using apache poi  RSS feed

 
Adf Dev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to create multiple table having multiple rows and fixed column in a word document using apache poi. Let us consider a case an university has multiple  college . A college can have  number of dept (which will vary from col to col).

If number of college selected =2 then number of table =2
No of col will be fixed say(4)
No of rows in a each table =No of dept in that college

Is this kind  of scenario possible using apache poi?
If yes then pl guide as I am able to create table but not able to create exact rows and content in each row

Thanks
table-scenario-.PNG
[Thumbnail for table-scenario-.PNG]
Scenaio Image
 
Tim Moores
Saloon Keeper
Posts: 4036
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POI's document creation facilities are extremely limited, somewhat buggy, and basically unmaintained. I advise to create the document some other way, maybe as RTF which all versions of Word (as well as other word processors) can read.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!