You can use the NSOpenSavePanelDelegate
method panel:shouldEnableURL:
for this.
The panel will ask its delegate about each URL it is displaying; check the file's extention or UTI, and return NO
from that method for PDFs.
Alternatively, just come up with the exhaustive list of file types that you do support and use that for the allowedFileTypes
array.