14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
-
+
+
+
+
+
+
+
+
+
+
+
|
;;
;; You should have received a copy of the GNU General Public License
;; along with Megatest. If not, see <http://www.gnu.org/licenses/>.
;;
(use csv-xml regex)
(declare (unit ods))
(declare (uses common))
(declare (uses commonmod))
(module ods
*
(import scheme chicken data-structures extras files ports)
(import commonmod)
(import regex
srfi-13
posix
)
(define ods:dirs
'("Configurations2"
"Configurations2/toolpanel"
"Configurations2/menubar"
"Configurations2/toolbar"
"Configurations2/progressbar"
|
219
220
221
222
223
224
225
|
229
230
231
232
233
234
235
236
237
238
|
+
+
+
|
(map display ods:content-header)
;; process each sheet
(map print
(map ods:sheet data))
(map display ods:content-footer)))
(system (conc "cd " path "; zip " fname " -n mimetype mimetype `find . |grep -v mimetype` > /dev/null")))))
;;======================================================================the end
)
|