Can't delete custom document info
If I open a PDF that has no custom meta data under document.info, I can add a new meta data entry by running the following code in the console:
this.info.foo = "bar";
If I then save the document the "foo" meta data entry persists. However, if I try to delete the meta data entry by running the following code in the console:
this.info.foo = null;
Right after running this code to delete the meta data entry, if I look in Document properties the entry no longer shows. However, as soon as I hit Save the "foo" meta data entry shows up again. It seems there's no way to persist the removal of metadata entries.
Is there something I'm doing wrong?
