[poppler] saving a form
Carlos Garcia Campos
carlosgc at gnome.org
Tue Jan 29 12:32:53 PST 2008
El mar, 29-01-2008 a las 20:31 +0100, Albert Astals Cid escribió:
> A Diumenge 27 Gener 2008, Carlos Garcia Campos va escriure:
> > Hi all,
> >
> > I've noticed that right now, saveAs will always save the changes of an
> > already filled form so that it's impossible to save a copy of the pdf
> > document without saving the contents of the form fields. You would have
> > to manually reset the form, or close the document and reopen it again. I
> > think there are (at least) two possible solutions:
> >
> > * Adding a new write method to saveAs
>
> When you say method you mean a new PDFWriteMode enum value?
yes, of course I meant mode instead of method :-P
> I would disagree
> to that because the current enum values have nothing to do with what is
> saved, they are about how it's saved, and mixing them seems quite weird.
agree
> > * Adding a new method saveACopy that never saves the changes and would
> > be used by saveAs when the write method is Standard and there are no
> > changes.
>
> What about saveUnchangedCopy or saveCopyWithoutChanges? I think that's ok.
>
> BTW, just to be sure if the document originally has values on the forms,
> saveACopy/saveUnchangedCopy/saveCopyWithoutChanges will still leave them
> there, right?
yes, of course.
> Albert
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
--
Carlos Garcia Campos
elkalmail at yahoo.es
carlosgc at gnome.org
http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080129/45ff3497/attachment.pgp
More information about the poppler
mailing list