• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

empty lines in a document.

 
Thyagarajan Ramanujam
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing some data into a file along some pictures. Suppose if a file can have 50 lines and already there is some text in 30 lines. Then I have to insert a picture which has a height which will be greater than 20 lines. In this case, the image should be written in the next page in the same document.

What should be done in this case?

Thanks. Any help is appreciated.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of document are you writing to?
 
Thyagarajan Ramanujam
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MS word document.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the Apache POI library? It has a decent set of API calls which may help you with this.
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or you can try some of the suggestions here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic