Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.misc > #4749

Re: Is there a way of getting PDFs to open without saving?

Date 2012-04-04 06:51 +0100
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.misc
Subject Re: Is there a way of getting PDFs to open without saving?
Message-ID <826ffd7a52.Matthew@sinenomine.freeserve.co.uk> (permalink)
References (2 earlier) <5279451937tim@invalid.org.uk> <527947572falan_calder@o2.co.uk> <mpro.m1snv501klgrk01jn.news@stevefryatt.org.uk> <52798a8124alan_calder@o2.co.uk> <mpro.m1src1036enls01jn.news@stevefryatt.org.uk>

Show all headers | View raw


In message <mpro.m1src1036enls01jn.news@stevefryatt.org.uk>
 on 1 Apr 2012 Steve Fryatt  wrote:

> The problem then is that there's then no way for the target application to
> tell NetSurf that it's closed the file, so that the copy on disc can be
> deleted (unless something like the OLE protocol could be abused to do it;
> I'd need to do some research, which isn't going to happen any time soon).

The OLE protocol could be used for this, but only if !PDF supported it fully,
which is very unlikely to be the case given that !PDF does not allow files to
be edited.  Without proper support for OLE from !PDF you would have to fall
back on the OLESupport module, which simulates OLE for non-compliant editors. 
But the problem for the above use case is that OLESupport is unable to tell
you when the file is closed, only when the file has been saved by the editor.

The only sensible solution, I think, would be to use !Scrap, and for NetSurf
to delete anything more than a day old, say.
 
The other way of handling PDFs in NetSurf, which would also require !PDF to
be rewritten, would be to use the plugin protocol.  Then the PDF would appear
within NetSurf's own window.  I know even less about the Plugin protocol than
I do about OLE.

-- 
Matthew Phillips
Durham

Back to comp.sys.acorn.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a way of getting PDFs to open without saving? Michael Bell <michael@beaverbell.co.uk> - 2012-03-29 18:16 +0100
  Re: Is there a way of getting PDFs to open without saving? Alan Calder <alan_calder@o2.co.uk> - 2012-03-29 19:22 +0100
    Re: Is there a way of getting PDFs to open without saving? Alan Griffin <ajg@argonet.co.uk> - 2012-03-29 23:08 +0100
  Re: Is there a way of getting PDFs to open without saving? Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2012-03-29 23:42 +0100
    Re: Is there a way of getting PDFs to open without saving? Tim Hill <tim@invalid.org.uk> - 2012-03-31 22:41 +0100
      Re: Is there a way of getting PDFs to open without saving? Alan Calder <alan_calder@o2.co.uk> - 2012-03-31 23:06 +0100
        Re: Is there a way of getting PDFs to open without saving? Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-01 10:33 +0100
          Re: Is there a way of getting PDFs to open without saving? Alan Calder <alan_calder@o2.co.uk> - 2012-04-01 11:19 +0100
            Re: Is there a way of getting PDFs to open without saving? Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-01 11:48 +0100
              Re: Is there a way of getting PDFs to open without saving? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-01 22:41 +0200
              Re: Is there a way of getting PDFs to open without saving? Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-04 06:51 +0100
            Re: Is there a way of getting PDFs to open without saving? Kevin Wells <kev@kevsoft.co.uk> - 2012-04-01 11:39 +0100
              Re: Is there a way of getting PDFs to open without saving? Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-01 13:46 +0100
          Re: Is there a way of getting PDFs to open without saving? Chris Hughes <news@noonehere.co.uk> - 2012-04-01 11:48 +0100
            Re: Is there a way of getting PDFs to open without saving? Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-01 13:49 +0100
              Re: Is there a way of getting PDFs to open without saving? Jess <phantasm_39@hotmail.com> - 2012-04-01 15:36 +0100
                Re: Is there a way of getting PDFs to open without saving? Chris Bell <news@highpath.net> - 2012-04-01 18:05 +0100
              Re: Is there a way of getting PDFs to open without saving? Stuart <Spambin@argonet.co.uk> - 2012-04-01 20:56 +0100
              Re: Is there a way of getting PDFs to open without saving? Stuart <Spambin@argonet.co.uk> - 2012-04-01 20:57 +0100
                Re: Is there a way of getting PDFs to open without saving? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-04-01 22:43 +0100
          Re: Is there a way of getting PDFs to open without saving? Tim Hill <tim@invalid.org.uk> - 2012-04-07 14:05 +0100

csiph-web