KaiserY / ooxmlsdk

Open XML SDK for Rust
Apache License 2.0
7 stars 0 forks source link

Reading from bytes or custom reader, not only from file path #2

Open justanotheranonymoususer opened 1 day ago

justanotheranonymoususer commented 1 day ago

Thanks for the library. I wanted to try it, but I only have the document in memory in my use case. If such feature can be implemented, that would be great.

KaiserY commented 1 day ago

Just cut off a 0.1.18 version and added a new_from_reader function, it takes a reader which is Read + Seek just like underlying zip new function. And read_docx example also updated.