BookmarkSubscribeRSS Feed
hollandnumerics
Pyrite | Level 9

At NESUG 2007 Eric Gebhart suggested that ODS Markup (https://lexjansen.com/nesug/nesug07/np/np08.pdf) could be used to create ODS destinations for Microsoft Office Open and Oasis Open Document Format (created by LibreOffice and OpenOffice). It is now 2019 and we have ODS EXCEL, POWERPOINT and WORD, but nothing for LibreOffice Calc.

 

However, I think I know why it hasn't happened, as my attempts to combine tagsets with ODS PACKAGE to create zipped XML files have surfaced a "feature" which limits the XML files concurrently created to just 2, whereas LibreOffice Calc files require at least 3 (content.xml, styles.xml and meta.xml) to be in the zipped package.

 

Has anyone successfully created an ODS destination for *.ods (LibreOffice Calc) files?...........Phil

 

 

Philip R Holland
Holland Numerics: Blog and Forums
http://blog.hollandnumerics.org.uk
3 REPLIES 3
hollandnumerics
Pyrite | Level 9

Another option occurred to me this evening: could you use PROC JLAUNCHER to create a LibreOffice Calc file from a SAS data set, as there are Java frameworks available to create such files?

Philip R Holland
Holland Numerics: Blog and Forums
http://blog.hollandnumerics.org.uk
Cynthia_sas
SAS Super FREQ

Hi:

  I remember that paper! Have you tried to just open an XLSX file using LibreOffice. This is a really old post (2012), but at the very bottom, looks like someone had success opening XLSX files: https://askubuntu.com/questions/210213/can-i-open-excel-xlsx-files-with-libreoffice-calc .

 

Cynthia

hollandnumerics
Pyrite | Level 9
Cynthia,

I can confirm that LibreOffice can read and create XLSX files directly, and I do use that facility on a regular basis, but there are public organisations, and even governments, internationally that have standardised on the OpenDocument file formats.

I've done a fair amount of investigation into the structure and contents of XLSX and *.ods files, and concluded that the Open Source *.ods files, which can also be read by newer versions of Excel, should be smaller and hold more precise numeric values (including dates and times) than the equivalent XLSX files. Surely it would be better to support an Open Source file format, than a proprietary one, especially when it has size and precision advantages, and no readability issues?

........Phil
Philip R Holland
Holland Numerics: Blog and Forums
http://blog.hollandnumerics.org.uk

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1117 views
  • 5 likes
  • 2 in conversation