OfficeFlow is a completely free and open source library for reading, creating and editing Word, Excel and PowerPoint documents.
There are three reasons why this library is being developed:
- Most open source solutions offer an inconvenient and ugly API
- Also, these open source solutions are limited in functionality
- Paid libraries have closed source code
My dream is to give the .NET world a free alternative that will fully cover the needs of all developers to interact with the Office software suite. This means that I'm not going to make money by selling access to this library.
The library is not ready yet. However, opening and saving documents with .docx
extension is already implemented. You can also create and read sections and paragraphs from a document:
var document = new WordDocument(WordDocumentType.Docx);
var section = document.AppendSection();
var paragraph = section.AppendParagraph();
paragraph.AppendText("Hello, OfficeFlow!");
document.SaveTo("OfficeFlow.docx");
document.Close();
- Document object model (DOM)
- Abstractions (Element, CompositeElement, ElementCollection)
- Measure units
- Absolute units
- Emu
- Twips
- Points
- Picas
- HalfPoints
- Millimeters
- Centimeters
- Inches
- Relative units
- Percentages
- Absolute units
- Elements
- Paragraph
- Format
- Tabs
- Borders
- Background Color
- Shading
- Styles
- Keep lines
- Keep next
- Frame
- Alignment
- Horizontal
- Vertical (Text alignment)
- Spacing
- Before paragraph
- After paragraph
- Between lines
- Indentation
- From left
- From right
- Hanging
- For first line
- ...
- Run (Text Range)
- Line break
- Text
- Vertical tabulation
- Horizontal tabulation
- Format
- Italic
- Bold
- Outline
- Strikethrough
- Hidden
- Background color
- Text color
- Borders
- Fonts
- Spacing
- ...
- ...
- Format
- ...
- Paragraph
- ...
- ...
- Other
- Conversion to PDF
- Documentation