https://neowiki.neooffice.org/index.php?title=Fr:Importer_et_Exporter_des_Fichiers_Texte_CSV_dans_Calc&action=history&feed=atom
Fr:Importer et Exporter des Fichiers Texte CSV dans Calc - Revision history
2024-03-28T11:58:16Z
Revision history for this page on the wiki
MediaWiki 1.10.1
https://neowiki.neooffice.org/index.php?title=Fr:Importer_et_Exporter_des_Fichiers_Texte_CSV_dans_Calc&diff=16206&oldid=prev
Sardisson: add Fixed-Width ASCII section from en version
2010-10-18T21:38:51Z
<p>add Fixed-Width ASCII section from en version</p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:38, 18 October 2010</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 1:</strong></td>
<td colspan="2" align="left"><strong>Line 1:</strong></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;">{{fr:Fixme}}</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">Le format de fichier Texte CSV (Comma Separated Values) sépare les champs de données par des délimiteurs comme les virgules, tabulations, etc. L'utilisation de ce format dans NeoOffice vous permet d'afficher les données d'un fichier texte dans un classeur et de les utiliser comme base de données. Inversement, vous pouvez exporter les données d'une feuille de classeur dans un document texte.</td><td> </td><td style="background: #eee; font-size: smaller;">Le format de fichier Texte CSV (Comma Separated Values) sépare les champs de données par des délimiteurs comme les virgules, tabulations, etc. L'utilisation de ce format dans NeoOffice vous permet d'afficher les données d'un fichier texte dans un classeur et de les utiliser comme base de données. Inversement, vous pouvez exporter les données d'une feuille de classeur dans un document texte.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td colspan="2" align="left"><strong>Line 19:</strong></td>
<td colspan="2" align="left"><strong>Line 20:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">* Dans la fenêtre {{window|Export de texte}}, choisissez le {{section|Jeu de caractères}}, par ex. {{prefName|Unicode (UTF-8)}} et le {{section|Séparateur de champs}}, par ex. {{prefName|{Tab} }}.</td><td> </td><td style="background: #eee; font-size: smaller;">* Dans la fenêtre {{window|Export de texte}}, choisissez le {{section|Jeu de caractères}}, par ex. {{prefName|Unicode (UTF-8)}} et le {{section|Séparateur de champs}}, par ex. {{prefName|{Tab} }}.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">* Cliquez sur {{button|OK}}.</td><td> </td><td style="background: #eee; font-size: smaller;">* Cliquez sur {{button|OK}}.</td></tr>
<tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Le fichier peut être converti en format <tt>.txt</tt> en modifiant l'extension dans le Finder : sélectionnez-le, pressez la touche {{key|Retour}} ou {{key|Entrée}} afin de pouvoir éditer le nom du fichier, et remplacez <tt>.csv</tt> par <tt>.txt</tt>.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Le fichier peut être converti en format <tt>.txt</tt> en modifiant l'extension dans le Finder : sélectionnez-le, pressez la touche {{key|Retour}} ou {{key|Entrée}} afin de pouvoir éditer le nom du fichier, et remplacez <tt>.csv</tt> par <tt>.txt</tt><ins style="color: red; font-weight: bold; text-decoration: none;">. (depending on your setting for displaying extensions in the Finder, you may have to select the file, choose {{menu|Get Info}} from the {{menu|File}} menu, expand the {{section|Name & Extension}} section, and modify the filename and/or uncheck the {{prefName|Hide extension}} checkbox).</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">==Exporting a Spreadsheet as a Fixed-Width ASCII File==</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">For some scientific or mathematical applications, you may need to export data from a spreadsheet in a fixed-width ASCII format (also known as a "space-separated" format; Excel calls this format a “.prn†file). NeoOffice supports this, but rather than selecting a special file type, you must save the spreadsheet using the Text CSV format and set filter options.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Begin preparing the spreadsheet for export by first selecting all columns with data in them.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Then choose {{menu|Optimal Width...}} from the {{menu|Columns}} sub-menu of the {{menu|Format}} menu. </ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* In the {{window|Optimal Column Width}} window, make sure the {{prefName|Default value}} checkbox is checked and that the {{prefName|Add}} field shows '''0.1"''' (or the equivalent value in metric units) if you want each “column†of data in the ASCII file to be separated by a single space. If you do not have at least '''0.1"''' (or the equivalent) added to the optimal column width, data from one “column†in the ASCII file will directly abut data from the next column.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Now choose the {{menu|File}} menu, then the {{menu|Save As…}} item.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* A dialog opens. In the {{section|File type}} drop-down menu choose {{prefName|Text CSV (.csv)}}.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Select {{prefName|Edit filter settings}}</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Give your document a name and choose the location where you want save it. Click {{button|Save}}.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"><!-- * In the window where you are asked for confirmation, click {{button|Yes}} to save the file in Text CSV format. -- I don't see this confirmation window, so hiding --></ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* In the {{window|Export of text files}} window, choose the {{prefName|Character set}}, e.g. {{prefName|Unicode (UTF-8)}}, and then check the {{prefName|Fixed column width}} checkbox.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Click {{button|OK}}.</ins></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* The file can be converted into <tt>.prn</tt> format by changing the extension in the Finder: select the file, then press {{key|Return}} or {{key|Enter}} and replace <tt>.csv</tt> with <tt>.prn</tt> (depending on your setting for displaying extensions in the Finder, you may have to select the file, choose {{menu|Get Info}} from the {{menu|File}} menu, expand the {{section|Name & Extension}} section, and modify the filename and/or uncheck the {{prefName|Hide extension}} checkbox)</ins>.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">{{botlangbarFR|[[:Importing and Exporting Comma and Tab Delimited Files|English]] [[It:Importare_file_delimitati_da_virgole_o_tabulazioni|Italiano]]}}</td><td> </td><td style="background: #eee; font-size: smaller;">{{botlangbarFR|[[:Importing and Exporting Comma and Tab Delimited Files|English]] [[It:Importare_file_delimitati_da_virgole_o_tabulazioni|Italiano]]}}</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td></tr>
</table>
Sardisson
https://neowiki.neooffice.org/index.php?title=Fr:Importer_et_Exporter_des_Fichiers_Texte_CSV_dans_Calc&diff=10676&oldid=prev
Valterb: botlangbar -> IT
2007-05-10T06:22:12Z
<p>botlangbar -> IT</p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:22, 10 May 2007</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 22:</strong></td>
<td colspan="2" align="left"><strong>Line 22:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td>-</td><td style="background: #ffa; font-size: smaller;">{{botlangbarFR|[[:Importing and Exporting Comma and Tab Delimited Files|English]]}}</td><td>+</td><td style="background: #cfc; font-size: smaller;">{{botlangbarFR|[[:Importing and Exporting Comma and Tab Delimited Files|English<ins style="color: red; font-weight: bold; text-decoration: none;">]] [[It:Importare_file_delimitati_da_virgole_o_tabulazioni|Italiano</ins>]]}}</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td></tr>
</table>
Valterb
https://neowiki.neooffice.org/index.php?title=Fr:Importer_et_Exporter_des_Fichiers_Texte_CSV_dans_Calc&diff=10449&oldid=prev
Jgd: botlangbar -> En
2007-04-20T19:33:38Z
<p>botlangbar -> En</p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 19:33, 20 April 2007</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 21:</strong></td>
<td colspan="2" align="left"><strong>Line 21:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">* Le fichier peut être converti en format <tt>.txt</tt> en modifiant l'extension dans le Finder : sélectionnez-le, pressez la touche {{key|Retour}} ou {{key|Entrée}} afin de pouvoir éditer le nom du fichier, et remplacez <tt>.csv</tt> par <tt>.txt</tt>.</td><td> </td><td style="background: #eee; font-size: smaller;">* Le fichier peut être converti en format <tt>.txt</tt> en modifiant l'extension dans le Finder : sélectionnez-le, pressez la touche {{key|Retour}} ou {{key|Entrée}} afin de pouvoir éditer le nom du fichier, et remplacez <tt>.csv</tt> par <tt>.txt</tt>.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;">{{botlangbarFR|[[:Importing and Exporting Comma and Tab Delimited Files|English]]}}</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</td></tr>
</table>
Jgd
https://neowiki.neooffice.org/index.php?title=Fr:Importer_et_Exporter_des_Fichiers_Texte_CSV_dans_Calc&diff=10439&oldid=prev
Jgd at 18:00, 16 April 2007
2007-04-16T18:00:48Z
<p></p>
<p><b>New page</b></p><div>Le format de fichier Texte CSV (Comma Separated Values) sépare les champs de données par des délimiteurs comme les virgules, tabulations, etc. L'utilisation de ce format dans NeoOffice vous permet d'afficher les données d'un fichier texte dans un classeur et de les utiliser comme base de données. Inversement, vous pouvez exporter les données d'une feuille de classeur dans un document texte.<br />
<br />
==Importer un Fichier Texte dans Calc==<br />
Pour importer un fichier enregistré en format <tt>.txt</tt> ou <tt>.csv</tt>, procédez de la manière suivante :<br />
* Dans le menu {{menu|Fichier}}, choisissez {{menu|Ouvrir…}}. <br />
* Dans la fenêtre de dialogue, dans le menu déroulant {{section|Type de fichier}} choisissez {{prefName|Texte CSV}}.<br />
* Sélectionnez le fichier que vous voulez importer et cliquez sur {{button|Ouvrir}}.<br />
* Dans la fenêtre de dialogue {{window|Import de texte}}, sélectionnez la ligne à partir de laquelle vous voulez importer le texte ainsi que le séparateur utilisé dans le fichier que vous importez, par ex. {{prefName|Tabulations}}.<br />
* Dans la section {{section|Champs}}, choisissez le {{prefName|Type}} à attribuer à chaque colonne. Vous pouvez aussi masquer certaines colonnes, elles ne seront pas importées.<br />
* Cliquez sur {{button|OK}}. <br />
*: '''N.B''' Si le fichier porte l'extension <tt>.csv</tt>, il suffit de double-cliquer dessus pour afficher directement la fenêtre de dialogue {{window|Import de texte}}.<br />
<br />
==Exporter une Feuille de Classeur en Format Texte==<br />
* Dans la feuille de calcul que vous voulez exporter, allez dans le menu {{menu|Fichier}} puis dans le sous-menu {{menu|Enregistrer sous…}}.<br />
* Dans la fenêtre de dialogue qui s'ouvre, dans le menu déroulant {{section|Type de fichier}} choisissez {{prefName|Texte CSV (.csv)}}.<br />
* Cochez la case {{prefName|Éditer les paramètres de filtre}}.<br />
* Donnez un nom à votre document et choisissez l'emplacement où vous voulez l'enregistrer. Cliquez sur {{button|Enregistrer}}.<br />
* Dans la fenêtre demandant la confirmation de l'enregistrement dans le format Texte CSV, cliquez sur {{button|Oui}} <br />
* Dans la fenêtre {{window|Export de texte}}, choisissez le {{section|Jeu de caractères}}, par ex. {{prefName|Unicode (UTF-8)}} et le {{section|Séparateur de champs}}, par ex. {{prefName|{Tab} }}.<br />
* Cliquez sur {{button|OK}}.<br />
* Le fichier peut être converti en format <tt>.txt</tt> en modifiant l'extension dans le Finder : sélectionnez-le, pressez la touche {{key|Retour}} ou {{key|Entrée}} afin de pouvoir éditer le nom du fichier, et remplacez <tt>.csv</tt> par <tt>.txt</tt>.<br />
<br />
[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:NeoWikiFR]]</div>
Jgd