• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Read Bookmarks from a word document using apache POI

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic