Export option structure changes¶
What is new - 26.0¶
In all versions prior to version 26 the export options for PDF, CSV, Image, Excel, RTF, HTML needed to be passed to the OCX via pointer to a struct with the options. In version 26 the OCX now contains setter and getter functions for each of the struct members. This means that changing the userpassword for a PDF cannot be done anymore by changing the whole structure and then pass this to the OCX but can be done by only changing the password itself.
At report integration level the following structs are marked as obsolete but kept alive for backwards compatibility and the members of the struct are then passed to the OCX via individual COM methods.
Structs¶
- drCSVExportOptions
- drHTMLExportOptions
- drImageExportOptions
- drPDFExportOptions
- drRTFExportOptions
- drXLSExportOptions
Methods¶
- DefaultCSVExportOptons
- DefaultHTMLExportOptions
- DefaultImageExportOptions
- DefaultPDFExportOptions
- DefaultRTFExportOptions
- DefaultXLSExportOptions
Properties¶
- pCSVExportOptions
- pHTMLExportOptions
- pImageExportOptions
- pPDFExportOptions
- pRTFExportOptions
- pXLSExportOptions
Notes¶
- When in the future new export options are being developed the structs and the defaultXXX functions are not extended or maintained. One can change the code to directly set or get the export options.
- The OnSetPDFExportOptions event has been removed