I will list some options and limitations and will leave the decision on how to proceed to you:
- Create an HTML page with the report data and use directly the ClientExportManager
to export it to PDF. Not sure if this would work for you, as the page should be rendered in the browser.
- Create HTML or other flow format
, RTF) with the report data, import it with RadWordsProcessing to produce an instance of RadFlowDocument, and then export to PDF using the PdfFormatProvider. Note that each conversion has some limitations, as all of the formats are extremely complex and we support only a subset of them. Here you can decide to skip the importing and create the RadFlowDocument from scratch, using the rich document model
or the RadFlowDocumentEditor
helper class (or a combination of both).
- You can use directly RadPdfProcessing to generate the PDF document from scratch. As building a document with text can be inconvenient with the fixed model
(e.g. you have to split the text to lines by yourself) you can use the RadFixedDocumentEditor
utility class, which provides a convenient way to generate fixed content in a flow-like manner.
Also, note that currently charts are not supported from RadWordsProcessing document model, so the import operations will skip them from any of the available flow formats.