This project has moved and is read-only. For the latest updates, please go here.

What is DocX?

DocX is a .NET library that allows developers to manipulate Word 2007 files, in an easy and intuitive manor.

Latest News (Thursday 23rd December 2010)

I am currently working on DocX v1.0.0.11. 
This version of DocX will contain few new features. It will however contain many bug fixes.
I have added a UnitTest project to this version of DocX and I am currently hunting bugs by writing lots of unit tests.

Cutting Edge

If you do not wish to wait for the next stable release of DocX.dll, you can build your own copy from the latest source code.

Note: The next version of DocX will be a .NET 4.0 library. This means you will need Visual Studio 2010, fret not, the express version –the version that I use to develop DocX—is free to download from here.

Why is DocX becoming a .NET 4.0 library? .NET 4.0 contains a powerful concept called Optional Parameters.
Optional Parameters will allow me to dramatically reduce the DocX codebase.

What else do I need?

All that you need to install in order to use DocX is the .NET framework 3.5.

What are the main features of DocX?

1) Insert, Remove or Replace text in a document.
All standard text formatting is available. Font {Family, Size, Color}, Bold, Italic, Underline, Strikethrough, Script{Sub, Super}, Highlight.

2) Paragraph properties are exposed.
     a) Direction LeftToRight or RightToLeft,
     b) Indentation,
     c) Alignment.

3) DocX also supports
     a) Pictures,
     b) Hyperlinks,
     c) Tables,
     d) Headers & Footers,
     e) Custom Properties.

Why would I use DocX?

DocX makes creating and manipulating documents a simple task. It does not use COM libraries nor does it require Microsoft Office to be installed.

The following blog post compares the code used to create a HelloWorld document using
1) Office Interop libraries,
2) OOXML SDK,
3) DocX.

How can I learn more?

I have dedicated a blog to DocX. I regularly post new code examples here. The below videos are also excellent tutorials on how to use DocX.

Getting started Paragraphs and text formatting

 

What do other people think?

reviews.png

Do I have to pay for DocX?

DocX is completely free, but if you have found it useful and you would like to make a donation you can do so via paypal.

I want to send Feedback!

If you have found DocX useful at work or in a personal project, I would love to hear about it. Equally if you have decided not to use DocX, please send me and email stating why this is so. I will use this feedback to improve DocX in future releases. My email address is coffey.cathal@gmail.com.

Happy coding,
Cathal

Last edited Dec 23, 2010 at 1:41 PM by coffeycathal, version 2