[{"data":1,"prerenderedAt":705},["ShallowReactive",2],{"navigation_docs_zh":3,"-zh-getting-started-ai-integration":237,"-zh-getting-started-ai-integration-surround":700},[4,23,61,91,163],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"快速开始","i-lucide-rocket","\u002Fzh\u002Fgetting-started","zh\u002F01.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"简介","\u002Fzh\u002Fgetting-started\u002Fintroduction","zh\u002F01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"安装","\u002Fzh\u002Fgetting-started\u002Finstallation","zh\u002F01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"AI 集成","\u002Fzh\u002Fgetting-started\u002Fai-integration","zh\u002F01.getting-started\u002F03.ai-integration",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"CORE","i-lucide-box","\u002Fzh\u002Fcore","zh\u002F02.core",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"@office-open\u002Fcore","\u002Fzh\u002Fcore\u002Foverview","zh\u002F02.core\u002F01.overview",{"title":34,"path":35,"stem":36},"XML 组件","\u002Fzh\u002Fcore\u002Fxml-components","zh\u002F02.core\u002F02.xml-components",{"title":38,"path":39,"stem":40},"值与验证","\u002Fzh\u002Fcore\u002Fvalues","zh\u002F02.core\u002F03.values",{"title":42,"path":43,"stem":44},"单位转换器","\u002Fzh\u002Fcore\u002Fconverters","zh\u002F02.core\u002F04.converters",{"title":46,"path":47,"stem":48},"Formatter","\u002Fzh\u002Fcore\u002Fformatter","zh\u002F02.core\u002F05.formatter",{"title":50,"path":51,"stem":52},"Parser","\u002Fzh\u002Fcore\u002Fparser","zh\u002F02.core\u002F06.parser",{"title":54,"path":55,"stem":56},"Archive","\u002Fzh\u002Fcore\u002Farchive","zh\u002F02.core\u002F07.archive",{"title":58,"path":59,"stem":60},"Charts","\u002Fzh\u002Fcore\u002Fcharts","zh\u002F02.core\u002F08.charts",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"XML","i-lucide-code-xml","\u002Fzh\u002Fxml","zh\u002F03.xml",[67,71,75,79,83,87],{"title":68,"path":69,"stem":70},"@office-open\u002Fxml","\u002Fzh\u002Fxml\u002Foverview","zh\u002F03.xml\u002F01.overview",{"title":72,"path":73,"stem":74},"解析","\u002Fzh\u002Fxml\u002Fparsing","zh\u002F03.xml\u002F02.parsing",{"title":76,"path":77,"stem":78},"序列化","\u002Fzh\u002Fxml\u002Fserialization","zh\u002F03.xml\u002F03.serialization",{"title":80,"path":81,"stem":82},"查询工具","\u002Fzh\u002Fxml\u002Fquery-utilities","zh\u002F03.xml\u002F04.query-utilities",{"title":84,"path":85,"stem":86},"XML 转义","\u002Fzh\u002Fxml\u002Fescape","zh\u002F03.xml\u002F05.escape",{"title":88,"path":89,"stem":90},"类型参考","\u002Fzh\u002Fxml\u002Ftypes","zh\u002F03.xml\u002F06.types",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":22},"DOCX","i-lucide-file-text","\u002Fzh\u002Fdocx","zh\u002F04.docx",[97,101,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160],{"title":98,"path":99,"stem":100},"@office-open\u002Fdocx","\u002Fzh\u002Fdocx\u002Foverview","zh\u002F04.docx\u002F01.overview",{"title":5,"path":102,"stem":103},"\u002Fzh\u002Fdocx\u002Fquickstart","zh\u002F04.docx\u002F02.quickstart",{"title":105,"path":106,"stem":107},"文本与段落","\u002Fzh\u002Fdocx\u002Ftext-and-paragraphs","zh\u002F04.docx\u002F03.text-and-paragraphs",{"title":109,"path":110,"stem":111},"表格","\u002Fzh\u002Fdocx\u002Ftables","zh\u002F04.docx\u002F04.tables",{"title":113,"path":114,"stem":115},"图片","\u002Fzh\u002Fdocx\u002Fimages","zh\u002F04.docx\u002F05.images",{"title":117,"path":118,"stem":119},"图表","\u002Fzh\u002Fdocx\u002Fcharts","zh\u002F04.docx\u002F06.charts",{"title":121,"path":122,"stem":123},"SmartArt","\u002Fzh\u002Fdocx\u002Fsmartart","zh\u002F04.docx\u002F07.smartart",{"title":125,"path":126,"stem":127},"媒体","\u002Fzh\u002Fdocx\u002Fmedia","zh\u002F04.docx\u002F08.media",{"title":129,"path":130,"stem":131},"链接","\u002Fzh\u002Fdocx\u002Flinks","zh\u002F04.docx\u002F09.links",{"title":133,"path":134,"stem":135},"页眉与页脚","\u002Fzh\u002Fdocx\u002Fheaders-and-footers","zh\u002F04.docx\u002F10.headers-and-footers",{"title":137,"path":138,"stem":139},"公式与符号","\u002Fzh\u002Fdocx\u002Fequations-and-symbols","zh\u002F04.docx\u002F11.equations-and-symbols",{"title":141,"path":142,"stem":143},"样式与主题","\u002Fzh\u002Fdocx\u002Fstyles-and-themes","zh\u002F04.docx\u002F12.styles-and-themes",{"title":145,"path":146,"stem":147},"页面布局","\u002Fzh\u002Fdocx\u002Fpage-layout","zh\u002F04.docx\u002F13.page-layout",{"title":149,"path":150,"stem":151},"引用","\u002Fzh\u002Fdocx\u002Freferences","zh\u002F04.docx\u002F14.references",{"title":153,"path":154,"stem":155},"批注与修订","\u002Fzh\u002Fdocx\u002Fcomments-and-revisions","zh\u002F04.docx\u002F15.comments-and-revisions",{"title":157,"path":158,"stem":159},"导出","\u002Fzh\u002Fdocx\u002Fexport","zh\u002F04.docx\u002F16.export",{"title":72,"path":161,"stem":162},"\u002Fzh\u002Fdocx\u002Fparsing","zh\u002F04.docx\u002F17.parsing",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":22},"PPTX","i-lucide-presentation","\u002Fzh\u002Fpptx","zh\u002F05.pptx",[169,173,176,180,183,186,189,192,195,198,201,204,208,211,215,219,223,227,230,233],{"title":170,"path":171,"stem":172},"@office-open\u002Fpptx","\u002Fzh\u002Fpptx\u002Foverview","zh\u002F05.pptx\u002F01.overview",{"title":5,"path":174,"stem":175},"\u002Fzh\u002Fpptx\u002Fquickstart","zh\u002F05.pptx\u002F02.quickstart",{"title":177,"path":178,"stem":179},"形状与文本","\u002Fzh\u002Fpptx\u002Fshapes-and-text","zh\u002F05.pptx\u002F03.shapes-and-text",{"title":109,"path":181,"stem":182},"\u002Fzh\u002Fpptx\u002Ftables","zh\u002F05.pptx\u002F04.tables",{"title":113,"path":184,"stem":185},"\u002Fzh\u002Fpptx\u002Fimages","zh\u002F05.pptx\u002F05.images",{"title":117,"path":187,"stem":188},"\u002Fzh\u002Fpptx\u002Fcharts","zh\u002F05.pptx\u002F06.charts",{"title":121,"path":190,"stem":191},"\u002Fzh\u002Fpptx\u002Fsmartart","zh\u002F05.pptx\u002F07.smartart",{"title":125,"path":193,"stem":194},"\u002Fzh\u002Fpptx\u002Fmedia","zh\u002F05.pptx\u002F08.media",{"title":129,"path":196,"stem":197},"\u002Fzh\u002Fpptx\u002Flinks","zh\u002F05.pptx\u002F09.links",{"title":133,"path":199,"stem":200},"\u002Fzh\u002Fpptx\u002Fheaders-and-footers","zh\u002F05.pptx\u002F10.headers-and-footers",{"title":137,"path":202,"stem":203},"\u002Fzh\u002Fpptx\u002Fequations-and-symbols","zh\u002F05.pptx\u002F11.equations-and-symbols",{"title":205,"path":206,"stem":207},"线条与连接符","\u002Fzh\u002Fpptx\u002Flines-and-connectors","zh\u002F05.pptx\u002F12.lines-and-connectors",{"title":141,"path":209,"stem":210},"\u002Fzh\u002Fpptx\u002Fstyles-and-themes","zh\u002F05.pptx\u002F13.styles-and-themes",{"title":212,"path":213,"stem":214},"效果与填充","\u002Fzh\u002Fpptx\u002Feffects-and-fills","zh\u002F05.pptx\u002F14.effects-and-fills",{"title":216,"path":217,"stem":218},"幻灯片布局","\u002Fzh\u002Fpptx\u002Fslide-layout","zh\u002F05.pptx\u002F15.slide-layout",{"title":220,"path":221,"stem":222},"切换效果","\u002Fzh\u002Fpptx\u002Ftransitions","zh\u002F05.pptx\u002F16.transitions",{"title":224,"path":225,"stem":226},"动画效果","\u002Fzh\u002Fpptx\u002Fanimations","zh\u002F05.pptx\u002F17.animations",{"title":157,"path":228,"stem":229},"\u002Fzh\u002Fpptx\u002Fexport","zh\u002F05.pptx\u002F18.export",{"title":72,"path":231,"stem":232},"\u002Fzh\u002Fpptx\u002Fparsing","zh\u002F05.pptx\u002F19.parsing",{"title":234,"path":235,"stem":236},"批注","\u002Fzh\u002Fpptx\u002Fcomments","zh\u002F05.pptx\u002F20.comments",{"id":238,"title":19,"body":239,"description":694,"extension":695,"links":696,"meta":697,"navigation":621,"path":20,"seo":698,"stem":21,"__hash__":699},"docs_zh\u002Fzh\u002F01.getting-started\u002F03.ai-integration.md",{"type":240,"value":241,"toc":678},"minimark",[242,246,250,253,282,286,294,299,302,397,401,411,415,426,430,451,454,468,471,474,534,537,544,552,556,567,585,594,598,605,628,631,674],[243,244,245],"p",{},"Office Open 文档支持多种 AI 集成方式。AI 代理可以搜索文档、安装技能包或直接消费原始 Markdown 参考。",[247,248,249],"h2",{"id":249},"文档助手",[243,251,252],{},"文档站点内置了由 Docus 驱动的 AI 助手，支持通过自然语言查询搜索文档内容。",[254,255,256,264,270,276],"ul",{},[257,258,259,263],"li",{},[260,261,262],"strong",{},"浮动输入框"," — 在任意文档页面提问（支持键盘快捷键）",[257,265,266,269],{},[260,267,268],{},"AI 解释"," — 对当前页面内容生成解释说明",[257,271,272,275],{},[260,273,274],{},"引用来源"," — 回复中包含可导航的文档页面链接",[257,277,278,281],{},[260,279,280],{},"代码示例"," — 生成可复制的代码片段",[247,283,285],{"id":284},"mcp-服务器","MCP 服务器",[243,287,288,289,293],{},"文档站点在 ",[290,291,292],"code",{},"\u002Fmcp"," 路径暴露了 MCP（模型上下文协议）服务器，AI 代理可连接此服务器搜索文档。",[295,296,298],"h3",{"id":297},"在-claude-code-中使用","在 Claude Code 中使用",[243,300,301],{},"将 Office Open 文档 MCP 服务器添加到 Claude Code 配置中：",[303,304,309],"pre",{"className":305,"code":306,"language":307,"meta":308,"style":308},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n    \"mcpServers\": {\n        \"office-open\": {\n            \"url\": \"https:\u002F\u002Fwww.office-open.com\u002Fmcp\"\n        }\n    }\n}\n","json","",[290,310,311,320,339,355,379,385,391],{"__ignoreMap":308},[312,313,316],"span",{"class":314,"line":315},"line",1,[312,317,319],{"class":318},"sMK4o","{\n",[312,321,323,326,330,333,336],{"class":314,"line":322},2,[312,324,325],{"class":318},"    \"",[312,327,329],{"class":328},"spNyl","mcpServers",[312,331,332],{"class":318},"\"",[312,334,335],{"class":318},":",[312,337,338],{"class":318}," {\n",[312,340,342,345,349,351,353],{"class":314,"line":341},3,[312,343,344],{"class":318},"        \"",[312,346,348],{"class":347},"sBMFI","office-open",[312,350,332],{"class":318},[312,352,335],{"class":318},[312,354,338],{"class":318},[312,356,358,361,365,367,369,372,376],{"class":314,"line":357},4,[312,359,360],{"class":318},"            \"",[312,362,364],{"class":363},"sbssI","url",[312,366,332],{"class":318},[312,368,335],{"class":318},[312,370,371],{"class":318}," \"",[312,373,375],{"class":374},"sfazB","https:\u002F\u002Fwww.office-open.com\u002Fmcp",[312,377,378],{"class":318},"\"\n",[312,380,382],{"class":314,"line":381},5,[312,383,384],{"class":318},"        }\n",[312,386,388],{"class":314,"line":387},6,[312,389,390],{"class":318},"    }\n",[312,392,394],{"class":314,"line":393},7,[312,395,396],{"class":318},"}\n",[295,398,400],{"id":399},"在-cursor-其他-mcp-客户端中使用","在 Cursor \u002F 其他 MCP 客户端中使用",[243,402,403,404,406,407,410],{},"在客户端的 MCP 设置中配置远程 MCP 服务器 URL ",[290,405,375],{},"。该服务器提供 ",[290,408,409],{},"search"," 工具用于查询文档内容。",[247,412,414],{"id":413},"agent-skills","Agent Skills",[243,416,417,418,425],{},"Skills 遵循 ",[419,420,424],"a",{"href":421,"rel":422},"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagent-skills-discovery-rfc",[423],"nofollow","Cloudflare Agent Skills Discovery RFC","，为 AI 代理提供关于 Office Open API 的专业知识。",[295,427,429],{"id":428},"安装-skills","安装 Skills",[303,431,435],{"className":432,"code":433,"language":434,"meta":308,"style":308},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add https:\u002F\u002Fwww.office-open.com\n","bash",[290,436,437],{"__ignoreMap":308},[312,438,439,442,445,448],{"class":314,"line":315},[312,440,441],{"class":347},"npx",[312,443,444],{"class":374}," skills",[312,446,447],{"class":374}," add",[312,449,450],{"class":374}," https:\u002F\u002Fwww.office-open.com\n",[243,452,453],{},"此命令会自动发现并安装 Office Open skill，使你的 AI 代理能够访问：",[254,455,456,459,462,465],{},[257,457,458],{},"DOCX 和 PPTX 快速入门指南",[257,460,461],{},"所有包的完整 API 参考",[257,463,464],{},"度量单位转换表",[257,466,467],{},"常见代码模式",[295,469,470],{"id":470},"包含内容",[243,472,473],{},"Skill 按渐进式披露组织：",[475,476,477,490],"table",{},[478,479,480],"thead",{},[481,482,483,487],"tr",{},[484,485,486],"th",{},"资源",[484,488,489],{},"内容",[491,492,493,504,514,524],"tbody",{},[481,494,495,501],{},[496,497,498],"td",{},[290,499,500],{},"SKILL.md",[496,502,503],{},"概览、快速入门、常见模式",[481,505,506,511],{},[496,507,508],{},[290,509,510],{},"references\u002Fdocx-api.md",[496,512,513],{},"DOCX 完整 API（文本、表格、图片、数学、样式）",[481,515,516,521],{},[496,517,518],{},[290,519,520],{},"references\u002Fpptx-api.md",[496,522,523],{},"PPTX 完整 API（形状、效果、动画、填充）",[481,525,526,531],{},[496,527,528],{},[290,529,530],{},"references\u002Funits.md",[496,532,533],{},"度量单位和转换函数",[295,535,536],{"id":536},"手动安装",[243,538,539,540,543],{},"如果你的代理不支持 ",[290,541,542],{},"npx skills add","，可以手动引用 skill 文件：",[303,545,550],{"className":546,"code":548,"language":549},[547],"language-text","https:\u002F\u002Fwww.office-open.com\u002F.well-known\u002Fskills\u002Foffice-open\u002FSKILL.md\n","text",[290,551,548],{"__ignoreMap":308},[247,553,555],{"id":554},"llmstxt","LLMs.txt",[243,557,558,559,562,563,566],{},"文档站点生成 ",[290,560,561],{},"llms.txt"," 和 ",[290,564,565],{},"llms-full.txt"," 文件供 LLM 消费：",[254,568,569,577],{},[257,570,571,576],{},[260,572,573],{},[290,574,575],{},"\u002Fllms.txt"," — 所有文档页面的简洁索引",[257,578,579,584],{},[260,580,581],{},[290,582,583],{},"\u002Fllms-full.txt"," — Markdown 格式的完整文档内容",[243,586,587,588,593],{},"这些文件遵循 ",[419,589,592],{"href":590,"rel":591},"https:\u002F\u002Fllmstxt.org\u002F",[423],"llms.txt 规范","，专为需要批量获取文档内容的 AI 代理设计。",[295,595,597],{"id":596},"在-claudemd-中使用","在 CLAUDE.md 中使用",[243,599,600,601,604],{},"在项目的 ",[290,602,603],{},"CLAUDE.md"," 中添加：",[303,606,610],{"className":607,"code":608,"language":609,"meta":308,"style":308},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","对于 Office Open XML API，参考：\n\n- https:\u002F\u002Fwww.office-open.com\u002Fllms.txt\n","markdown",[290,611,612,617,623],{"__ignoreMap":308},[312,613,614],{"class":314,"line":315},[312,615,616],{},"对于 Office Open XML API，参考：\n",[312,618,619],{"class":314,"line":322},[312,620,622],{"emptyLinePlaceholder":621},true,"\n",[312,624,625],{"class":314,"line":341},[312,626,627],{},"- https:\u002F\u002Fwww.office-open.com\u002Fllms.txt\n",[247,629,630],{"id":630},"总结",[475,632,633,643],{},[478,634,635],{},[481,636,637,640],{},[484,638,639],{},"方式",[484,641,642],{},"适用场景",[491,644,645,652,659,667],{},[481,646,647,649],{},[496,648,249],{},[496,650,651],{},"在文档站点上进行交互式问答",[481,653,654,656],{},[496,655,285],{},[496,657,658],{},"在 AI 编码工具中实时搜索文档",[481,660,661,664],{},[496,662,663],{},"Skills",[496,665,666],{},"为 AI 代理提供持久的 API 知识",[481,668,669,671],{},[496,670,555],{},[496,672,673],{},"批量获取文档内容用于上下文窗口",[675,676,677],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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 .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":308,"searchDepth":322,"depth":322,"links":679},[680,681,685,690,693],{"id":249,"depth":322,"text":249},{"id":284,"depth":322,"text":285,"children":682},[683,684],{"id":297,"depth":341,"text":298},{"id":399,"depth":341,"text":400},{"id":413,"depth":322,"text":414,"children":686},[687,688,689],{"id":428,"depth":341,"text":429},{"id":470,"depth":341,"text":470},{"id":536,"depth":341,"text":536},{"id":554,"depth":322,"text":555,"children":691},[692],{"id":596,"depth":341,"text":597},{"id":630,"depth":322,"text":630},"通过 MCP、Skills 和 LLMs.txt 将 Office Open 与 AI 代理配合使用","md",null,{},{"title":19,"description":694},"11S0jbab_Dc4PwI3nZ-QiyrMyO138mjyqBgU3UHeaAU",[701,703],{"title":15,"path":16,"stem":17,"description":702,"children":-1},"如何安装 office-open 包",{"title":30,"path":31,"stem":32,"description":704,"children":-1},"共享 XML 组件、值验证、格式化和单位转换器",1778862987960]