[{"data":1,"prerenderedAt":507},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fword-table":3},{"id":4,"title":5,"body":6,"description":12,"extension":494,"keywords":495,"locale":498,"meta":499,"navigation":500,"order":501,"path":502,"section":503,"seo":504,"stem":505,"__hash__":506},"docs\u002Fplugins\u002Freference\u002Fword-table.en.md","WordTable",{"type":7,"value":8,"toc":484},"minimark",[9,13,24,29,35,89,97,101,117,124,148,156,160,163,166,170,173,177,180,422,430,437,441,451,455,467,480],[10,11,12],"p",{},"Defines Word tables and their commands. Rows, cells, layout and interaction must be assembled together.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-table-model"," · ",[21,22,23],"strong",{},"AGPL-3.0-only",[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],{},"Requires integration",[60,83,84,88],{},[69,85,87],{"href":86},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-table-extensions","createBlockTableExtensions"," — Use createBlockTableExtensions for table nodes and the table-only profile. Mount BlockTableMenu from @quirekit\u002Fblock-table\u002Fvue in BlockEditor’s tools slot for table controls. Pagination, sections and headers\u002Ffooters are not included.",[10,90,91,92,96],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,93,95],{"href":94},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,98,100],{"id":99},"installation","Installation",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fclassic-table-model@alpha\n","sh","",[16,109,110],{"__ignoreMap":107},[111,112,115],"span",{"class":113,"line":114},"line",1,[111,116,105],{},[10,118,119,120,123],{},"Start a Word product with the ",[69,121,122],{"href":71},"Word preset",". This export supports independent Core or custom presets; assemble companion nodes, commands and layout, without duplicate names.",[102,125,129],{"className":126,"code":127,"language":128,"meta":107,"style":107},"language-ts shiki shiki-themes github-light github-light github-dark","import { WordTable } from '@quirekit\u002Fclassic-table-model'\n","ts",[16,130,131],{"__ignoreMap":107},[111,132,133,137,141,144],{"class":113,"line":114},[111,134,136],{"class":135},"sDD9d","import",[111,138,140],{"class":139},"sVPnS"," { WordTable } ",[111,142,143],{"class":135},"from",[111,145,147],{"class":146},"s-HEn"," '@quirekit\u002Fclassic-table-model'\n",[10,149,150,151,155],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,152,154],{"href":153},"\u002Fen\u002Fsupport","support and licensing",".",[25,157,159],{"id":158},"integration-by-editor","Integration by editor",[10,161,162],{},"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.",[164,165],"plugin-integration",{"name":5},[25,167,169],{"id":168},"configuration","Configuration",[10,171,172],{},"This entry has no independent configuration fields. Set document attributes through domain commands; presets may install other configurable children.",[25,174,176],{"id":175},"commands-and-runtime","Commands and runtime",[10,178,179],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,181,182,192],{},[39,183,184],{},[42,185,186,189],{},[45,187,188],{},"Command",[45,190,191],{},"Parameter signature",[55,193,194,206,218,230,242,254,266,278,290,302,314,326,338,350,362,374,386,398,410],{},[42,195,196,201],{},[60,197,198],{},[16,199,200],{},"addWordTableRow",[60,202,203],{},[16,204,205],{},"addWordTableRow(options: AddWordTableRowCommandOptions)",[42,207,208,213],{},[60,209,210],{},[16,211,212],{},"addWordTableRows",[60,214,215],{},[16,216,217],{},"addWordTableRows(options: AddWordTableRowsCommandOptions)",[42,219,220,225],{},[60,221,222],{},[16,223,224],{},"addWordTableColumns",[60,226,227],{},[16,228,229],{},"addWordTableColumns(options: AddWordTableColumnsCommandOptions)",[42,231,232,237],{},[60,233,234],{},[16,235,236],{},"deleteWordTableRows",[60,238,239],{},[16,240,241],{},"deleteWordTableRows(options?: SelectionBackedCommandOptions\u003CDeleteWordTableRowsCommandOptions, \"from\" | \"to\"> | undefined)",[42,243,244,249],{},[60,245,246],{},[16,247,248],{},"addWordTableColumn",[60,250,251],{},[16,252,253],{},"addWordTableColumn(options: AddWordTableColumnCommandOptions)",[42,255,256,261],{},[60,257,258],{},[16,259,260],{},"deleteWordTableColumns",[60,262,263],{},[16,264,265],{},"deleteWordTableColumns(options?: SelectionBackedCommandOptions\u003CDeleteWordTableColumnsCommandOptions, \"from\" | \"to\"> | undefined)",[42,267,268,273],{},[60,269,270],{},[16,271,272],{},"mergeWordTableCells",[60,274,275],{},[16,276,277],{},"mergeWordTableCells(options?: SelectionBackedCommandOptions\u003CMergeWordTableCellsCommandOptions, TableRectCoordinate> | undefined)",[42,279,280,285],{},[60,281,282],{},[16,283,284],{},"splitWordTableCell",[60,286,287],{},[16,288,289],{},"splitWordTableCell(options?: SelectionBackedCommandOptions\u003CSplitWordTableCellCommandOptions, \"rowIndex\" | \"columnIndex\"> | undefined)",[42,291,292,297],{},[60,293,294],{},[16,295,296],{},"setWordTableAttrs",[60,298,299],{},[16,300,301],{},"setWordTableAttrs(options: SetWordTableAttrsCommandOptions)",[42,303,304,309],{},[60,305,306],{},[16,307,308],{},"setWordTableColumnWidth",[60,310,311],{},[16,312,313],{},"setWordTableColumnWidth(options: SetWordTableColumnWidthCommandOptions)",[42,315,316,321],{},[60,317,318],{},[16,319,320],{},"setWordTableRowHeight",[60,322,323],{},[16,324,325],{},"setWordTableRowHeight(options: SetWordTableRowHeightCommandOptions)",[42,327,328,333],{},[60,329,330],{},[16,331,332],{},"distributeWordTableColumns",[60,334,335],{},[16,336,337],{},"distributeWordTableColumns(options?: SelectionBackedCommandOptions\u003CDistributeWordTableColumnsCommandOptions, \"from\" | \"to\"> | undefined)",[42,339,340,345],{},[60,341,342],{},[16,343,344],{},"distributeWordTableRows",[60,346,347],{},[16,348,349],{},"distributeWordTableRows(options?: SelectionBackedCommandOptions\u003CDistributeWordTableRowsCommandOptions, \"from\" | \"to\"> | undefined)",[42,351,352,357],{},[60,353,354],{},[16,355,356],{},"setWordTableCellMargin",[60,358,359],{},[16,360,361],{},"setWordTableCellMargin(options: SelectionBackedCommandOptions\u003CSetWordTableCellMarginCommandOptions, TableRectCoordinate>)",[42,363,364,369],{},[60,365,366],{},[16,367,368],{},"setWordTableCellAttrs",[60,370,371],{},[16,372,373],{},"setWordTableCellAttrs(options: SelectionBackedCommandOptions\u003CSetWordTableCellAttrsCommandOptions, TableRectCoordinate>)",[42,375,376,381],{},[60,377,378],{},[16,379,380],{},"setWordTableRowAttrs",[60,382,383],{},[16,384,385],{},"setWordTableRowAttrs(options: SetWordTableRowAttrsCommandOptions)",[42,387,388,393],{},[60,389,390],{},[16,391,392],{},"setWordTableCellBorders",[60,394,395],{},[16,396,397],{},"setWordTableCellBorders(options: SelectionBackedCommandOptions\u003CSetWordTableCellBordersCommandOptions, TableRectCoordinate>)",[42,399,400,405],{},[60,401,402],{},[16,403,404],{},"setWordTableCellBorderFormat",[60,406,407],{},[16,408,409],{},"setWordTableCellBorderFormat(options: SelectionBackedCommandOptions\u003CSetWordTableCellBorderFormatCommandOptions, TableRectCoordinate>)",[42,411,412,417],{},[60,413,414],{},[16,415,416],{},"clearWordTableCellFormatting",[60,418,419],{},[16,420,421],{},"clearWordTableCellFormatting(options?: SelectionBackedCommandOptions\u003CClearWordTableCellFormattingCommandOptions, TableRectCoordinate> | undefined)",[10,423,424,425,429],{},"These are parameter signatures. See ",[69,426,428],{"href":427},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[10,431,432,433,436],{},"For DOCX import\u002Fexport and tracked changes, use the same-named extension from the commercial ",[16,434,435],{},"@quirekit\u002Fclassic-table"," package; it includes everything in this one.",[25,438,440],{"id":439},"other-public-exports","Other public exports",[442,443,444],"ul",{},[445,446,447,19,449],"li",{},[16,448,5],{},[16,450,435],{},[25,452,454],{"id":453},"next-steps","Next steps",[10,456,457,458,462,463,466],{},"Return to ",[69,459,461],{"href":460},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,464,168],{"href":465},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,468,469,470,474,475,479],{},"See ",[69,471,473],{"href":472},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,476,478],{"href":477},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[481,482,483],"style",{},"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);}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}",{"title":107,"searchDepth":485,"depth":485,"links":486},2,[487,488,489,490,491,492,493],{"id":27,"depth":485,"text":28},{"id":99,"depth":485,"text":100},{"id":158,"depth":485,"text":159},{"id":168,"depth":485,"text":169},{"id":175,"depth":485,"text":176},{"id":439,"depth":485,"text":440},{"id":453,"depth":485,"text":454},"md",[5,18,496,497,200,212,224,236,248,260,272,284,296,308,320,332,344,356,368,380,392,404,416,5,5],"表格","word","en",{"navigationTitle":5,"license":23},true,188,"\u002Fen\u002Fplugins\u002Freference\u002Fword-table","Word document extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fword-table.en","pj4OEXOVTgGJF_YFbQ-oyxhwVhZBd5Ha5kDFb4hxygQ",1793045232187]