Coder Social home page Coder Social logo

FODS support about rspreadsheet HOT 7 CLOSED

gorn avatar gorn commented on August 22, 2024
FODS support

from rspreadsheet.

Comments (7)

gorn avatar gorn commented on August 22, 2024 1

@paddor after some investigation I think I might be able to add the support, however it would need to be tested in practical usage. Without that I do not think it is good to include it in production verions. Are you willing to do some testing, as you seem to work with fods? I personally do not use them at all.

from rspreadsheet.

gorn avatar gorn commented on August 22, 2024

I have never worked with FODS, but if you fill in the issue with expected usecase and some examples I can have a look at it. If you are able to file failing test, than it is even better.

from rspreadsheet.

paddor avatar paddor commented on August 22, 2024

Use case: I don’t wanna check binary files into my Git repository. ODS files are compressed and thus binary. Git can’t work out diffs of binary files.

In LibreOffice under “Save as...” I choose the FODS (Flat ODS) file format, which is an uncompressed XML file. Unfortunately this project assumes all files to be compressed and thus always uses Zip::File IIRC.

Suggestion: When opening a file, check BOM of file or simply the extension in the filename provided. If it’s not compressed, don’t run it through Zip::File.

from rspreadsheet.

gorn avatar gorn commented on August 22, 2024

I just briefly looked at FODS file created as you describe. It seems to me in quite different format that usual ods files. Usual OSD is not only zipped, but also contains several separate files, so handeling of for example pictures is realtively easy (they are just stored in zip and referenced). We would need to find more documentation of FODS and its differencies / simmilarities to ODS before it can be implemented. Any help with this is appreciated.

from rspreadsheet.

paddor avatar paddor commented on August 22, 2024

Thanks, that’s great news! Yes, I’d be willing to do some testing and give feedback. To be honest though, that particular application is not reading the FODS file yet, so there’s no need to hurry. But I’d still fairly easily be able to perform some testing, whenever this feature is ready.

from rspreadsheet.

gorn avatar gorn commented on August 22, 2024

Ok, I have implemented basic functionality for fods files and released as version 0.5. It needs to be tested however, there might easily be some missing parts. Will you have a look at it @paddor ?

I know that it can not covert one format to the other and does not support images yet. Let me know.

from rspreadsheet.

gorn avatar gorn commented on August 22, 2024

I am closing this for now, but I would still be interested if @paddor or anyone else can test new functions. It works for me at the moment.

from rspreadsheet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.