issue81:python_-_p._51
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue81:python_-_p._51 [2014/06/04 14:56] – [8] auntiee | issue81:python_-_p._51 [2014/06/04 15:09] (Version actuelle) – [12] auntiee | ||
---|---|---|---|
Ligne 95: | Ligne 95: | ||
Jetez un coup d'œil au nouvel aspect du rapport et vous verrez que l' | Jetez un coup d'œil au nouvel aspect du rapport et vous verrez que l' | ||
- | C'est plus agréable, mais maintenant faisons quelque chose d' | + | C'est plus agréable, mais maintenant faisons quelque chose d' |
====== 10 ====== | ====== 10 ====== | ||
**Before I go on, the one thing that Windows does better than Linux (that I have found) is the use of the Alt+NumPad entry of special characters. Linux doesn’t allow that. There was a work around that used Ctrl+Shift+U then the unicode value for the character you wanted. However, that doesn’t work on all machines. The easiest way I’ve found to do this on Linux, is to open Character Map, use the search function to find the unicode character you want, double-click the character to copy it to the “Text to copy:” box, then click the “Copy” and then paste it into your document. The unicode characters for them are 2610 (empty box) and 2611 (checked box) using the WingDings 2 font. I’m sure there are many other easier ways to deal with this, but I’m shy on time. (Be sure you have Common selected in the Script list.) | **Before I go on, the one thing that Windows does better than Linux (that I have found) is the use of the Alt+NumPad entry of special characters. Linux doesn’t allow that. There was a work around that used Ctrl+Shift+U then the unicode value for the character you wanted. However, that doesn’t work on all machines. The easiest way I’ve found to do this on Linux, is to open Character Map, use the search function to find the unicode character you want, double-click the character to copy it to the “Text to copy:” box, then click the “Copy” and then paste it into your document. The unicode characters for them are 2610 (empty box) and 2611 (checked box) using the WingDings 2 font. I’m sure there are many other easier ways to deal with this, but I’m shy on time. (Be sure you have Common selected in the Script list.) | ||
Ligne 101: | Ligne 101: | ||
We’ll start with the WorshipNotes field. On the detail row, right click on the field you want to do. In this case it’s marked $C{WorshipNote}. Choose Insert, then Expression. Yet another wonderful thing that NextReports gives us it the ability to do pretty much everything with as little typing as possible. Look in the center of window where it says Operators. Double click on the “if..else..” selection, and it will fill that into the editor for you as a template so you don’t make a mistake.** | We’ll start with the WorshipNotes field. On the detail row, right click on the field you want to do. In this case it’s marked $C{WorshipNote}. Choose Insert, then Expression. Yet another wonderful thing that NextReports gives us it the ability to do pretty much everything with as little typing as possible. Look in the center of window where it says Operators. Double click on the “if..else..” selection, and it will fill that into the editor for you as a template so you don’t make a mistake.** | ||
- | Avant de continuer, la seule chose que Windows fait mieux que Linux (selon moi) est la possibilité d' | + | Avant de continuer, la seule chose que Windows fait mieux que Linux (selon moi) est la possibilité d' |
- | Nous allons commencer par le champ NoteCulte, sur la ligne Détails, clic-droit sur le champ concerné. Dans ce cas, il est marqué $C{NoteCulte}. Choisissez Insérer, puis Expression. Une autre chose merveilleuse que nous procure | + | Nous allons commencer par le champ NoteCulte |
====== 11 ====== | ====== 11 ====== | ||
**Now, we want to put the WorshipNotes field in the parentheses of the editor. Simply click in between the two parentheses to place the cursor and then double-click on the field you want to go in there. BAM! It’s filled in for you. Now click after the field name in the editor and then double-click on the “== (eq)” operator. Then add a “1”, so the editor line reads | **Now, we want to put the WorshipNotes field in the parentheses of the editor. Simply click in between the two parentheses to place the cursor and then double-click on the field you want to go in there. BAM! It’s filled in for you. Now click after the field name in the editor and then double-click on the “== (eq)” operator. Then add a “1”, so the editor line reads | ||
Ligne 113: | Ligne 113: | ||
if ( $C_WorshipNote == 1 ) { " | if ( $C_WorshipNote == 1 ) { " | ||
- | Maintenant, nous voulons mettre le champ NoteCulte dans les parenthèses de l' | + | Maintenant, nous voulons mettre le champ NoteCulte dans les parenthèses de l' |
if ( $C_NoteCulte == 1 ) { ; } else { ; } | if ( $C_NoteCulte == 1 ) { ; } else { ; } | ||
- | Nous avons presque terminé notre expression. La première série d' | + | Nous avons presque terminé notre expression. La première série d' |
if ( $C_NoteCulte == 1 ) { " | if ( $C_NoteCulte == 1 ) { " | ||
Ligne 130: | Ligne 130: | ||
Next time, I’ll talk about how we might go about embedding these reports into a Python program. Until then, have fun playing with this wonder FREE software.** | Next time, I’ll talk about how we might go about embedding these reports into a Python program. Until then, have fun playing with this wonder FREE software.** | ||
- | Nommez l' | + | Nommez l' |
- | Il y a nos jolies petites | + | Voici nos jolies petites |
- | Il ne m'a fallu environ | + | Il ne m'a fallu qu'environ 3 heures de prise en main avec cet outil pour arriver à ce stade, voire un peu plus loin. Je peux vraiment dire que j'ai encore beaucoup de choses à apprendre, mais ce sera pour un autre jour. Vous pouvez utiliser des modèles pour colorer votre rapport, vous pouvez ajouter des images, et bien plus encore. |
La prochaine fois, je parlerai de la façon dont nous pourrions améliorer l' | La prochaine fois, je parlerai de la façon dont nous pourrions améliorer l' |
issue81/python_-_p._51.1401886593.txt.gz · Dernière modification : 2014/06/04 14:56 de auntiee