• Post Reply Bookmark Topic Watch Topic
  • New Topic

Word Object in Jsp

 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i want to automate Word Object in Jsp how i make it possible.
Jawwad Ahmed
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Word Object- like a Sentence object??
 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I mean Like wih OLE u can any object whether it is Exel,spreadsheet or word object.I hope now u understand my question.
Waiting for reply
Jawwad Ahmed
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you want to pull data out of the Word object to create an HTML page or do you want to send the Word document?
Bill
 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i want to embed word view (like u add control in vb)and populate it with data.Thats the same thing i want to do.Will be great ful
Thanks
Jawwad Ahmed
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where does this Word data live - on the web server or on the client?
Bill
 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well data lies on the server side and populate on according to client request in the word and the word is displyed on the explorer.Thanks
Jawwad Ahmed
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibility 1.
Save Word document as RTF - use methods in the javax.swing.text.rtf.RTFEditorKit package to pull the data out. I have never done this but a Yahoo search on "word document in Java" found references.
Possibility 2.
The Apache POI Project may have gotten somewhere in their tools for Word documents. I have not checked recently. POI stands for Poor Obfuscation Implementation.
Bill
 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks i will find it out
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found both JDK1.3 and JDK1.4 API telling about RTFEditorKit that it will be improved. Anyway, we can start using it. I need two functionalities in my Swing based application.
(1) Saving texts of a JEditorPane or JTextArea as an RTF document.
(2) Opening an RTF document and rendering that's content to a JEditorPane or JTextArea.
So its basically preparring an RTFEditor in Java. According to API, these should be done using the write and read methods respectively.
Let me try and report you.
 
jawwad ahmed
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks If u try pleasse let me know
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!