ProtectedexportersExporter for every format. Subclasses spread ExportManager.localExporters and add the formats they can produce.
ProtectedlocalExporters that need only the local model and the renderer
ProtectedmodelProtectedbuildProtectedbuildRelease every object URL still held and cancel the pending revocations
Export the content and hand the resulting file to the browser.
Format to download; pdf opens the print flow instead of saving a file
Which symbols to export, plus the file name. The PDF settings
(format/orientation/mode/scale) are ignored by every other format.
Export the content in the given format.
Format to export to; the resolved type follows from it
Optionaloptions: TExportOptions
Which symbols to export
Promise resolving with the exported content
ProtectedexportSingle access point to the JIIX export — every recognition-derived format goes through it.
ProtectedexportOptionaloptions: TExportOptionsProtectedexportRasterize the rendered symbols to PNG.
Optionaloptions: TExportOptionsProtectedexportOptionaloptions: TExportOptionsProtectedextractExtract the recognized text of the given symbols in reading order.
Strokes carrying JIIX metadata contribute their block label once, whatever the number of strokes the block spans, and sort by their own bounding box rather than by draw order.
ProtectedgetBuild the download file name. The timestamp is a truncated ISO 8601 instant so the name is
locale-independent and free of / and :, which browsers mangle in file names.
Optionalfilename: stringProtectedresolveResolve which symbols an export covers. An explicit symbols list always wins over scope.
Optionaloptions: TExportOptionsProtectedtriggerProtectedloggerProtectedmanagerStatic ReadonlyOBJECT_Delay before an object URL handed to the browser is revoked. Revoking synchronously after the anchor click cancels the download in some browsers, so the URL outlives the click by a beat.
Export manager for InteractiveInkCanvas.
Adds the recognition-derived formats to the local ones handled by ExportManager:
textfrom the JIIX stroke index, andjiix/markdown/mermaid/plantuml/llmfrom the single JIIX export the server produces.