Results 1 to 4 of 4
- 05-11-2012, 08:55 AM #1
Member
- Join Date
- May 2012
- Posts
- 10
- Rep Power
- 0
Editing a wor d document from an application
I am creating an application that keeps track of customer records, and payments are entered manually. this information needs to be passed into a word document template iv made.
Is there any way to pass information from a class to fill a word template?
if not, any possible solutions? thanks
- 05-11-2012, 09:16 AM #2
Member
- Join Date
- Jul 2010
- Posts
- 38
- Rep Power
- 0
Re: Editing a wor d document from an application
It may be helpful to you...
XML Code:import java.math.*; import java.io.*; public class TextToWord{ public static void main(String arg[]) { try{ FileOutputStream fs = new FileOutputStream("TextToWord.doc"); OutputStreamWriter out = new OutputStreamWriter(fs); out.write("Welcome to Java Forum"); out.close(); } catch (IOException e) { System.err.println(e); } } }
-----------------------
mcajavaprogramerLast edited by mcajavaprogramer; 05-11-2012 at 09:18 AM.
- 05-15-2012, 09:20 AM #3
- 05-15-2012, 09:45 AM #4
Member
- Join Date
- May 2012
- Posts
- 10
- Rep Power
- 0
Similar Threads
-
JFormattedTextField, Document Filter, Document Listener
By D.Calladine in forum AWT / SwingReplies: 1Last Post: 03-21-2012, 11:48 PM -
How to Convert Excel document to word document?
By sudheer.v47 in forum Advanced JavaReplies: 1Last Post: 10-07-2011, 12:32 PM -
Problem with editing jar
By DanielR in forum New To JavaReplies: 16Last Post: 02-11-2011, 02:15 AM -
Photo Editing
By stekun in forum Advanced JavaReplies: 3Last Post: 02-23-2010, 05:11 AM -
Text editing
By right2001 in forum New To JavaReplies: 1Last Post: 04-10-2009, 07:03 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks