-
1. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
lrosenth Jul 9, 2014 6:39 PM (in response to BrettMcKenzie)I believe that for Reader, you can only do a appended Save - so try that in your flags.
-
2. Re: Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
BrettMcKenzie Jul 9, 2014 7:03 PM (in response to lrosenth)Thanks for the quick reply,
I can't see any appended save flag, tried PDSaveIncremental and PDSaveForceIncremental (With the newpath parameter as NULL as specified in the API) but got the same result - An unimplemented or obsolete function was called.
Am I looking in the wrong spot?
-
3. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
lrosenth Jul 9, 2014 7:13 PM (in response to BrettMcKenzie)SaveIncremental is the one I was thinking of...
What if you do an AVDocSave instead of a PDDocSave?
-
4. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
lrosenth Jul 9, 2014 7:23 PM (in response to BrettMcKenzie)One thing I notice in the docs for PDDocSave:
IMPLEMENTATION LIMIT: the current implementation can
only save a file to the same fileSys for the doc's current backing
file, thus fileSys MUST BE NULL, otherwise the error XXX is raised.
This is also reiterated in the other headers:
@param fileSys The file system. If it is
, uses theNULL
fileSys
of the document's current backing file. Files can only be
saved to the same file system.must be eitherfileSys
NULL
or the default file system obtained with ASGetDefaultFileSys(),
otherwise an error is raised.
-
5. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
BrettMcKenzie Jul 9, 2014 7:39 PM (in response to lrosenth)I have also tried tried PDDocSave(pdDoc, PDSaveIncremental, NULL, NULL, NULL, NULL); with the fileSys as NULL but no different.
I am having a play with the AvDocSaveOptimised (there is no AvDocSave) and will let you know how I go.
-
6. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
Test Screen Name Jul 9, 2014 10:46 PM (in response to BrettMcKenzie)Apparently you will not be able to save a modified file, only the original unmodified file. Extensive discussion: Re: Acrobat Reader X and PDDocSave
-
7. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
BrettMcKenzie Jul 9, 2014 11:04 PM (in response to BrettMcKenzie)I have sorted it out with AvDocDoSave and PDDocCopyToFile, both of these work in Reader.
EDIT: I have marked this as the right answer as it contains what I have done to resolve my issue, but I would like to give credit to lrosenth for putting me on the right track.
-
8. Re: Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called
BrettMcKenzie Jul 9, 2014 11:03 PM (in response to Test Screen Name)Yeah I have looked at that thread Test Screen Name, I had referred to that thread in my original and it discusses the plugin needing to be Reader-Enabled, which mine is. Also the thread concluded it was a bug in X which I would have assumed to be fixed by XI.
Thanks for having a look around though, it does contain some useful information that has helped me with my research.



