[{"data":1,"prerenderedAt":494},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-editor-pdf-plugin":3},{"id":4,"title":5,"body":6,"description":12,"extension":482,"keywords":483,"locale":486,"meta":487,"navigation":139,"order":488,"path":489,"section":490,"seo":491,"stem":492,"__hash__":493},"docs\u002Fplugins\u002Freference\u002Fcreate-classic-editor-pdf-plugin.en.md","createClassicEditorPdfPlugin",{"type":7,"value":8,"toc":460},"minimark",[9,13,24,29,35,80,89,93,99,102,105,173,181,185,188,191,195,198,203,206,212,218,222,225,229,234,238,245,249,254,258,261,266,271,275,278,283,287,290,293,298,302,306,312,317,321,325,328,333,337,340,343,348,352,356,359,364,368,372,375,380,384,388,391,396,400,403,406,411,415,419,422,426,438,456],[10,11,12],"p",{},"Registers PDF export and optional printing. Hosts provide fonts, images and semantic contributions and present export reports.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-pdf"," · ",[21,22,23],"strong",{},"Commercial",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Classic product integration",[36,37,38,54],"table",{},[39,40,41],"thead",{},[42,43,44,48,51],"tr",{},[45,46,47],"th",{},"Editor",[45,49,50],{},"Status",[45,52,53],{},"Assembly and boundaries",[55,56,57,69],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68],{},"Install this Classic product plugin in createClassicEditor plugins. Supply its required models, host ports and services as documented below.",[42,70,71,74,77],{},[60,72,73],{},"Block",[60,75,76],{},"Unsupported",[60,78,79],{},"Block does not consume Classic product contributions, plugins or paginated assembly. Use shared capabilities and Block adapters instead of copying this entry's Classic configuration.",[10,81,82,83,88],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[84,85,87],"a",{"href":86},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,90,92],{"id":91},"installation","Installation",[10,94,95,96,98],{},"The current ",[16,97,18],{}," manifest is private. This site uses workspace source; external projects need the relevant distribution package rather than assuming public npm availability.",[10,100,101],{},"This entry is a commercial component. Obtain distribution access and authorization first; installation commands require that distribution source.",[10,103,104],{},"Install the product plugin in createClassicEditor plugins rather than Core extensions. Required host ports are listed below.",[106,107,112],"pre",{"className":108,"code":109,"language":110,"meta":111,"style":111},"language-ts shiki shiki-themes github-light github-light github-dark","import { createClassicEditorPdfPlugin } from '@quirekit\u002Fclassic-pdf'\n\nconst pdf = createClassicEditorPdfPlugin({ fileName: 'report.pdf', print: false })\n","ts","",[16,113,114,134,141],{"__ignoreMap":111},[115,116,119,123,127,130],"span",{"class":117,"line":118},"line",1,[115,120,122],{"class":121},"sDD9d","import",[115,124,126],{"class":125},"sVPnS"," { createClassicEditorPdfPlugin } ",[115,128,129],{"class":121},"from",[115,131,133],{"class":132},"s-HEn"," '@quirekit\u002Fclassic-pdf'\n",[115,135,137],{"class":117,"line":136},2,[115,138,140],{"emptyLinePlaceholder":139},true,"\n",[115,142,144,147,151,154,158,161,164,167,170],{"class":117,"line":143},3,[115,145,146],{"class":121},"const",[115,148,150],{"class":149},"sUNQB"," pdf",[115,152,153],{"class":121}," =",[115,155,157],{"class":156},"sgQzM"," createClassicEditorPdfPlugin",[115,159,160],{"class":125},"({ fileName: ",[115,162,163],{"class":132},"'report.pdf'",[115,165,166],{"class":125},", print: ",[115,168,169],{"class":149},"false",[115,171,172],{"class":125}," })\n",[10,174,175,176,180],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,177,179],{"href":178},"\u002Fen\u002Fsupport","support and licensing",".",[25,182,184],{"id":183},"integration-by-editor","Integration by editor",[10,186,187],{},"These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.",[189,190],"plugin-integration",{"name":5},[25,192,194],{"id":193},"configuration","Configuration",[10,196,197],{},"Pass these fields to the factory options. Required ports come from the host. undefined means no explicit option; documented factory fallbacks apply.",[199,200,202],"h3",{"id":201},"pluginid","pluginId",[10,204,205],{},"Plugin id used when more than one product assembly is present.",[10,207,208,209],{},"Type：",[16,210,211],{},"string | undefined",[10,213,214,215],{},"Default：",[16,216,217],{},"\"classic.pdf\"",[199,219,221],{"id":220},"serviceid","serviceId",[10,223,224],{},"Registered document-service id.",[10,226,208,227],{},[16,228,211],{},[10,230,214,231],{},[16,232,233],{},"\"pdf\"",[199,235,237],{"id":236},"filename","fileName",[10,239,240,241,244],{},"Suggested export file name including the ",[16,242,243],{},".pdf"," extension.",[10,246,208,247],{},[16,248,211],{},[10,250,214,251],{},[16,252,253],{},"\"document.pdf\"",[199,255,257],{"id":256},"pagegeometry","pageGeometry",[10,259,260],{},"Explicit page geometry; document Word section geometry wins when omitted.",[10,262,208,263],{},[16,264,265],{},"QuirePageGeometry | undefined",[10,267,214,268],{},[16,269,270],{},"undefined",[199,272,274],{"id":273},"textmeasurer","textMeasurer",[10,276,277],{},"Text measurer used by targetless full-document layout.",[10,279,208,280],{},[16,281,282],{},"QuireTextMeasurer | undefined",[10,284,214,285],{},[16,286,270],{},[199,288,289],{"id":289},"fonts",[10,291,292],{},"Explicit embeddable PDF font faces.",[10,294,208,295],{},[16,296,297],{},"readonly QuirePdfFontSource[] | undefined",[10,299,214,300],{},[16,301,270],{},[199,303,305],{"id":304},"loadfonts","loadFonts",[10,307,308,309,311],{},"Lazy font loader that overrides ",[16,310,289],{}," when supplied.",[10,313,208,314],{},[16,315,316],{},"ClassicEditorPdfFontLoader | undefined",[10,318,214,319],{},[16,320,270],{},[199,322,324],{"id":323},"resolveimage","resolveImage",[10,326,327],{},"Host-owned image resolver.",[10,329,208,330],{},[16,331,332],{},"QuirePdfImageResolver | undefined",[10,334,214,335],{},[16,336,270],{},[199,338,339],{"id":339},"metadata",[10,341,342],{},"Optional PDF document information.",[10,344,208,345],{},[16,346,347],{},"QuirePdfMetadata | undefined",[10,349,214,350],{},[16,351,270],{},[199,353,355],{"id":354},"fallbackmode","fallbackMode",[10,357,358],{},"Loss policy passed to the native PDF backend.",[10,360,208,361],{},[16,362,363],{},"\"diagnostic\" | \"strict\" | undefined",[10,365,214,366],{},[16,367,270],{},[199,369,371],{"id":370},"semanticcontributors","semanticContributors",[10,373,374],{},"Extension-owned non-paint semantic compilers appended after built-ins.",[10,376,208,377],{},[16,378,379],{},"readonly ClassicEditorPdfSemanticContributor[] | undefined",[10,381,214,382],{},[16,383,270],{},[199,385,387],{"id":386},"onreport","onReport",[10,389,390],{},"Optional structured report callback invoked after export completes.",[10,392,208,393],{},[16,394,395],{},"((detail: ClassicEditorPdfExportReportDetail) => void) | undefined",[10,397,214,398],{},[16,399,270],{},[199,401,402],{"id":402},"print",[10,404,405],{},"Whether to add the Print menu row and take over Ctrl\u002F⌘+P; defaults to true.",[10,407,208,408],{},[16,409,410],{},"false | true | undefined",[10,412,214,413],{},[16,414,270],{},[25,416,418],{"id":417},"commands-and-runtime","Commands and runtime",[10,420,421],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,423,425],{"id":424},"next-steps","Next steps",[10,427,428,429,433,434,437],{},"Return to ",[84,430,432],{"href":431},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,435,193],{"href":436},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,439,440,441,445,446,450,451,455],{},"Continue with ",[84,442,444],{"href":443},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,447,449],{"href":448},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,452,454],{"href":453},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[457,458,459],"style",{},"html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":111,"searchDepth":136,"depth":136,"links":461},[462,463,464,465,480,481],{"id":27,"depth":136,"text":28},{"id":91,"depth":136,"text":92},{"id":183,"depth":136,"text":184},{"id":193,"depth":136,"text":194,"children":466},[467,468,469,470,471,472,473,474,475,476,477,478,479],{"id":201,"depth":143,"text":202},{"id":220,"depth":143,"text":221},{"id":236,"depth":143,"text":237},{"id":256,"depth":143,"text":257},{"id":273,"depth":143,"text":274},{"id":289,"depth":143,"text":289},{"id":304,"depth":143,"text":305},{"id":323,"depth":143,"text":324},{"id":339,"depth":143,"text":339},{"id":354,"depth":143,"text":355},{"id":370,"depth":143,"text":371},{"id":386,"depth":143,"text":387},{"id":402,"depth":143,"text":402},{"id":417,"depth":136,"text":418},{"id":424,"depth":136,"text":425},"md",[5,18,484,485,202,221,237,257,274,289,305,324,339,355,371,387,402,5],"PDF 导出与打印","products","en",{"navigationTitle":5,"license":23},84,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-editor-pdf-plugin","Product presets and services",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-classic-editor-pdf-plugin.en","Cj1P5fXoLVf_jpW3hq2qRGmOV5e4uRPyYZ311TFsWd8",1793045235708]