Skip to content

Commit

Permalink
Update code to follow Github convention
Browse files Browse the repository at this point in the history
  • Loading branch information
imanel committed Mar 2, 2011
1 parent ec84e25 commit de93155
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 118 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,20 @@
# Changelog

## 2011-03-02
- Forked to Github
- Added code to handle <text:line_break>
- Updated files to follow Github convention

## 2007-01-18
- Made --out parameter optional; if you don't give the parameter, output goes to STDOUT; this lets you use the program as a filter

## 2006-01-15
- Add code to handle <text:a> and <text:bookmark-start>

## 2006-01-02
- Added LGPL to all the source files
- If an ODT document refers to a non-existent graphic, don't crash.

## 2006-01-01
- First alpha release version

File renamed without changes.
21 changes: 21 additions & 0 deletions README.md
@@ -0,0 +1,21 @@
# ODT2HTML

This program converts OpenDocument text files to XHTML.
Copyright (C) 2006 J. David Eisenberg

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Author: J. David Eisenberg
Contact: catcode@catcode.com
20 changes: 0 additions & 20 deletions analyze_content.rb
@@ -1,26 +1,6 @@
require 'rexml/document'
require 'rexml/xpath'

# This program converts OpenDocument text files to XHTML.
# Copyright (C) 2006 J. David Eisenberg
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author: J. David Eisenberg
# Contact: catcode@catcode.com

class ODT_to_XHTML

def analyze_content_xml
Expand Down
20 changes: 0 additions & 20 deletions analyze_graphics.rb
@@ -1,26 +1,6 @@
require 'rexml/document'
require 'rexml/xpath'

# This program converts OpenDocument text files to XHTML.
# Copyright (C) 2006 J. David Eisenberg
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author: J. David Eisenberg
# Contact: catcode@catcode.com

class ODT_to_XHTML

def process_draw_frame( element, output_node )
Expand Down
20 changes: 0 additions & 20 deletions analyze_styles.rb
Expand Up @@ -2,26 +2,6 @@
require 'rexml/xpath'
require 'style_classes'

# This program converts OpenDocument text files to XHTML.
# Copyright (C) 2006 J. David Eisenberg
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author: J. David Eisenberg
# Contact: catcode@catcode.com

class ODT_to_XHTML

def analyze_styles_xml
Expand Down
18 changes: 0 additions & 18 deletions changelist.txt

This file was deleted.

20 changes: 0 additions & 20 deletions odt_to_xhtml.rb
Expand Up @@ -8,26 +8,6 @@
require 'analyze_graphics'
require 'style_classes'

# This program converts OpenDocument text files to XHTML.
# Copyright (C) 2006 J. David Eisenberg
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author: J. David Eisenberg
# Contact: catcode@catcode.com

class ODT_to_XHTML

def initialize( )
Expand Down
20 changes: 0 additions & 20 deletions style_classes.rb
@@ -1,23 +1,3 @@
# This program converts OpenDocument text files to XHTML.
# Copyright (C) 2006 J. David Eisenberg
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author: J. David Eisenberg
# Contact: catcode@catcode.com

=begin rdoc
This class represents a CSS declaration; a
property/value pair
Expand Down

0 comments on commit de93155

Please sign in to comment.