ods 0.0.1

D library to parse ODS (OpenDocument Spreadsheet) files


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

D language ODS parser

Parses an ODS (OpenDocument Spreadsheet) file, and returns each row in a particular sheet as a lazy range of dynamic string arrays.

Usage:

import std.stdio;
import ods;

void main()
{
	auto sheet = new ODSSheet();

	sheet.readSheet("test.ods", 0);

	while(!sheet.empty) {
		writeln(sheet.front);
		sheet.popFront;
	}
}

Sheet by name:

import std.stdio;
import ods;

void main()
{
	auto sheet = new ODSSheet();

	sheet.readSheetByName("test.ods", "Sheet1");

	while(!sheet.empty) {
		writeln(sheet.front);
		sheet.popFront;
	}
}

This project is currently in a very early state. I've done very little testing and have only one unit test in the source. It should NOT be considered ready for production use.

Authors:
  • Rudy Raab
Dependencies:
dxml, archive
Versions:
0.0.1 2018-Jul-01
~master 2018-Jul-01
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 1 downloads total

Score:
0.3
Short URL:
ods.dub.pm