sstable

PURPOSE

This processor is used to do some spread sheet calculation in a regular wiki table using only Python. The first column/first line coordinate is A0.

This code is based on the spreadsheet code posted by Raymond Hettinger and Richard Copeland at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/355045 It is also based on the wiki:/sctable parser by ReimarBauer.

CALLING SEQUENCE

{ { {
#!sstable [-column_header, -row_header, -show_formular, -format, -input_separator, -output_separator ]
} } }

INPUTS

-column_header : additional in the result the column header is shown
-row_header : additional in the result the line number header is shown
-show_formular : if set the formular instead of the result is shown, data is arranged in textmode. Blanks in formulars are removed
-format : is used to set the number of digits of a real number for each column (separator is a comma), e.g. -format 1,2 means first column has one digit and second has two digits.
-input_separator : is used to read tables delimitted by something other than the default '||'
-output_separator : is used to write tables delimitted by something other than the default '||'

PROCEDURE

RESTRICTIONS

MODIFICATION

       @copyright: 2006-03-25 by Andrew Shewmaker (agshew AT gmail) sstable.py

        1.0.4: improved regular expression that detects numbers - Andrew Shewmaker
               moved formula parsing into SpreadSheet class - Andrew Shewmaker 
               return 0 when eval results in type error in SpreadSheet class - Andrew Shewmaker
        1.0.3: improved compatibility with other spreadsheets - Andrew Shewmaker
        1.0.2: improved cell range functions - Andrew Shewmaker
               correct special character handling - Reimar Bauer
        1.0.1: use unicode function - Andrew Shewmaker

        1.0: based on sctable-1.5.2-5 by Reimar Bauer (R.Bauer AT fz-juelich.de)


resolved issues

MoinMoin: ParserMarket/Sstable/ReleaseNotes (last edited 2008-01-28 17:59:43 by FedericoLorenzi)