Skip to content

TransientResponse/dlang-ods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

ODS (OpenDocument Spreadsheet) parser written entirely in D

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages