{"id":27445,"date":"2025-10-10T14:45:02","date_gmt":"2025-10-10T18:45:02","guid":{"rendered":"https:\/\/phpreaction.com\/uncategorized\/using-csv-with-openoffice-for-data-import\/"},"modified":"2025-10-10T14:45:04","modified_gmt":"2025-10-10T18:45:04","slug":"using-csv-with-openoffice-for-data-import","status":"publish","type":"post","link":"https:\/\/phpreaction.com\/en\/continuous-improvement\/using-csv-with-openoffice-for-data-import\/","title":{"rendered":"Using CSV with OpenOffice for data import"},"content":{"rendered":"<p>[vc_row mo_row_type=&#8221;in_container&#8221;][vc_column width=&#8221;2\/3&#8243;][vc_custom_heading text=&#8221;Using CSV with OpenOffice for data import&#8221; font_container=&#8221;tag:h1|text_align:left&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Understanding and being able to use CSV opens up a whole new world of possibilities. Most systems have a method for exporting to CSV or Excel, and this is also the case for PHPReaction&#8217;s standard export.<\/span><\/p>\n<p><a href=\"https:\/\/phpreaction.com\/quoi-de-neuf\/import-massif-de-donnees-dans-votre-erp\/#exemples\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Read examples of column structure templates for PHPReaction imports.<\/span><\/a><\/p>\n<p><a href=\"https:\/\/phpreaction.com\/quoi-de-neuf\/import-massif-de-donnees-dans-votre-erp\/#exemples\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">URL: https:\/\/phpreaction.com\/quoi-de-neuf\/import-massif-de-donnees-dans-votre-erp\/#exemples<\/span><\/a><\/p>\n<p><span style=\"font-family: trebuchet ms, geneva, sans-serif;\"><span style=\"font-size: 24px;\">\u00a0<\/span><\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Furthermore, you will be able to work and import your CSV data files directly into your PHPReaction<\/span><\/p>\n<p><a href=\"https:\/\/phpreaction.com\/en\/features\/support-for-importing-data-with-phpreaction\/\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Import documentation: https:\/\/phpreaction.com\/en\/features\/support-for-importing-data-with-phpreaction\/<\/span><\/a>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/3&#8243;][vc_single_image image=&#8221;11086&#8243; img_size=&#8221;medium&#8221;][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column width=&#8221;1\/3&#8243;][vc_single_image image=&#8221;23757&#8243; img_size=&#8221;medium&#8221; alignment=&#8221;center&#8221;][\/vc_column][vc_column width=&#8221;2\/3&#8243;][vc_custom_heading text=&#8221;Apache OpenOffice&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/OpenOffice.org\">OpenOffice is produced by Apache<\/a> (a company established and recognized for several years)<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It offers a basic office suite (Writer, Spreadsheet\/Calc, Impress, Draw, Base and Math)<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Of course, what interests us for CSV is Spreadsheet\/Calc!<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It is free and open source and compatible with Windows, Mac, and Linux.<\/span><\/p>\n<p><a href=\"https:\/\/www.openoffice.org\/download\/index.html\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">To download it for free: https:\/\/www.openoffice.org\/download\/index.html<\/span><\/a>[\/vc_column_text][vc_column_text]<\/p>\n<h3><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 24pt;\">LibreOffice<\/span><\/h3>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\"> <a href=\"https:\/\/en.wikipedia.org\/wiki\/LibreOffice\">LibreOffice<\/a> is another alternative for using CSV.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It is free and open source and compatible with Windows, Mac, and Linux.<\/span><\/p>\n<p><a href=\"https:\/\/www.libreoffice.org\/download\/download\/\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">To download it for free: https:\/\/www.libreoffice.org\/download\/download\/<\/span><\/a>[\/vc_column_text][vc_column_text]<\/p>\n<h3><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 24pt;\"><b>Google Sheets<\/b>\u00a0<\/span><\/h3>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Indeed, <a href=\"https:\/\/workspace.google.com\/intl\/fr_ca\/products\/sheets\/\">Google Sheets<\/a> is another alternative for using CSV files directly in the cloud. It also enables collaborative work and facilitates document sharing via its Google Drive platform.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Since it&#8217;s a cloud-based web application, it runs on the browser, making it compatible with Windows, Mac, and Linux.<br \/>\n<a href=\"https:\/\/workspace.google.com\/intl\/fr_ca\/products\/sheets\/\">Visit the GSheets \/ Google Sheets \/ Google SpreadSheet tool page<\/a><\/span><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Google_Sheets\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">For more information, visit Wikipedia<\/span><\/a>[\/vc_column_text][vc_column_text]<\/p>\n<h3><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\"><span style=\"font-size: 24pt;\">Microsoft Excel<\/span><\/span><\/h3>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Of course, you can also use <a href=\"https:\/\/www.microsoft.com\/en-us\/microsoft-365\/excel\">Microsoft Excel \/ MSExcel \/ Excel<\/a>. <\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">However, this tutorial will not be similar to your usage.<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Furthermore, it seems that the application does not follow the same standards for CSV files. For example, the default delimiter is a semicolon &#8220;;&#8221; rather than a comma &#8220;,&#8221; as indicated in the name &#8220;CSV&#8221; where the &#8220;V&#8221; stands for comma.<\/span>[\/vc_column_text][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Open a CSV with OpenOffice&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">A sample CSV file should have the extension &#8220;.csv&#8221; (e.g., &#8220;xyz.csv&#8221;)<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">You can open the application and then open the file.<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">The easiest way is to open the file from &#8220;open with&#8221; and then select &#8220;OpenOffice Calc&#8221;<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">If you primarily use &#8220;OpenOffice Calc&#8221; for CSV files, you can configure it to be your default option, so simply double-click it.<\/span><\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_single_image image=&#8221;23767&#8243; img_size=&#8221;full&#8221;][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Read a CSV with OpenOffice&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">A CSV file can have different parameters. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Normally open with the following parameters:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Comma separator &#8220;,&#8221;<\/span><\/li>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Column separator double quotes, example: &#8220;<\/span><\/li>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It is preferable to keep the encoding &#8220;UTF-8&#8221; (Web Standard <a href=\"https:\/\/en.wikipedia.org\/wiki\/UTF-8\">UTF8<\/a>, which will preserve accents)<\/span><\/li>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It is preferable to keep the language &#8220;English&#8221; (See the Format section to understand why)<\/span><\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_single_image image=&#8221;23759&#8243; img_size=&#8221;full&#8221;][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Formatting numbers with OpenOffice&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Indeed, the language selected influences the application&#8217;s date and number formats.<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It&#8217;s best to keep the language &#8220;English&#8221; \/ &#8220;English (Canada)&#8221; mainly to have the numbers formatted like this: 12345.67<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">So a space, no comma, &#8220;&#8221;,&#8221;,&#8221; and a period, &#8220;.&#8221; for decimals. <\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">This format will allow it to be treated as a number when saving.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">For dates, the ideal is to use the ISO format &#8220;Y-m-d&#8221; (for example, &#8220;2022-12-31&#8221;) for Year: 2022 Month: 12 Day: 31<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">With this method, the language should not influence the processing of your dates.<\/span>[\/vc_column_text][vc_single_image image=&#8221;23761&#8243; img_size=&#8221;full&#8221;][\/vc_column][\/vc_row][vc_row mo_row_type=&#8221;in_container&#8221;][vc_column][vc_custom_heading text=&#8221;Save a CSV with OpenOffice&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Use the &#8220;Save As&#8221; option<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">You can choose a name for your file and the &#8220;CSV Text&#8221; extension (.csv)<\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">It is best to select &#8220;Filter parameters options&#8221; to validate the save settings.<\/span>[\/vc_column_text][vc_single_image image=&#8221;23763&#8243; img_size=&#8221;full&#8221;][vc_column_text]<span style=\"font-family: trebuchet ms, geneva, sans-serif;\"><span style=\"font-size: 24px;\">In the &#8220;Filter parameters options&#8221;<\/span><\/span><\/p>\n<p><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Validate the settings:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Comma separator \/ comma &#8220;,&#8221;<\/span><\/li>\n<li><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Text separator double quotation marks \/ Double quotes example: &#8220;<\/span><\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_single_image image=&#8221;23765&#8243; img_size=&#8221;full&#8221;][vc_column_text]<span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Par la suite, vous pourrez importer votre fichier de donn\u00e9es CSV directement dans votre PHPReaction<\/span><\/p>\n<p><a href=\"https:\/\/phpreaction.com\/en\/features\/support-for-importing-data-with-phpreaction\/\"><span style=\"font-family: 'trebuchet ms', geneva, sans-serif; font-size: 18pt;\">Documentation sur l&#8217;importation : https:\/\/phpreaction.com\/en\/features\/support-for-importing-data-with-phpreaction\/<\/span><\/a>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row mo_row_type=&#8221;in_container&#8221;][vc_column width=&#8221;2\/3&#8243;][vc_custom_heading text=&#8221;Using CSV with OpenOffice for data import&#8221; font_container=&#8221;tag:h1|text_align:left&#8221;][vc_column_text]Understanding and being able to use CSV opens up a whole new world of possibilities. Most systems have a method for exporting to CSV or Excel, and this is also the case for PHPReaction&#8217;s standard export. Read examples of column structure templates for PHPReaction imports. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":23753,"comment_status":"closed","ping_status":"open","sticky":false,"template":"single-fullwidth.php","format":"standard","meta":{"footnotes":""},"categories":[180,198],"tags":[],"class_list":["post-27445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-continuous-improvement","category-features"],"_links":{"self":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts\/27445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/comments?post=27445"}],"version-history":[{"count":0,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/posts\/27445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/media\/23753"}],"wp:attachment":[{"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/media?parent=27445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/categories?post=27445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpreaction.com\/en\/wp-json\/wp\/v2\/tags?post=27445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}