diff --git a/src/lib/export/pdf.ts b/src/lib/export/pdf.ts index bcaece3..80b2361 100644 --- a/src/lib/export/pdf.ts +++ b/src/lib/export/pdf.ts @@ -8,6 +8,7 @@ import { DEFAULT_MARGINS, type PageMargins } from '../storage/pageMargins'; import { hfIsEmpty, type HfDoc } from '../storage/headerFooter'; import { extensions } from '../editor/extensions'; import { columnPercents } from '../editor/tableView'; +import { orderedTypeDef } from '../editor/orderedListTypes'; import { deriveFilename } from './odt'; import globalCss from '../../styles/global.css?inline'; import editorCss from '../../styles/editor.css?inline'; @@ -120,6 +121,74 @@ function collectRuns(root: HTMLElement): Run[] { return runs; } +const BULLET_CHARS = ['•', '◦', '▪']; //