singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

Open a .docx file , edit and save. #2112

Closed iykechukwu closed 3 months ago

iykechukwu commented 3 months ago

Is there an existing issue for this?

The question

Hi?

I am currently working on a project for a customized word processor; I am using Flutter Quill; opening, editing, and storing .docx files seem to be a big challenge, I have managed to convert to Delta and load texts but the file doesn't load with the formats, tables do not show as well.

CatHood0 commented 3 months ago

Getting/editing/saving Deltas from/to a Docx file is not a standard from Quill Js (the same thing for PDF, LATEX, EPUB, etc), and it's not planned.

You will need to describe more about your issue if you want some help about it

EchoEllet commented 3 months ago

You will need to convert the Delta to and from Microsoft docx.

You can take a look at how other packages handle this conversation (to a similar formats):

Also, take a look at docx_template.

Microsoft docx file format is out of scope for this project, and until now, we don't have plans to support it. If you have any questions, feel free to share them.

You can also use GitHub discussions.