OpenDocument4all - Info and tools about OpenDocument
Friday, 10 September 2010
Home arrow My Blog
My Blog
CategoriesArchives
Main Menu
Home
My Blog
AODL - Project
AODC - Project
OO Development & Info
Forum
About OpenDocument ...
Search
News
Contact Us
Login Form





Lost Password?
No account yet? Register
Sourceforge.net

SourceForge.net - Goto the project homepage
Project site on SF.net

 

Demand OpenDocument

 

Countomat Webcounter und Webstatistik (Statistik & Logfileanalyse, Counter)

Lars’s Blog

Running OpenOffice C# code tests within the Snippet Compiler 

January 8th, 2007
Here is a short info on how to run C# code snippets for OpenOffice programming within the
Snippet Compiler.
Sometimes you only want to test a method or an interface of the OpenOffice CLI UNO binding, but for
every test you probably build a new testproject in Visula Studio. Of course you can also write
test implementations for NUnit, but this often not realy necessary while you only want to know
how something of CLI works. A great tool for testing your short OpenOffice C# code is the Snippet Compiler.
This little tool let you compile and run your little tests without using Visual Studio. Before
you can use the CLI assemblies inside your test code you have to add these as references to the
Snippet Compiler. Simply go to Tools -> References, select the File System tab page, browse to
the OpenOffice CLI assembly folder, select all CLI assemblies, click the Select-Button and then
OK (see Screenshot). Now, the Snippet Compiler refresh his cache. After that you can use
the CLI assemblies namespace and run your OpenOffice test codes. That’s it

Screenshot: Add CLI assemblies

snippet complier add references

Screenshot: Run OpenOffice C# test code

snippet complier runs openoffice code

Comments are closed.



Quick jump
Download area
Who's Online
We have 18 guests online
Polls
Should AODL and AODC also implement export as PDF and RTF?
 
Popular
© 2005 MamboZ. All rights reserved.