Coder Social home page Coder Social logo

yang123vc / docx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xceedsoftware/docx

0.0 1.0 0.0 19.13 MB

DocX is a .NET library that allows developers to manipulate Word 2007/2010/2013 files, in an easy and intuitive manor. DocX is fast, lightweight and best of all it does not require Microsoft Word or Office to be installed.

C# 100.00%

docx's Introduction

DocX

Codeplex | GitHub | Blog | Donate

NuGet Version Travis CI Testing AppVeyor Testing

What is DocX?

DocX is a .NET library that allows developers to manipulate Word 2007/2010/2013 files, in an easy and intuitive manner. DocX is fast, lightweight and best of all it does not require Microsoft Word or Office to be installed.

DocX is available on both Codeplex and Github. We will try to update both.

Install via Nuget

Install-Package DocX

DocX Author

DocX was written by a PhD student Cathal Coffey studying at the National University of Ireland Maynooth. If you have found DocX useful and would like to buy Cathal lunch then you can do so via a paypal donation.

To connect with Cathal on LinkedIn please follow: http://ie.linkedin.com/in/cathalcoffey

For Cathal's personal website follow: http://www.cathalcoffey.ie

DocX Maintenance

Currently the development of DocX is mostly done by great support of community with project being maintained by Przemysław Kłys (MadBoy).

To connect with Przemek on LinkedIn please follow http://www.linkedin.com/in/pklys

For Przemek own little company website visit Evotec

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.

What else do I need?

All that you need to install in order to use DocX is the .NET framework 4.0 and Visual Studio 2010 or later, both of which are free.

What are the main features of DocX?

  1. Insert, Remove or Replace text in a document.
    All standard text formatting is available:
  2. Font {Family, Size, Color},
  3. Bold,
  4. Italic,
  5. Underline,
  6. Strikethrough,
  7. Script {Sub, Super},
  8. Highlight
  9. Here’s a cool example of replacing text across many documents in Parallel
  10. Paragraph properties are exposed:
  11. Direction LeftToRight or RightToLeft,
  12. Indentation,
  13. Alignment
  14. DocX also supports:
  15. Pictures,
  16. Hyperlinks,
  17. Tables,
  18. Headers & Footers,
  19. 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

Advanced Examples

  1. Step by step guide to create an invoice for a company. http://cathalscorner.blogspot.com/2009/08/docx-v1007-released.html
  2. Replace text across many documents in Parallel. http://cathalscorner.blogspot.com/2010/12/replace-text-across-many-documents-in.html
  3. Programmatically manipulate an Image imbedded inside a document. http://cathalscorner.blogspot.com/2010/12/programmatically-manipulate-image.html
  4. Converting DocX into (.doc, .pdf, .html) http://cathalscorner.blogspot.com/2009/10/converting-docx-into-doc-pdf-html.html

Do you have an interesting or informative example that you would like to share? If you do, please email me.

What do other people think?

Testimonials

How can I 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 [email protected]

Other Projects

Cathal has another open source project sql4csv. sql4csv is a python library that offers an SQL "like" interface for .csv files.

Our supporters

ReSharper

docx's People

Contributors

chrischip avatar cponty avatar cradaydg avatar delphin0850 avatar ermoll avatar fitdev avatar henrys22 avatar jafin avatar janbernloehr avatar lucwuyts avatar mdum avatar michalazza avatar oromand avatar przemyslawklys avatar twotsman avatar vzhikserg avatar zambiorix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.