Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plugin for Office documents #94

Closed
xnsua opened this issue Oct 3, 2017 · 11 comments
Closed

New plugin for Office documents #94

xnsua opened this issue Oct 3, 2017 · 11 comments
Labels
Milestone

Comments

@xnsua
Copy link

xnsua commented Oct 3, 2017

加密docx文件的预览导致崩溃

@xnsua xnsua changed the title 加密docx预览导致崩溃 Encrypted docx file cause crash Oct 3, 2017
@xnsua xnsua closed this as completed Oct 3, 2017
@xnsua xnsua reopened this Oct 3, 2017
@xupefei
Copy link
Member

xupefei commented Nov 4, 2017

The preview component provided by MS is truly a mess ...
I will rework it later.

@xupefei xupefei added this to the Future milestone Nov 4, 2017
@TaicEart
Copy link

TaicEart commented Nov 7, 2017

预览 docx 需要 MSOffice 安装?不可能安装的,这辈子都不可能安装的。

是否可以试试调用 pandoc?某软件利用这个的 docx2md、epub2text 功能达成对 docx、odt、epub 的简单预览,这就足够了。

@xupefei
Copy link
Member

xupefei commented Nov 7, 2017

pandoc 只能读 docx 吧。pptx和 xlsx 就没办法了……

另外,pandoc 是 GPLv2协议的,那个软件内置 pandoc 违规了吧。看来作者还是没有吸取教训。

@TaicEart
Copy link

TaicEart commented Nov 7, 2017

只读 docx 也是可以的。即使是文本形式。

那个倒是没内置到安装文件里,是另外提供 pandoc.exe 下载,以命令形式调用。

@bennyyip
Copy link

bennyyip commented Dec 5, 2017

可以暂时禁用掉office文件的预览吗?

@xupefei
Copy link
Member

xupefei commented Dec 5, 2017

删掉或移走 Plugin 目录下的 QuickLook.Plugin.IPreviewHandlers 目录。

@xupefei
Copy link
Member

xupefei commented Jan 13, 2018

I have found that Syncfusion provides free Office viewer to open-source projects, however, since its license is not compatible with GPL, the new plugin will not be shipped out-of-box with QuickLook - users must download it manually from another place.

https://www.syncfusion.com/products/communitylicense

TODO: UWP is sandboxed where users are not able to access the appdata folder. Therefore, QuickLook should uncompress zipped plugin data into the userdata folder, and load it in the next run.

@xupefei xupefei modified the milestones: Future, 0.3.3 Jan 13, 2018
@xupefei xupefei changed the title Encrypted docx file cause crash New plugin for Office documents Jan 13, 2018
@xupefei xupefei removed the upstream label Jan 13, 2018
@xupefei
Copy link
Member

xupefei commented Feb 12, 2018

I have contacted Syncfusion about the Community License. They agreed to give us a free license for their product, however, their agreement says the follows:

Customer acknowledges and agrees that if the Customer uses the Licensed product to create an open-source project, and then chooses to share that project with others, then Customer further acknowledges and agrees that the Customer will abide by the following additional terms concerning. Failure to abide by any of the following additional terms is a material breach of this Agreement which will result in immediate termination of all rights granted hereunder. Upon breach of this section titled “Open Source Project Terms,” then Customer is immediately liable for all damages caused directly or indirectly by Customer’s breach of this Agreement.

  • Customer must have a written agreement in place under which it grants rights to its Open Source Project, and such written agreement shall clearly state that any person or entity obtaining any Syncfusion code, licensed assemblies, or dependencies as a result of the Open Source Project must obtain their own licensed copy of the Licensed Product from Syncfusion.

  • Customer shall not distribute any Syncfusion binaries as part of an open-source project.

  • The open-source project will not be licensed under any viral code license or General Public License to include, but not be limited, to GNU or GPL.

  • The open-source project can only be licensed under BSD or MIT licensing.

In my understanding, the above sentences mean that

  • Any QuickLook user must apply for a separate license from Syncfusion.
  • I can not release a binary distribution of QuickLook containing Syncfusion Dlls. The users must obtain these DLLs from elsewhere by themselves.

It does not make any sense for me to have a community license since I will not be able to release QuickLook anymore, and any of you (as users) will also need to do lots of complex works.

@KrasnayaPloshchad
Copy link
Contributor

如果用 LibreOffice 会怎样?

@xupefei
Copy link
Member

xupefei commented Feb 16, 2018 via email

@fqzhou
Copy link

fqzhou commented Mar 29, 2018

[Feature Request] Preview eps/ps files as images #138
Currently, they are shown as text files. So what can I do if I wanna preview them as imaSorry for the rthe repost, because I cannot find the answer to #138 with it tagged closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants