RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1980800 - convert-to csv is only converting the first tab of xlsx workbooks
Summary: convert-to csv is only converting the first tab of xlsx workbooks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libreoffice
Version: 8.4
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: Caolan McNamara
QA Contact: Martin Krajnak
URL:
Whiteboard:
Depends On:
Blocks: 1980807
TreeView+ depends on / blocked
 
Reported: 2021-07-09 14:58 UTC by Joe Wright
Modified: 2022-05-10 13:51 UTC (History)
5 users (show)

Fixed In Version: libreoffice-6.4.7.2-6.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1980807 (view as bug list)
Environment:
Last Closed: 2022-05-10 13:31:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Document Foundation 135762 0 None None None 2021-07-12 13:57:31 UTC
Red Hat Product Errata RHSA-2022:1766 0 None None None 2022-05-10 13:32:07 UTC

Description Joe Wright 2021-07-09 14:58:59 UTC
Description of problem:
- only first tab of workbook is being converted when running 

Version-Release number of selected component (if applicable):
- 6.4.7.2-5.el8.x86_64

How reproducible:
- verified by support

Steps to Reproduce:
1) Run below command to convert the file to .csv

--
# soffice --convert-to csv Redhat_Case_02966328.xlsx
--

2) Run 'cat Redhat_Case_02966328.xlsx' you will see only 1st tab of the original workbook is converted to csv.

Actual results:
- only 1st tab of workbook is converted to csv.

Expected results:
- entire contents of workbook converted

Additional info:

Comment 8 Caolan McNamara 2021-07-14 18:56:19 UTC
our upstream effort is: https://gerrit.libreoffice.org/c/core/+/118850

sample usage:

soffice --convert-to csv:"Text - txt - csv (StarCalc)":44,34,UTF8,1,,0,false,true,false,false,false,-1 sample.ods

where the new (11th!) final token ("-1") enables writing each sheet to a new file based on the suggested target name so output in this example is files
sample-Sheet1.csv and sample-Sheet2.csv

Comment 10 Martin Krajnak 2021-09-15 12:42:20 UTC

$ rpm -q libreoffice 
libreoffice-6.4.7.2-6.el8.x86_64
$ soffice --convert-to csv:"Text - txt - csv (StarCalc)":44,34,UTF8,1,,0,false,true,false,false,false,-1  Redhat_Case_02966328.xlsx 
$ ll
total 24
-rw-r--r--. 1 test test    59 Sep 15 14:10 'Redhat_Case_02966328-Name and Address.csv'
-rw-r--r--. 1 test test    51 Sep 15 14:10 'Redhat_Case_02966328-Name and age.csv'
-rw-r--r--. 1 test test    40 Sep 15 14:10 'Redhat_Case_02966328-Name and ID.csv'
-rw-r--r--. 1 test test 11194 Sep 15 14:02  Redhat_Case_02966328.xlsx

Comment 13 Martin Krajnak 2021-09-29 09:47:25 UTC
csv_convert

Comment 15 errata-xmlrpc 2022-05-10 13:31:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: libreoffice security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1766


Note You need to log in before you can comment on or make changes to this bug.