I've created with PB 2019 R3 Build 2670 a datawindow with external data source that has a column with richtext style. The application additional properties of PDF Export are 'Always use NativePDF! metchod for PDF export' and of RichTextEdit 'Built-in TX Text Control ActiveX 28.0'.
When I run the application in the development enviroment the datawindow sees well (included richtext style field) but when using saveas function in a pdf all columns appear in the pdf except the richtext style column that appears in blank.
¿Any solution or its a bug?
Thank you.
I suppose it’s a bug.
I’ve solved the problem doing a little trick: changing the default printer:
string printer_ini
//f_multi is a function that extracts string separates by tab
printer_ini=f_multi(printgetprinter(),0,1)
// Printer can be any PDF printer installed in the computer
printsetprinter("Microsoft Print to PDF")
dw.saveas(document,PDF!,false)
printsetprinter(printer_ini)
Regard,
Delfí