Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughbe/microsoftorganizationchartreader

Reader, dumper and unofficial documentation of Microsoft Organization Chart files
https://github.com/hughbe/microsoftorganizationchartreader

Last synced: 17 days ago
JSON representation

Reader, dumper and unofficial documentation of Microsoft Organization Chart files

Awesome Lists containing this project

README

        

# MicrosoftOrganizationChartReader

Swift reader for organization chart files created by the [Microsoft Office Organization Chart add-in](https://support.microsoft.com/en-us/office/install-the-microsoft-office-organization-chart-add-in-39353e37-f8df-4a3e-9925-6be1a75087e5).

This project was created as an experiment into reverse-engineering and unknown file format reading. As such, it is incomplete and serves its purpose best as an unofficial documentation of the "opx" file format.

## Example Usage

Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/OpxReader", from: "1.0.0"),
```

```swift
import OpxReader

let data = Data(contentsOfFile: ".opx")!
let chart = try OrganizationChart(data: data)
print(chart.records)
```