webodf / WebODF

WebODF - JavaScript Document Engine
http://webodf.org/
791 stars 167 forks source link

WebODF as a Thunderbird Addon #768

Closed trenkert closed 10 years ago

trenkert commented 10 years ago

The FF addon works pretty well. What I would really love is a addon for the built-in viewer ("preview") for attachments in Thunderbird.

Right now, the viewer in Thunderbird can display pdf-attachments. Would it be possible to integrate WebODF with Thunderbird so that it can display any document type that WebODF can handle?

Use case: I often get documents for review where I have to make some minor changes before sending them back. Traditionally, I have to save the attachment, open Libreoffice or Word, make the changes, save them, and write a response with the altered file as an attachment.

If WebODF can be integrated with Thunderbird, this should only be two step instead of five.

vandenoever commented 10 years ago

That is a good idea. I was not aware that Thunderbird allows plugins. Do you know what the difference between the plugins are?

trenkert commented 10 years ago

Ah, maybe I made a mistake; I am not sure if vanilla Thunderbird supports the pdf preview I was talking about or only via the Thunderbird Conversations extension.

Thunderbird allows extensions just as Firefox, the main difference are adaptions of the install.rdf and the name of the components. But since they are both based on xulrunner, they are both largely similar.

And there is one very popular extension calles "Thunderbird Conversations" which provides a conversation view for TB but also intergrates pdf.js as a preview method for pdf attachments.

See here: https://github.com/protz/GMail-Conversation-View

It looks like the developers of this addon wrote their own js wrapper to integrate pdf.js with TB. Maybe this wrapper could be extended to also support WebODF?

I would really love to have something like this.

vandenoever commented 10 years ago

Yes, they are using pdfjs. If they would switch to ViewerJS, they'd get PDF and ODF in one package. https://github.com/protz/GMail-Conversation-View/tree/master/content

I suggest you open an issue with GMail-Conversation-View and point them to http://viewerjs.org

trenkert commented 10 years ago

Does viewer.js always ship with the newest WebODF release?

vandenoever commented 10 years ago

Even better, they ship with the same version number. https://github.com/kogmbh/ViewerJS/tree/v0.5.2 https://github.com/kogmbh/WebODF/releases/tag/v0.5.2

trenkert commented 10 years ago

ok, I opened an issue with Thunderbird Conversations.

JumpLink commented 10 years ago

Thanks: https://github.com/protz/GMail-Conversation-View/issues/843

kossebau commented 10 years ago

Closing this issue here, as this is something to be solved outside the current WebODF project scope and has been filed at the seemingly proper place.