Not without using a macro, no I cannot think of a way to accomplish this. Even if you save a Word file with the cursor (insertion point) at a specific location, when Word opens the file it always - at least as far as I am aware - places the cursor at the start of the document. I had a quick look at the command line switches available for use with Word but there is nothing suitable there either.
Sadly, HWPF does not support macros currently. Yours Mark B bihag wrote: > > Hi Mark, > > Yes, When user is opening in their system that time document should open > at specific place. > > Regards, > Bihag Raval > > > MSB wrote: >> >> Are you saying that when the user opens the document using Word, then it >> ought to open at a specific place (page and paragraph)? >> >> Yours >> >> Mark B >> >> >> bihag wrote: >>> >>> Hi All, >>> >>> Requirement is this ... >>> >>> We are reading word document and getting all annotation from that >>> document, and we are sending this document to user, when user open the >>> document that time document should open with some specific page specific >>> paragraph. ( That specific page, paragraph location we can give it, I >>> can give the org.apache.poi.hwpf.usermodel.Range object. ) >>> >>> Please provide some example code to do this functionality ... >>> >>> Appreciate you help ... >>> >> >> > > -- View this message in context: http://www.nabble.com/How-to-open-word-document-at-specific-paragraph-with-poi---tp24644084p24645995.html Sent from the POI - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
