Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hughbe/microsoftorganizationchartreader
- Owner: hughbe
- Created: 2021-01-28T11:50:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T12:18:35.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T12:47:31.220Z (2 months ago)
- Language: Swift
- Size: 1.17 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 OpxReaderlet data = Data(contentsOfFile: ".opx")!
let chart = try OrganizationChart(data: data)
print(chart.records)
```