Skip to content

fancycode/WebODF

 
 

Repository files navigation

WebODF

WebODF is a JavaScript library created by KO GmbH.

It makes it easy to add Open Document Format (ODF) support to your website and to your mobile or desktop application. It uses HTML and CSS to display ODF documents.

License

WebODF is a Free Software project. All code is available under the AGPL.

If you are interested in using WebODF in your commercial product (and do not want to disclose your sources / obey AGPL), contact KO GmbH for a license suited to your needs.

Creating webodf.js...

webodf.js is compiled by using the Closure Compiler. This compiler concatenates and compacts all JavaScript files, so that they are smaller and execute faster. CMake is used to setup the buildsystem, so webodf.js can be created:

git clone https://github.com/kogmbh/WebODF.git webodf
mkdir build
cd build
cmake ../webodf
make webodf.js-target

A successful run will yield the file "webodf.js" in the subfolder "build/webodf/" (among other things), from where you can then copy it and use for your website.

For more details about preparing the build of webodf.js , e.g. on Windows or OSX, please study "README-Building.md".

... and more

This repository not only contains code for the library webodf.js, but also a few products based on it. Here is the complete list:

build target output location (in build/) description official download
webodf.js-target webodf/webodf.js the library (see product-library)
product-library webodf.js-x.y.z.zip zip file with library and API docs WebODF homepage
product-wodotexteditor wodotexteditor-x.y.z.zip simple to use editor component WebODF homepage
product-firefoxextension firefox-extension-odfviewer-x.y.z.xpi ODF viewer Firefox add-on Mozilla's Add-on website
product-viewerjsdir viewer/ plugin for ViewerJS ViewerJS (built-in)

("x.y.z" is a placeholder for the actual version number)

For more details about the different products, please study "README-Products.md".

About

WebODF - JavaScript Document Engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.3%
  • C 2.5%
  • CSS 1.7%
  • Objective-C 0.9%
  • C++ 0.8%
  • Java 0.4%
  • Other 0.4%