My application is based on eclipse 4.4.2 and has a preview pdf functionality which opens pdf files in a SWT browser. The pdf files open just fine in Windows in the SWT browser but in linux the save prompt opens instead which defeats the whole purpose of that particular functionality. Any suggestions are welcome.
Asked
Active
Viewed 39 times
0
-
Show us an [mcve]. – greg-449 Feb 26 '19 at 09:40
-
2Is this question related to your [previous question](https://stackoverflow.com/q/54803519/6505250) (do you use XULRunner on Linux)? – howlger Feb 26 '19 at 09:45
-
@howlger - yes this is related to that. – Knight of the Vale Feb 26 '19 at 10:02
-
i cannot use pdf.js as it needs a server in order to work. – Knight of the Vale Feb 26 '19 at 10:05
-
@KnightoftheVale To my knowledge PDF.js can be used offline (in Firefox it is included as PDF viewer). – howlger Feb 26 '19 at 10:56
-
as for the solutions present on the internet, pdf.js doesn't look like a viable option - https://stackoverflow.com/questions/16785198/use-pdf-js-to-statically-convert-a-pdf-to-html It would at least need to be served from localhost. – Knight of the Vale Feb 26 '19 at 11:21