Skip to content

Latest commit

 

History

History
109 lines (100 loc) · 4.29 KB

README.md

File metadata and controls

109 lines (100 loc) · 4.29 KB

OfficeFlow License Implementation Status GitHub Actions Workflow Status Code Coverage

OfficeFlow is a completely free and open source library for reading, creating and editing Word, Excel and PowerPoint documents.

Motivation

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.

Implementation Status

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();

Implementation Dashboard

  • Document object model (DOM)
    • Abstractions (Element, CompositeElement, ElementCollection)
    • Measure units
      • Absolute units
        • Emu
        • Twips
        • Points
        • Picas
        • HalfPoints
        • Millimeters
        • Centimeters
        • Inches
      • Relative units
        • Percentages
    • 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
          • ...
        • ...
      • ...
    • ...
  • ...
  • Other
    • Conversion to PDF
    • Documentation