Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I take it that the odf extension is for this: http://en.wikipedia.org/wiki/OpenDocument
But as far as I can tell, the actual extensions are odt for text. At least that is what my copy of OOO suggests.
Comment | File | Size | Author |
---|---|---|---|
#11 | webform-remove-odf.patch | 580 bytes | quicksketch |
#8 | webform-n772120-7.patch | 2.29 KB | DamienMcKenna |
#7 | webform-n772120-7.patch | 328 bytes | DamienMcKenna |
#5 | 772120-webform-odt-not-odf.patch | 2.18 KB | Dave Reid |
Comments
Comment #1
quicksketchODF is for OpenOffice files: http://xml.openoffice.org/#ODF
Comment #2
joachim CreditAttribution: joachim commentedIndeed. But I think my point was that no actual files have the extension .odf, as you can see from the list here: http://en.wikipedia.org/wiki/OpenDocument
Comment #3
joachim CreditAttribution: joachim commentedOh hang on.
In the text:
.odf for formulae, mathematical equations
I stand corrected!
Comment #4
Dave ReidIncluding mathematical equations as default makes absolutely no sense in the 'Document' category and I truly believe this was in error. I believe this was meant to be 'odt' for opendocument text format?
Comment #5
Dave ReidPatch attached that should apply to 7.x-3.x. Implemented an update function that for now only switches out odf with odt. I commented out lines that would have added 'odf' to the additional extensions field but I still truly believe this extension is in error and should just be fixed. Looking for feedback on direction of the update hook (if desired).
Comment #6
DamienMcKennaPer http://www.openoffice.org/framework/documentation/mimetypes/mimetypes.html the extension "ODF" is for formula files, as mentioned above.
I'm putting this back to Needs Work as the extensions list should include all of the OOo equivalents of the MS Office files, i.e. ODS for spreadsheets, ODP for presentations and ODT for text documents.
Comment #7
DamienMcKennaTry this for size.
This version of the update script doesn't replace ODF, it just adds the missing three extensions.
Comment #8
DamienMcKenna#facepalm.
Comment #9
quicksketchThanks Damien! We probably need to batch API that update.
Comment #10
quicksketchI'm honestly tempted to remove all the OpenOffice extensions rather than add more of them. I'd be just as happy just removing odf and calling it good. Users can always add extra extensions via the additional extensions box. As the general importance of desktop office software has waned due to online equivalents (i.e. Google Docs), OpenOffice has moved to a point of irrelevance in my mind. And for 95% of the population it was probably irrelevant to begin with.
Comment #11
quicksketchThere, problem solved. Committed to 7.x-4.x branch.