danmunn / redmine_dmsf

Fork of svn repository for redmine_dmsf
GNU General Public License v2.0
422 stars 194 forks source link

Can add a function to convert to PDF automatically #858

Open xzf16 opened 6 years ago

xzf16 commented 6 years ago

DMSF is a great plugin to manage document, but I think it's great if it has a function to convert the document to PDF automatically after approved and add the approve information to the PDF. It will be very useful if this function is implemented in a company.

bruceschaller commented 6 years ago

I think this is very tricky- creating a PDF is more like printing something than anything. For it to be really exact, the best way is to render the PDF using whatever application it was created with. I think for most business users, this would be microsoft word, which of course is not a *nix application.

A quick google yields this: https://bit.ly/2jYvJlB

which has a lot of promising info. It looks like the easiest way to implement this would be to have a computer with word, and a scheduled task which would run the PDF conversion. That task could check a directory and use WEBDAV to place the "PDF mastered document" back into the WEBDAV share; in that way PDFs would only be generated by an administrative user.

Pharmaceutical companies pay a lot for doc control like this!

M0d3rn15t commented 6 years ago

This was part of the feature list in #844 . It is an essential feature that 'issued' documents have the option to be issued as PDF.

It may be that this is a 'manual' operation where by the 'pdf mastered document' is stored alongside the master document itself and offered on download.

Alternatively, you could offer a pipe to one of the free (or paid) online pdf converters. I am taking a flyer at this as I haven't investigated in any depth but maybe something like http://doctopdfofficial.com/doctopdf_ms/dtpdfdpthmd/n/zz?cid=w8DQKV1NNSP7S91HHDVBNSOM or https://www.freepdfconvert.com/

picman commented 2 years ago

Since v3.0.5, I think, documents that supports it (LibreOffice and MS Office documents) are automatically converted to PDF and displayed inline. LibreOffice must by installed on the server. So, such functionality is already available.