1 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
2 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
3 |
|
exporting the formed tree to csv |
4 |
|
|
5 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
6 |
|
|
7 |
|
* tools/formed/formed/model/data.py, |
8 |
|
tools/formed/formed/model/nodecomponents.py, |
9 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
10 |
|
|
11 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
12 |
|
new 'switch' node. |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/plugin.py, |
15 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
16 |
|
to FORMED environment variable. |
17 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
18 |
|
Defaults to 'default'. |
19 |
|
|
20 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
21 |
|
|
22 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
23 |
|
|
24 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
25 |
|
attribute 'formularname' to base class of node components. |
26 |
|
|
27 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
28 |
|
|
29 |
|
* tools/formed/formed/io/document.py, |
30 |
|
tools/formed/formed/model/data.py, |
31 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
32 |
|
to model external item lists. |
33 |
|
|
34 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
35 |
|
list. |
36 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
37 |
|
|
38 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
39 |
|
documents to be loadable from new item lists |
40 |
|
|
41 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
42 |
|
|
43 |
|
* tools/formed/formed/main.py: Fixed typo |
44 |
|
|
45 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
46 |
|
|
47 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
48 |
|
choice item lists for a given field from XFA files. e.g. with |
49 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
50 |
|
|
51 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
52 |
|
|
53 |
|
* tools/formed/formed/model/data.py, |
54 |
|
tools/formed/formed/plugins/web/renderer.py, |
55 |
|
tools/formed/formed/io/document.py: Changed the structure |
56 |
|
of choice constructs. The idea to hold the different items |
57 |
|
of a particular choice in a semicolon separated list was bad. |
58 |
|
Now choices are groups and the option items are modelled as |
59 |
|
embedded bools. (mainly Torsten Irländer's idea). |
60 |
|
|
61 |
|
WARNING: this makes old document files containing choices incompatible!!! |
62 |
|
Use the following XSLT to reestablish compatibility. |
63 |
|
|
64 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
65 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
66 |
|
|
67 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
70 |
|
|
71 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
72 |
|
node finding code. It now uses the walk() generator, too. |
73 |
|
|
74 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
75 |
|
|
76 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
77 |
|
copies the currently selected item and appends it after the selection. |
78 |
|
|
79 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
80 |
|
of the tree. |
81 |
|
|
82 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
83 |
|
|
84 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
85 |
|
forgot a 'self.' prefix. |
86 |
|
|
87 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
* tools/formed/formed/model/nodecomponents.py: Added a method to append |