All Projects → sestegra → spreadsheet_decoder

sestegra / spreadsheet_decoder

Licence: MIT license
Spreadsheet Decoder is a library for decoding spreadsheets for ODS and XLSX files.

Programming Languages

dart
5743 projects
shell
77523 projects

Labels

Projects that are alternatives of or similar to spreadsheet decoder

workbook
simple framework for containing spreadsheet like data
Stars: ✭ 13 (-67.5%)
Mutual labels:  xlsx, ods
convey
CSV processing and web related data types mutual conversion
Stars: ✭ 16 (-60%)
Mutual labels:  xlsx, ods
opentbs
With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
Stars: ✭ 48 (+20%)
Mutual labels:  xlsx, ods
Spout
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
Stars: ✭ 3,861 (+9552.5%)
Mutual labels:  xlsx, ods
Phpspreadsheet
A pure PHP library for reading and writing spreadsheet files
Stars: ✭ 10,627 (+26467.5%)
Mutual labels:  xlsx, ods
easy-excel
🚀 快速读写Excel文件,简单高效
Stars: ✭ 118 (+195%)
Mutual labels:  xlsx, ods
Documentserver
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Stars: ✭ 2,335 (+5737.5%)
Mutual labels:  xlsx, ods
tabular-stream
Detects tabular data (spreadsheets, dsv or json, 20+ different formats) and emits normalized objects.
Stars: ✭ 34 (-15%)
Mutual labels:  xlsx, ods
Dexiom.EPPlusExporter
A very simple, yet incredibly powerfull library to generate Excel documents out of objects, arrays, lists, collections, etc.
Stars: ✭ 19 (-52.5%)
Mutual labels:  xlsx
spreadsheet
Yii2 extension for export to Excel
Stars: ✭ 79 (+97.5%)
Mutual labels:  xlsx
fxl
fxl is a Clojure spreadsheet library
Stars: ✭ 117 (+192.5%)
Mutual labels:  xlsx
keikai-tutorial
A tutorial of a web spreadsheet component, keikai
Stars: ✭ 19 (-52.5%)
Mutual labels:  xlsx
eec
A fast and lower memory excel write/read tool.一个非POI底层,支持流式处理的高效且超低内存的Excel读写工具
Stars: ✭ 93 (+132.5%)
Mutual labels:  xlsx
xlsx-extract
nodejs lib for extracting data from XLSX files
Stars: ✭ 33 (-17.5%)
Mutual labels:  xlsx
kibana-xlsx-import
Kibana plugin for import XLSX/CSV file to ElasticSearch
Stars: ✭ 58 (+45%)
Mutual labels:  xlsx
pikaz-excel-js
一个纯js版本的excel导入导出插件
Stars: ✭ 145 (+262.5%)
Mutual labels:  xlsx
umya-spreadsheet
A pure rust library for reading and writing spreadsheet files
Stars: ✭ 79 (+97.5%)
Mutual labels:  xlsx
site-audit-seo
Web service and CLI tool for SEO site audit: crawl site, lighthouse all pages, view public reports in browser. Also output to console, json, csv, xlsx, Google Drive.
Stars: ✭ 91 (+127.5%)
Mutual labels:  xlsx
ExcelInitBundle
Setup your Akeneo PIM data with a single init.xls file
Stars: ✭ 21 (-47.5%)
Mutual labels:  xlsx
csv2xlsx
Fast and simple opensource command line tool to convert CSV do XLSX
Stars: ✭ 38 (-5%)
Mutual labels:  xlsx

Spreadsheet Decoder

Build Status Coverage Status Pub version

Spreadsheet Decoder is a library for decoding and updating spreadsheets for ODS and XLSX files.

Usage

On server-side

import 'dart:io';
import 'package:spreadsheet_decoder/spreadsheet_decoder.dart';

main() {
  var bytes = File.fromUri(fullUri).readAsBytesSync();
  var decoder = SpreadsheetDecoder.decodeBytes(bytes);
  var table = decoder.tables['Sheet1'];
  var values = table.rows[0];
  ...
  decoder.updateCell('Sheet1', 0, 0, 1337);
  File(join(fullUri).writeAsBytesSync(decoder.encode());
  ...
}

On client-side

import 'dart:html';
import 'package:spreadsheet_decoder/spreadsheet_decoder.dart';

main() {
  var reader = FileReader();
  reader.onLoadEnd.listen((event) {
    var decoder = SpreadsheetDecoder.decodeBytes(reader.result);
    var table = decoder.tables['Sheet1'];
    var values = table.rows[0];
    ...
    decoder.updateCell('Sheet1', 0, 0, 1337);
    var bytes = decoder.encode();
    ...
  });
}

Features not yet supported

This implementation doesn't support following features:

  • annotations
  • spanned rows
  • spanned columns
  • hidden rows (visible in resulting tables)
  • hidden columns (visible in resulting tables)

For XLSX format, this implementation only supports native Excel format for date, time and boolean type conversion. In other words, custom format for date, time, boolean aren't supported and then file exported from LibreOffice as well.

License

The MIT License, see LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].