[{"data":1,"prerenderedAt":409},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-word-docx-plugin":3},{"id":4,"title":5,"body":6,"description":12,"extension":397,"keywords":398,"locale":401,"meta":402,"navigation":139,"order":403,"path":404,"section":405,"seo":406,"stem":407,"__hash__":408},"docs\u002Fplugins\u002Freference\u002Fcreate-classic-word-docx-plugin.en.md","createClassicWordDocxPlugin",{"type":7,"value":8,"toc":380},"minimark",[9,13,24,29,35,80,89,93,99,102,105,167,175,179,182,185,189,192,196,203,209,215,219,222,227,232,236,239,243,248,252,259,263,268,272,275,279,284,288,294,298,303,307,310,315,320,324,327,331,342,346,358,376],[10,11,12],"p",{},"Registers Word document\u002Ftemplate import and export services and menus in Classic plugins, not Core extensions.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-docx"," · ",[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 { createClassicWordDocxPlugin } from '@quirekit\u002Fclassic-docx'\n\nconst docx = createClassicWordDocxPlugin({ fileName: 'report.docx' })\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"," { createClassicWordDocxPlugin } ",[115,128,129],{"class":121},"from",[115,131,133],{"class":132},"s-HEn"," '@quirekit\u002Fclassic-docx'\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"," docx",[115,152,153],{"class":121}," =",[115,155,157],{"class":156},"sgQzM"," createClassicWordDocxPlugin",[115,159,160],{"class":125},"({ fileName: ",[115,162,163],{"class":132},"'report.docx'",[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,195],"h3",{"id":195},"codec",[10,197,198,199,202],{},"Optional codec override; the workspace ",[16,200,201],{},"lit-docx"," runtime is the default.",[10,204,205,206],{},"Type：",[16,207,208],{},"DocxCodec | undefined",[10,210,211,212],{},"Default：",[16,213,214],{},"createWorkspaceLitDocxCodec()",[193,216,218],{"id":217},"pluginid","pluginId",[10,220,221],{},"Plugin id used when more than one product assembly is present.",[10,223,205,224],{},[16,225,226],{},"string | undefined",[10,228,211,229],{},[16,230,231],{},"\"classic.docx\"",[193,233,235],{"id":234},"serviceid","serviceId",[10,237,238],{},"Registered document-service id.",[10,240,205,241],{},[16,242,226],{},[10,244,211,245],{},[16,246,247],{},"\"docx\"",[193,249,251],{"id":250},"filename","fileName",[10,253,254,255,258],{},"Suggested export file name including the ",[16,256,257],{},".docx"," extension.",[10,260,205,261],{},[16,262,226],{},[10,264,211,265],{},[16,266,267],{},"\"document.docx\"",[193,269,271],{"id":270},"templateserviceid","templateServiceId",[10,273,274],{},"Registered Word template (.dotx) service id.",[10,276,205,277],{},[16,278,226],{},[10,280,211,281],{},[16,282,283],{},"\"dotx\"",[193,285,287],{"id":286},"templatefilename","templateFileName",[10,289,290,291,258],{},"Suggested template export file name including the ",[16,292,293],{},".dotx",[10,295,205,296],{},[16,297,226],{},[10,299,211,300],{},[16,301,302],{},"\"template.dotx\"",[193,304,306],{"id":305},"onreport","onReport",[10,308,309],{},"Optional structured report callback invoked after every completed conversion.",[10,311,205,312],{},[16,313,314],{},"((detail: ClassicWordDocxReportDetail) => void) | undefined",[10,316,211,317],{},[16,318,319],{},"undefined",[25,321,323],{"id":322},"commands-and-runtime","Commands and runtime",[10,325,326],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,328,330],{"id":329},"other-public-exports","Other public exports",[332,333,334],"ul",{},[335,336,337,19,339],"li",{},[16,338,5],{},[16,340,341],{},"@quirekit\u002Fclassic-docx\u002Fdocx",[25,343,345],{"id":344},"next-steps","Next steps",[10,347,348,349,353,354,357],{},"Return to ",[84,350,352],{"href":351},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,355,187],{"href":356},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,359,360,361,365,366,370,371,375],{},"Continue with ",[84,362,364],{"href":363},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,367,369],{"href":368},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,372,374],{"href":373},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[377,378,379],"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":381},[382,383,384,385,394,395,396],{"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":386},[387,388,389,390,391,392,393],{"id":195,"depth":143,"text":195},{"id":217,"depth":143,"text":218},{"id":234,"depth":143,"text":235},{"id":250,"depth":143,"text":251},{"id":270,"depth":143,"text":271},{"id":286,"depth":143,"text":287},{"id":305,"depth":143,"text":306},{"id":322,"depth":136,"text":323},{"id":329,"depth":136,"text":330},{"id":344,"depth":136,"text":345},"md",[5,18,399,400,195,218,235,251,271,287,306,5,5],"DOCX 与 DOTX 文件服务","products","en",{"navigationTitle":5,"license":23},86,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-word-docx-plugin","Product presets and services",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-classic-word-docx-plugin.en","4mv40Y7erpuhmh2eNw36jkbMmxoCS8cjuuH1a43Rxdw",1793045235789]