SkillAgentSearch skills...

OfficeFlow

Completely free and open source library for reading, creating and editing Word, Excel and PowerPoint documents

Install / Use

/learn @y0ung3r/OfficeFlow

README

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)
    • [x] Abstractions (Element, CompositeElement, ElementCollection)
    • [ ] Measure units
      • [x] Absolute units
        • [x] Emu
        • [x] Twips
        • [x] Points
        • [x] Picas
        • [x] HalfPoints
        • [x] Millimeters
        • [x] Centimeters
        • [x] Inches
      • [ ] Relative units
        • [ ] Percentages
    • [ ] Elements
      • [ ] Paragraph
        • [ ] Format
          • [ ] Tabs
          • [ ] Borders
          • [ ] Background Color
          • [ ] Shading
          • [ ] Styles
          • [x] Keep lines
          • [x] Keep next
          • [ ] Frame
          • [x] Alignment
            • [x] Horizontal
            • [x] Vertical (Text alignment)
          • [x] Spacing
            • [x] Before paragraph
            • [x] After paragraph
            • [x] Between lines
          • [ ] Indentation
            • [ ] From left
            • [ ] From right
            • [ ] Hanging
            • [ ] For first line
          • [ ] ...
        • [ ] Run (Text Range)
          • [x] Line break
          • [x] Text
          • [x] Vertical tabulation
          • [x] Horizontal tabulation
          • [ ] Format
            • [x] Italic
            • [x] Bold
            • [ ] Outline
            • [x] Strikethrough
            • [x] Hidden
            • [ ] Background color
            • [ ] Text color
            • [ ] Borders
            • [ ] Fonts
            • [ ] Spacing
          • [ ] ...
        • [ ] ...
      • [ ] ...
    • [ ] ...
  • [ ] ...
  • [ ] Other
    • [ ] Conversion to PDF
    • [ ] Documentation

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated10mo ago
Forks0

Languages

C#

Security Score

82/100

Audited on Jun 6, 2025

No findings