Page 1 of 1

[Solved] Writer automation using C# library problems

Posted: Wed Mar 30, 2011 9:58 pm
by Scareh
I'm having trouble with a project i've started using open office.

The objective of the program is to open an existing document of Open Office Writer and insert data from my MySQL server database into specific places on the page. (i'm thinking bookmarks?)

Now i've been googling around a bit and i need references to be able to open an open office doc. (in Office thats the Microsoft.Office 1X Library)
Which one do i need for Writer?
I looked around and it's supposed to be in : OpenOffice.org 3\program\assemblies?
But for some reason i don't have the assemblies map?
So question 1 would be where do i find the references?


Does anyone have any code examples of inserting specific data into writer using c#? I'd appreciate it a lot.

Re: Writer automation using C# library problems

Posted: Fri Apr 01, 2011 5:11 pm
by Scareh
i tried reinstalling the open office to get the libraries


CLI assemblies: cli_basetypes.dll, cli_cppuhelper.dll, cli_types.dll, cli_ure.dl <== this ones i need so i can use them as references in my project.
But again no folder named assemblies.

any suggestions? or questions to clarify?

Re: Writer automation using C# library problems

Posted: Fri Apr 01, 2011 7:02 pm
by Scareh
after some more googling i found the answer to my assembly problem on this site:

http://blog.nkadesign.com/2008/net-work ... noffice-3/



anyone can help me how to put data into specific places in an open office doc?