Giter VIP home page Giter VIP logo

ods2csv's Introduction

This is ods2csv, a Java-based utility for converted ODS-documents to
CSV-text. ODS stands for "OpenDocument Spreadsheet", while CSV means
"Comma-Separated Values".

Note: While the aim is to default to output that is (almost) the same as what
OpenOffice.org produces, this goal is currently not yet achieved.

The converter can be accessed in several ways:

   - directly via the Java class Converter, which takes input from an
     InputStream and produces output via an OutputStream;

   - an Apache Ant task allows easy integration with Ant-based projects;

   - a command line program makes integration with other UNIX-like programs a
     breeze.

This utility program has no external dependencies other than the Java
runtime environment, version 1.5 or higher.

This software requires the following to build (with 'ant jar'):

   - J2SE 1.5 or Java SE 6
   - Ant 1.7.1

To run the unit tests (using 'ant unittests'), the following libraries need to
be in the classpath (or passed with 'ant -lib CLASSPATH'):

   - ant-junit.jar    (tested with Ant 1.7.1)
   - junit.jar        (tested with JUnit 4.0)
   - commons-io.jar   (tested with Commons IO 1.4)

This software is available under the terms of a BSD-style license, see
the accompanied LICENSE file.

This task comes as a collection of Java source files that can be built with Ant.
Just run:

   ant

The result will be a JAR file:

   build/ods2csv.jar

Example usage on the command line:

   java -jar build/ods2csv.jar < sheet5.ods > sheet5.csv

Example usage of the task in an Ant build file:

   <taskdef name="ods2csv"
       classname="com.pensioenpage.jynx.ods2csv.ConverterTask"
       classpath="lib/ods2csv.jar" />

   <ods2csv dir="src/ods" todir="build/csv" />

Although all parameters are optional, the task supports various:

   dir      - the source directory, to read ODS files from, defaults to
              the project base directory;

   todir    - the destination directory, to write the generated CSV files to,
              defaults to the source directory;

   includes - the files in the source directory to include, defaults to
              '*.ods';

   excludes - the files to exclude, even if they are matched by the includes;

and other parameters inherited from the MatchingTask, see:

   http://ant.apache.org/manual/dirtasks.html

If you want to file a bug report or a feature request, please do so here:

   http://github.com/znerd/ods2csv/issues

This software has been developed by:

   Ernst de Haan      -  [email protected]
   PensioenPage B.V.  -  https://www.pensioenpage.com/

ods2csv's People

Contributors

znerd avatar eguaj avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.