Using document as a java swing component

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
engg_agrawal
Posts: 1
Joined: Tue Feb 26, 2008 7:33 pm

Using document as a java swing component

Post by engg_agrawal »

Hi,
can i use a document excel file or a doc file as a swing component.
i have few templates in in excel and .doc format.
i use them to produce bills by just entering data.
Now i want to develop a swing application and use the same templates in jpanel or jtextpane or jeditorpane.
its very hectic to make templates in swing using tables and all.
is there any api which can help me out???
thanks
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: help-using document as a java swing component

Post by hol.sten »

Sounds like you should give the OfficeBean chapter of the OOo Developer's Guide "JavaBean for office components" a try: http://api.openoffice.org/docs/Develope ... Bean.xhtml
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
Post Reply