Flatten all fields of the form. As a result of flattening, all widgets become a part of content of their pages and fields are removed.
This method cannot be applied for dymanic forms.
Returns S_OK if operation was successful or error code in other cases.
See also IPXC_AcroForm.