How do I disable compressed PDF support (for xrefs and objstreams) ?

Q: I am wondering if there is a way to save the PDF file so that it is
not compressed. I am editing some shading objects and I want to see
the new objects themselves as well as the function objects that I am
building.
On the resultant PDF some things look weird to me. Namely I do not
see an XREF table anywhere. And even though the resources dictionary
has the entry "Shading 102 0 R", when I search (the file is open in
notepad) for the object 102, it is no where to be found. My save
code is "doc.Save(OutputFilePath, SDFDoc.SaveOptions.e_remove_unused)"
-----------------

A: You can save PDF without compressed objects and xrefs using
'SDFDoc.SaveOptions.e_compatibility'.

For example:
doc.Save("my.pdf", SDFDoc.SaveOptions.e_remove_unused +
SDFDoc.SaveOptions.e_compatibility)