Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Read Bookmarks from a word document using apache POI  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have any experience woking with POI and MS WORD. I need to read bookmarks from a document then right to it. I went throw the docs, and I don't see any reference to bookmarks, only tables, ranges and paragraphs

1. I wanted to work with the word document template in memory, I'm retrieving this doc with bookmark from a db and then I store the bytes in memory.

2. I wanted to retrieve the corresponding bookmark values from a db and place those dynamic values into document which is in memory. Finally I have to show the document to user which is updated everything.

Highly appreciated if provide example codes.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!