exportPdfBytes function
page of document as a vector PDF with fontBytes' font embedded,
the separators omitted, the coloured tables filled under the drawing at
tableColorOpacity (plan colours spec PC-7): what Export → PDF writes
and what Print hands to the printer (spec 13 D8, D9).
Implementation
Future<Uint8List> exportPdfBytes(DraftDocument document, PageComponent page,
{required Uint8List fontBytes,
double tableColorOpacity = kTableColorOpacity}) =>
exportPagePdf(
document: document,
page: page,
fontBytes: fontBytes,
omitOwners: exportOmitOwners(document),
underlay: tableColorUnderlay(document, tableColorOpacity));