[{"data":1,"prerenderedAt":346},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fword-permission":3},{"id":4,"title":5,"body":6,"description":12,"extension":333,"keywords":334,"locale":337,"meta":338,"navigation":339,"order":340,"path":341,"section":342,"seo":343,"stem":344,"__hash__":345},"docs\u002Fplugins\u002Freference\u002Fword-permission.en.md","WordPermission",{"type":7,"value":8,"toc":319},"minimark",[9,13,24,29,35,85,93,97,103,106,113,142,150,154,157,160,164,170,175,178,184,190,194,197,201,206,209,212,217,222,226,229,279,287,291,302,315],[10,11,12],"p",{},"Maintains permission ranges and document protection. Host authorization decides whether the current identity may write.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-permission"," · ",[21,22,23],"strong",{},"Commercial",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Shared document capability",[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,74],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-word-preset","createClassicWordPreset"," — Use createClassicWordPreset for Word models, layout and product integration. Controls, flags, host services and file support follow this page. Full comment, revision and content-control authoring UI additionally requires Pro.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Unverified",[60,83,84],{},"A complete integration and verification path for this entry has not been established for this product. A public Core export does not imply product presentation, controls or file support.",[10,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,89,91],{"href":90},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,94,96],{"id":95},"installation","Installation",[10,98,99,100,102],{},"The current ",[16,101,18],{}," manifest is private. This site uses workspace source; external projects need the relevant distribution package rather than assuming public npm availability.",[10,104,105],{},"This entry is a commercial component. Obtain distribution access and authorization first; installation commands require that distribution source.",[10,107,108,109,112],{},"Start a Word product with the ",[69,110,111],{"href":71},"Word preset",". This export supports independent Core or custom presets; assemble companion nodes, commands and layout, without duplicate names.",[114,115,120],"pre",{"className":116,"code":117,"language":118,"meta":119,"style":119},"language-ts shiki shiki-themes github-light github-light github-dark","import { WordPermission } from '@quirekit\u002Fclassic-permission'\n","ts","",[16,121,122],{"__ignoreMap":119},[123,124,127,131,135,138],"span",{"class":125,"line":126},"line",1,[123,128,130],{"class":129},"sDD9d","import",[123,132,134],{"class":133},"sVPnS"," { WordPermission } ",[123,136,137],{"class":129},"from",[123,139,141],{"class":140},"s-HEn"," '@quirekit\u002Fclassic-permission'\n",[10,143,144,145,149],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,146,148],{"href":147},"\u002Fen\u002Fsupport","support and licensing",".",[25,151,153],{"id":152},"integration-by-editor","Integration by editor",[10,155,156],{},"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.",[158,159],"plugin-integration",{"name":5},[25,161,163],{"id":162},"configuration","Configuration",[10,165,166,167,149],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,168,162],{"href":169},"\u002Fen\u002Fplugins\u002Fconfiguration",[171,172,174],"h3",{"id":173},"starttypename","startTypeName",[10,176,177],{},"Canonical permission start node name.",[10,179,180,181],{},"Type：",[16,182,183],{},"string",[10,185,186,187],{},"Default：",[16,188,189],{},"WordPermissionStart.name",[171,191,193],{"id":192},"endtypename","endTypeName",[10,195,196],{},"Canonical permission end node name.",[10,198,180,199],{},[16,200,183],{},[10,202,186,203],{},[16,204,205],{},"WordPermissionEnd.name",[171,207,208],{"id":208},"authorize",[10,210,211],{},"Host authorization policy for a complete range.",[10,213,180,214],{},[16,215,216],{},"(range: WordPermissionRange): boolean",[10,218,186,219],{},[16,220,221],{},"(range) => range.editor === undefined && range.editorGroup === \"everyone\"",[25,223,225],{"id":224},"commands-and-runtime","Commands and runtime",[10,227,228],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,230,231,241],{},[39,232,233],{},[42,234,235,238],{},[45,236,237],{},"Command",[45,239,240],{},"Parameter signature",[55,242,243,255,267],{},[42,244,245,250],{},[60,246,247],{},[16,248,249],{},"setWordDocumentProtection",[60,251,252],{},[16,253,254],{},"setWordDocumentProtection(options: SetWordDocumentProtectionOptions)",[42,256,257,262],{},[60,258,259],{},[16,260,261],{},"addWordPermissionRange",[60,263,264],{},[16,265,266],{},"addWordPermissionRange(options: AddWordPermissionRangeOptions)",[42,268,269,274],{},[60,270,271],{},[16,272,273],{},"removeWordPermissionRange",[60,275,276],{},[16,277,278],{},"removeWordPermissionRange(options: RemoveWordPermissionRangeOptions)",[10,280,281,282,286],{},"These are parameter signatures. See ",[69,283,285],{"href":284},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,288,290],{"id":289},"next-steps","Next steps",[10,292,293,294,298,299,301],{},"Return to ",[69,295,297],{"href":296},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,300,162],{"href":169}," to distinguish options, attributes and commands.",[10,303,304,305,309,310,314],{},"See ",[69,306,308],{"href":307},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,311,313],{"href":312},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[316,317,318],"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 .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":119,"searchDepth":320,"depth":320,"links":321},2,[322,323,324,325,331,332],{"id":27,"depth":320,"text":28},{"id":95,"depth":320,"text":96},{"id":152,"depth":320,"text":153},{"id":162,"depth":320,"text":163,"children":326},[327,329,330],{"id":173,"depth":328,"text":174},3,{"id":192,"depth":328,"text":193},{"id":208,"depth":328,"text":208},{"id":224,"depth":320,"text":225},{"id":289,"depth":320,"text":290},"md",[5,18,335,336,174,193,208,249,261,273,5],"编辑权限与保护","word","en",{"navigationTitle":5,"license":23},true,175,"\u002Fen\u002Fplugins\u002Freference\u002Fword-permission","Word document extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fword-permission.en","GhfWwVdddaIPUdZRduvsiDcxkJ5T7nKOOTFFVyqcc_I",1793045231274]