Adding Csv Data into Libreoffice-Calc from Cmd Line

Adding Csv Data into Libreoffice-Calc from Cmd Line

I want to import different .csv files into an existing libreoffice-calc document.

Each file must be inserted in a new tab.

I imagine it could be written close to something like:

libreoffice --calc mydoc.odt import mycsv.csv@thissheet

which requires saving the file immediately thereafter.

But I found no example on the web, and very few API examples. Any Idea on how to proceed?

5
Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.