Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b26d0a9

Browse files
committedSep 10, 2012
coordinates applied to set/get cells on row, new params for table.row methods, test units, fix set repeated on repeated
1 parent 18b74a2 commit b26d0a9

File tree

9 files changed

+1282
-453
lines changed

9 files changed

+1282
-453
lines changed
 

‎INSTALL

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Install Dependencies:
22
- python >= 2.6: http://www.python.org/
33
- lxml >= 2.0: http://codespeak.net/lxml/
4+
- recommanded : Python Imaging Library (PIL)
5+
6+
Dependencies Packages:
7+
- Debian:
8+
python-lxml
9+
python-imaging
10+
- CentOS:
11+
python-lxml
12+
python-imaging
413

514
Installation:
615
$ sudo python setup.py install

‎README

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,34 @@ Platforms OpenDocument, definition of a Free Software API implementing the
88
ISO/IEC 26300 standard).
99

1010

11+
This branch is the 'current' branch, aiming to be the next stable version.
12+
13+
Maintained branches are:
14+
15+
- legacy : compatible with 0.9x versions
16+
- current : next stable version
17+
- master : currently, master = legacy
18+
1119
The most recent version of this package is there:
1220

1321
https://github.com/lpod/lpod-python
1422

1523
How to get the code with git:
1624

1725
git clone git://github.com/lpod/lpod-python
26+
git checkout current
1827

1928

2029

2130
Some usefull packages for the use of the lpod-python library:
2231

23-
- Lpod documentation:
32+
- Lpod documentation:
2433

25-
https://github.com/lpod/lpod-docs
34+
https://github.com/lpod/lpod-docs
2635

27-
- Programming recipes for the lpod-python library:
36+
- Programming recipes for the lpod-python library:
2837

29-
https://github.com/lpod/lpod-python-recipes
38+
https://github.com/lpod/lpod-python-recipes
3039

3140

3241

‎README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ This library is the python implementation of the lpOD Project (Languages &
77
Platforms OpenDocument, definition of a Free Software API implementing the
88
ISO/IEC 26300 standard).
99

10+
This branch is the 'current' branch, aiming to be the next stable version.
11+
12+
Maintained branches are:
13+
14+
- legacy : compatible with 0.9x versions
15+
- current : next stable version
16+
- master : currently, master = legacy
1017

1118
The most recent version of this package is there:
1219

@@ -15,7 +22,7 @@ The most recent version of this package is there:
1522
How to get the code with git:
1623

1724
git clone git://github.com/lpod/lpod-python
18-
25+
git checkout current
1926

2027

2128
Some usefull packages for the use of the lpod-python library:

‎element.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,9 +938,14 @@ def clear(self):
938938
if hasattr(self, '_rmap'):
939939
self._rmap = []
940940
if hasattr(self, '_indexes'):
941+
remember = False
942+
if '_rmap' in self._indexes:
943+
remember = True
941944
self._indexes={}
942945
self._indexes['_cmap'] = {}
943946
self._indexes['_tmap'] = {}
947+
if remember:
948+
self._indexes['_rmap'] = {}
944949

945950

946951
def clone(self):

‎table.py

Lines changed: 324 additions & 200 deletions
Large diffs are not rendered by default.

‎test/test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
# Import from the Standard Library
2929
from unittest import TestLoader, TestSuite, TextTestRunner
3030

31-
# test future : import lpod.future
32-
import lpod.future
33-
3431
# Import tests
3532
import test_bookmark
3633
import test_container

‎test/test_table.py

Lines changed: 922 additions & 55 deletions
Large diffs are not rendered by default.

‎test/use_case_perf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import time
55
import random
6-
import cProfile
6+
#import cProfile
77
# Import from lpod
88
from lpod.table import odf_create_table, odf_create_row, odf_create_cell
99
from lpod import __version__ as version

‎test/use_case_perf_future.py

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.