[{"data":1,"prerenderedAt":473},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-editor-ofd-plugin":3},{"id":4,"title":5,"body":6,"description":12,"extension":461,"keywords":462,"locale":465,"meta":466,"navigation":139,"order":467,"path":468,"section":469,"seo":470,"stem":471,"__hash__":472},"docs\u002Fplugins\u002Freference\u002Fcreate-classic-editor-ofd-plugin.en.md","createClassicEditorOfdPlugin",{"type":7,"value":8,"toc":440},"minimark",[9,13,24,29,35,80,89,93,99,102,105,167,175,179,182,185,189,192,197,200,206,212,216,219,223,228,232,239,243,248,252,255,260,265,269,272,277,281,284,287,292,296,300,303,308,312,316,322,327,331,335,338,343,348,351,354,359,363,367,370,375,379,383,386,391,395,399,402,406,418,436],[10,11,12],"p",{},"Registers native OFD export from shared fixed-layout content, with explicit font\u002Fresource policy.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-ofd"," · ",[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 { createClassicEditorOfdPlugin } from '@quirekit\u002Fclassic-ofd'\n\nconst ofd = createClassicEditorOfdPlugin({ fileName: 'report.ofd' })\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"," { createClassicEditorOfdPlugin } ",[115,128,129],{"class":121},"from",[115,131,133],{"class":132},"s-HEn"," '@quirekit\u002Fclassic-ofd'\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],{"class":117,"line":143},3,[115,145,146],{"class":121},"const",[115,148,150],{"class":149},"sUNQB"," ofd",[115,152,153],{"class":121}," =",[115,155,157],{"class":156},"sgQzM"," createClassicEditorOfdPlugin",[115,159,160],{"class":125},"({ fileName: ",[115,162,163],{"class":132},"'report.ofd'",[115,165,166],{"class":125}," })\n",[10,168,169,170,174],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,171,173],{"href":172},"\u002Fen\u002Fsupport","support and licensing",".",[25,176,178],{"id":177},"integration-by-editor","Integration by editor",[10,180,181],{},"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.",[183,184],"plugin-integration",{"name":5},[25,186,188],{"id":187},"configuration","Configuration",[10,190,191],{},"Pass these fields to the factory options. Required ports come from the host. undefined means no explicit option; documented factory fallbacks apply.",[193,194,196],"h3",{"id":195},"pluginid","pluginId",[10,198,199],{},"Plugin id used when more than one product assembly is present.",[10,201,202,203],{},"Type：",[16,204,205],{},"string",[10,207,208,209],{},"Default：",[16,210,211],{},"\"classic.ofd\"",[193,213,215],{"id":214},"serviceid","serviceId",[10,217,218],{},"Registered document-service id.",[10,220,202,221],{},[16,222,205],{},[10,224,208,225],{},[16,226,227],{},"\"ofd\"",[193,229,231],{"id":230},"filename","fileName",[10,233,234,235,238],{},"Suggested export file name including the ",[16,236,237],{},".ofd"," extension.",[10,240,202,241],{},[16,242,205],{},[10,244,208,245],{},[16,246,247],{},"\"document.ofd\"",[193,249,251],{"id":250},"pagegeometry","pageGeometry",[10,253,254],{},"Explicit page geometry; document Word section geometry wins when omitted.",[10,256,202,257],{},[16,258,259],{},"QuirePageGeometry",[10,261,208,262],{},[16,263,264],{},"undefined",[193,266,268],{"id":267},"textmeasurer","textMeasurer",[10,270,271],{},"Text measurer used by targetless full-document layout.",[10,273,202,274],{},[16,275,276],{},"QuireTextMeasurer",[10,278,208,279],{},[16,280,264],{},[193,282,283],{"id":283},"fonts",[10,285,286],{},"Explicit embeddable OFD font faces.",[10,288,202,289],{},[16,290,291],{},"readonly QuireOfdFontSource[]",[10,293,208,294],{},[16,295,264],{},[193,297,299],{"id":298},"fontembedding","fontEmbedding",[10,301,302],{},"Complete-face or Unicode-subset embedding policy.",[10,304,202,305],{},[16,306,307],{},"\"full\" | \"subset\"",[10,309,208,310],{},[16,311,264],{},[193,313,315],{"id":314},"loadfonts","loadFonts",[10,317,318,319,321],{},"Lazy font loader that overrides ",[16,320,283],{}," when supplied.",[10,323,202,324],{},[16,325,326],{},"(context: ClassicEditorServiceContext): readonly QuireOfdFontSource[] | Promise\u003Creadonly QuireOfdFontSource[]>",[10,328,208,329],{},[16,330,264],{},[193,332,334],{"id":333},"resolveimage","resolveImage",[10,336,337],{},"Host-owned image resolver.",[10,339,202,340],{},[16,341,342],{},"(command: QuireImageCommand): Promise\u003CQuireOfdResolvedImage | undefined> | QuireOfdResolvedImage | undefined",[10,344,208,345],{},[16,346,347],{},"createClassicEditorOfdImageResolver( context.instance.media.resolver )",[193,349,350],{"id":350},"metadata",[10,352,353],{},"Optional OFD document information.",[10,355,202,356],{},[16,357,358],{},"QuireOfdMetadata",[10,360,208,361],{},[16,362,264],{},[193,364,366],{"id":365},"fallbackmode","fallbackMode",[10,368,369],{},"Loss policy passed to the native OFD backend.",[10,371,202,372],{},[16,373,374],{},"\"diagnostic\" | \"strict\"",[10,376,208,377],{},[16,378,264],{},[193,380,382],{"id":381},"onreport","onReport",[10,384,385],{},"Optional structured report callback invoked after export completes.",[10,387,202,388],{},[16,389,390],{},"(detail: ClassicEditorOfdExportReportDetail): void",[10,392,208,393],{},[16,394,264],{},[25,396,398],{"id":397},"commands-and-runtime","Commands and runtime",[10,400,401],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,403,405],{"id":404},"next-steps","Next steps",[10,407,408,409,413,414,417],{},"Return to ",[84,410,412],{"href":411},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,415,187],{"href":416},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,419,420,421,425,426,430,431,435],{},"Continue with ",[84,422,424],{"href":423},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,427,429],{"href":428},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,432,434],{"href":433},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[437,438,439],"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":441},[442,443,444,445,459,460],{"id":27,"depth":136,"text":28},{"id":91,"depth":136,"text":92},{"id":177,"depth":136,"text":178},{"id":187,"depth":136,"text":188,"children":446},[447,448,449,450,451,452,453,454,455,456,457,458],{"id":195,"depth":143,"text":196},{"id":214,"depth":143,"text":215},{"id":230,"depth":143,"text":231},{"id":250,"depth":143,"text":251},{"id":267,"depth":143,"text":268},{"id":283,"depth":143,"text":283},{"id":298,"depth":143,"text":299},{"id":314,"depth":143,"text":315},{"id":333,"depth":143,"text":334},{"id":350,"depth":143,"text":350},{"id":365,"depth":143,"text":366},{"id":381,"depth":143,"text":382},{"id":397,"depth":136,"text":398},{"id":404,"depth":136,"text":405},"md",[5,18,463,464,196,215,231,251,268,283,299,315,334,350,366,382,5],"OFD 导出","products","en",{"navigationTitle":5,"license":23},83,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-editor-ofd-plugin","Product presets and services",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-classic-editor-ofd-plugin.en","O8tGLeg4F_hxfsVsgx1zzq1ghSei_I0Queh_OcxuB7E",1793045235669]