I put the data in a file called tabel1.csv
Then imported the data into Calc (Vertical Bar is 124)
The following command loaded the file into a calc spreadsheet.
libreoffice --infilter=CSV:124,34,76,1 tabel1.csv
Then copied it into writer.
Tried to do it with --writer, but it results in just text rather than a table.
Might be a way to do it directly, but don't know myself. Do more with 
calc.

I'd just have the c program make standard csv format file with , or ; but 
Vertical bar does work with the 124 code. Then just copy it from calc 
into writer.



On 28 Jan 2021 at 7:02, Jeffrey Walton wrote:

Send reply to:          [email protected]
From:                   Jeffrey Walton <[email protected]>
Date sent:              Thu, 28 Jan 2021 07:02:42 -0500
Subject:                [libreoffice-users] What does LibreOffice recognize as 
a column delimiter?
To:                     [email protected]

> Hi Everyone,
> 
> I have a Writer document with a Table inside. The table is large at
> about 3 columns x 500 rows. When I attempt to highlight the table
> cells and paste the data from a single 1 x 1500 source LibreOffice
> mishandles populating the table.
> 
> I'm generating the data from a C++ program so I can format the data in
> a way that makes Writer happy. For example, I can use a vertical bar:
> 
>    a  |  b   |   c
>    d  |  e   |   f
>    ...
> 
> Or I can use something else.
> 
> I already tried to use vertical bars and HTML tags like <tr>...</tr>,
> but the paste did not work.
> 
> What does LibreOffice recognize as a column delimiter? So I can
> perform the 3x500 paste into the table?
> 
> Thanks in advance.
> 
> Jeff
> 
> -- 
> To unsubscribe e-mail to: [email protected]
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+




-- 
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to