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
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
Joined: Dec 01, 2001
Posts: 179
posted
0
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
Joined: Mar 22, 2000
Posts: 12325
1
posted
0
Where does this Word data live - on the web server or on the client? Bill
jawwad ahmed
Ranch Hand
Joined: Dec 01, 2001
Posts: 179
posted
0
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
Joined: Mar 22, 2000
Posts: 12325
1
posted
0
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
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.
Ashik Uzzaman Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
jawwad ahmed
Ranch Hand
Joined: Dec 01, 2001
Posts: 179
posted
0
Thanks If u try pleasse let me know
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.