fdo#74512: Add export test for this.

Change-Id: I7582ff84c3a31f294f241ca642915361509768a1
fdo#74512: Fix the ODS export as well.

Change-Id: I54a2b2f405f9172d2ec5646346ef4e8a7ae27cb2