generate Bundle For Pdf Fragment
fun generateBundleForPdfFragment(sources: List<DocumentSource>, configuration: PdfConfiguration): Bundle
Generates a Bundle for the PdfFragment with the given sources and configuration.
Return
A Bundle containing the sources and configuration.
Parameters
sources
The list of DocumentSources to be displayed in the PDF fragment.
configuration
The PdfConfiguration to be used for the PDF fragment.