Skip to Content
0
Former Member
Jun 17, 2014 at 07:05 PM

Setting PDF format to Publication defaulted to TEXT

21 Views

The following code snippet failed setting PDF format to the publication. Everyone I set it, it defaults to TEXT.

IProcessingPublicationInfo processingPublicationInfo = (IProcessingPublicationInfo)newPublication.getDocumentProcessingInfoObject(documentID);

IFormatInfo pdfFormatInfo = processingPublicationInfo.getFormatInfos().add();

pdfFormatInfo.setFormat(CeKind.FullClient, IReportFormatOptions.CeReportFormat.PDF); // Always default to TEXT when viewing in InfoView as well as when the report runs. It works nicely with EXCEL. Is this a bug in BO 3.1