| View previous topic :: View next topic |
| Author |
Message |
dhnriverside Newbie

Joined: 11 Jul 2005 Posts: 2
|
Posted: Mon Jul 11, 2005 12:52 am Post subject: Controlling Writer with VBScript |
|
|
Hi guys
I currently have an web app that uses VBScript to control Microsoft Word. SOmething like the following...
<script language="vbscript">
set app = CreateObject("Word.Application")
set doc = app.Documents.New()
.....
.....
</script>
This webapp is for a client, and they are considering switching from MSOffice to OpenOffice.
If they do this, does OpenOffice have a way of being able to control Writer like this? Some sort of document object model I can control from VBScript or Javascript, to load Writer and create a document on the fly?
Thanks for any help!
Dan |
|
| Back to top |
|
 |
JZA OOo Advocate


Joined: 01 Feb 2003 Posts: 432 Location: Mexico
|
Posted: Tue Jul 12, 2005 2:36 am Post subject: OOo = XML |
|
|
OpenOffice.org is an XML document so you need to find extensions to manipulate XML data and other tool to manage a zipping functionality.
Please read this document (is pretty big but you will get the point after the first chapter).
http://books.evc-cit.info/book.php _________________ Alexandro Colorado
PPMC Apache OpenOffice
http://es.openoffice.org |
|
| Back to top |
|
 |
dhnriverside Newbie

Joined: 11 Jul 2005 Posts: 2
|
Posted: Tue Jul 12, 2005 3:04 am Post subject: |
|
|
| Thanks JZA, that's cleared it up for me. |
|
| Back to top |
|
 |
|