thuliobuarque / java2word

Automatically exported from code.google.com/p/java2word
0 stars 0 forks source link

Go to page using java2word #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

Can you please let me know how to navigate/read specific page data using page 
search or go to page.

Thanks,
Kishore

Original issue reported on code.google.com by kishores...@gmail.com on 22 Feb 2012 at 4:23

GoogleCodeExporter commented 8 years ago
hi Kishore

what do you mean exactly? do you want to get a content of a given page? Do you 
need to replace things on the document? 

remember that the document is represented by an XML String so you can replace 
or search for things in it.

or give some examples

cheers
Leonardo  

Original comment by leonardo...@gmail.com on 22 Feb 2012 at 4:26

GoogleCodeExporter commented 8 years ago
Hi  Leonardo ,

Thanks for the reply.

I am trying to insert images in page by page.

I have used PageBreak command after adding element of image.

Suppose I have 10 images and those are added to document using loop. But
when a new image is added to page, it is inserting in page1 only.

Finally last image remains on the document. Instead of that, if I know the
command to set focus /cursor position in Page2 and so on...

then I can see 10 images in the document.

Please suggest how to achieve it through java2word.

Original comment by kishores...@gmail.com on 22 Feb 2012 at 8:36

GoogleCodeExporter commented 8 years ago
PageBreak after each image in a loop will give you ten pages for sure. You 
currently can't specify a page to insert the image. Post your code with the 
loop and the command to insert the images case you can't get it right. 

cheers
Leonardo

Original comment by leonardo...@gmail.com on 22 Feb 2012 at 12:28