[Solved] Writer automation using C# library problems

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
Scareh
Posts: 3
Joined: Wed Mar 30, 2011 9:42 pm

[Solved] Writer automation using C# library problems

Post 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.
Last edited by Scareh on Sat Apr 02, 2011 11:12 pm, edited 1 time in total.
OpenOffice 3.3 on Windows Vista
Scareh
Posts: 3
Joined: Wed Mar 30, 2011 9:42 pm

Re: Writer automation using C# library problems

Post 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?
OpenOffice 3.3 on Windows Vista
Scareh
Posts: 3
Joined: Wed Mar 30, 2011 9:42 pm

Re: Writer automation using C# library problems

Post 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?
OpenOffice 3.3 on Windows Vista
Post Reply