Rev 10935 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4561 | obado | 1 | # GetSheet |
2 | # Fournit toutes les informations de la feuille qsheet (ainsi que la liste des exercices qu'elle contient) |
||
4176 | obado | 3 | |
4561 | obado | 4 | #Pour commencer, on verifie la classe |
5 | !read scripts/check.class |
||
6 | !if $error!=$empty |
||
7 | !exit |
||
8 | !endif |
||
9 | |||
3261 | obado | 10 | type=sheets |
11 | !read scripts/check.proc |
||
392 | obado | 12 | !if $error!=$empty |
13 | !exit |
||
14 | !endif |
||
15 | |||
3261 | obado | 16 | sheet_properties=!lines2items $qproperties\ |
392 | obado | 17 | |
10935 | obado | 18 | sheet_properties = !singlespace $sheet_properties |
3996 | obado | 19 | sheet_status=!item 1 of $sheet_properties |
20 | sheet_expiration=!item 2 of $sheet_properties |
||
21 | sheet_title=!item 3 of $sheet_properties |
||
22 | sheet_description=!item 4 of $sheet_properties |
||
23 | |||
3261 | obado | 24 | exocnt=!recordcnt $qfile |
25 | |||
392 | obado | 26 | option=!listintersect $option and $sheetdefs |
27 | !if $option=$empty |
||
28 | option=$sheetdefs |
||
29 | !endif |