ods 0.0.1

D library to parse ODS (OpenDocument Spreadsheet) files


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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.2 2023-Feb-02
0.0.1 2018-Jul-01
~master 2023-Feb-02
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 2 downloads this month

  • 47 downloads total

Score:
0.5
Short URL:
ods.dub.pm