Full Code of office-sec/OfficeAI for AI

main 580f4a069973 cached
5 files
23.0 KB
6.6k tokens
1 requests
Download .txt
Repository: office-sec/OfficeAI
Branch: main
Commit: 580f4a069973
Files: 5
Total size: 23.0 KB

Directory structure:
gitextract_4qqdwpcq/

├── .gitignore
├── README.md
├── README_en.md
├── README_zh.md
└── test.py

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
/.idea
/.git



================================================
FILE: README.md
================================================
# 🚀 OfficeAI

> OfficeAI is an AI assistant plugin integrated into Microsoft Office and WPS, enabling seamless interaction with large language models for writing, polishing, translation, formatting, and data analysis in Word and Excel.  
> In Word, you can directly chat with AI in the right panel and insert results into documents with one click; in Excel, you only need natural language commands to automatically handle complex functions and chart generation.  
> **Currently offering free usage quota, lightweight setup, install and use immediately, significantly improving office productivity.**

[![Platform](https://img.shields.io/badge/Platform-Windows-blue)](https://office-ai.net) [![Free to Use](https://img.shields.io/badge/Price-Free-green)](https://office-ai.net)

**README Multi-language Version**: [English](/README.md) | [中文](/README_zh.md)

![OfficeAI Banner](screenshot/新增-1/offica-ai%20BANNER.png)
---

## 📚 Table of Contents

- [About OfficeAI](#about-officeai)  
- [Core Features](#core-features)  
  - [Word AI 📝](#word-ai-)  
  - [Excel AI 📊](#excel-ai-)  
- [Supported LLMs](#supported-llms)  
- [Installation](#installation)  
- [Usage Guide](#usage-guide)  
- [Resources](#resources)  
- [Development Roadmap](#development-roadmap)  
- [Contributing](#contributing)  
- [Contact Us](#contact-us)

---

## About OfficeAI

OfficeAI integrates seamlessly as a plugin into Microsoft Office and WPS, supporting intelligent document and spreadsheet processing. **Word AI** provides AI chat, writing, polishing, proofreading, intelligent formatting, and translation features, making document creation more efficient; **Excel AI** offers AI dialogue, formula generation, data analysis, and chart visualization features, making data processing more intelligent. You only need natural language to generate content, analyze data, and more—**no formulas, no templates required**.

---

## Core Features

### Word AI 📝
(Word AI is OfficeAI's highlight feature)

OfficeAI provides a comprehensive set of efficient and common AI features in Word/WPS plugins:

#### 💬 **AI Dialogue & Writing**
- **Natural AI Model Dialogue**: Engage in free multi-turn conversations with AI in Word/WPS. You can have multi-turn dialogues with popular large models. AI's response results can be exported to documents with one click or copied to clipboard
- **AI Writing**: You can customize prompts and save them as "Common Modes", call them with one click in any document to complete automatic continuation, summary extraction, language conversion and other tasks, supporting marketing copy, technical documentation, internal communication and various other types of article creation
- **AI Navigation**: Quickly activate ChatGPT, Claude, Gemini and other popular model dialogue entrances in Word/WPS, **no need to switch windows**, click and use immediately!

  **Dialogue & Writing Interface Demo**
  ![AI Writing Feature Demo](screenshot/新增-1/writing_compressed-1.gif)

#### 🎨 **Intelligent Formatting & Layout**
- **One-click Formatting**: Apply professional formatting with one click. Built-in multiple templates, support custom editing, users can perform efficient one-click formatting tasks, and can adjust effects in real-time through natural language dialogue, automatically generate outline directories. Users can also create custom templates and perform one-click formatting
- **Formatting Template Adjustment**: Support template copying, editing, customization, can set outline levels, Western fonts and other advanced formats

  **Intelligent Formatting & Layout Interface Demo**
  ![Intelligent Formatting Feature Demo](screenshot/新增-1/layout_compressed.gif)

#### ✍️ **Document Optimization & Processing**
- **Proofreading / Polishing**: Select text content (or entire document), Office AI can break through large model context length limitations, supporting long-text proofreading. AI automatically finds and corrects typos, grammar errors, etc.
- **AI Continuation**: Select text content, AI intelligently continues writing articles, results displayed in blue font, can confirm application or undo
- **AI Translation**: Support multi-language translation, built-in translation modes, can also customize translation modes

  **Document Optimization & Processing Interface Demo**
  ![Document Polishing Feature Demo](screenshot/Polish_compressed.gif)

#### 🛠️ **Toolbox Features**
- **AI Meeting Minutes**: Automatically generate professional meeting minutes format based on document content
- **AI Summary & Extraction**: Quickly extract key content from documents, saving reading time
- **Weekly Report Assistant**: Quickly organize weekly report key information into standard format
- **One-click Delete**: Delete extra blank lines, clear formatting, remove hyperlinks, etc.
- **Table Processing**: Insert content before tables, display headers across pages, select entire tables, etc.
- **Image to Text**: Recognize text in images and convert to editable text

More details: [WordAI Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki/3-WordAI-Plugin)

---

## Excel AI 📊

OfficeAI provides a comprehensive set of efficient and common AI features in Excel/WPS plugins:

#### 💬 **AI Dialogue & Data Analysis**
- **Excel Dialogue**: Direct dialogue to generate data analysis
- **Intelligent Command Execution**: No formulas needed, easily handle complex instructions

  **AI Dialogue & Data Analysis Interface Demo**
  ![Excel AI Dialogue Feature Demo](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 📊 **Data Analysis & Visualization**
- **Data Visualization**: Automatically generate various charts and visualization views
- **Enterprise Privacy**: Local operation, ensuring data security
- **Data Cleaning**: One-click cleaning and optimization of table data

  **Data Visualization Feature Demo**
  ![Excel Data Visualization Demo](screenshot/新增-1/Excel/chart_compressed.gif)

#### 🎯 **Core Data Processing Features**
- **Formula Channel**: Natural language inquiry, AI automatically generates formulas
- **Cross-sheet Processing**: Cross-worksheet data processing and analysis
- **Batch Calculation**: Support addition, subtraction, multiplication, division and other batch operations
- **Data Extraction**: One-click extraction or filtering of various data
- **Intelligent Statistics**: Sum, average, maximum, minimum, etc.

  **Cross-sheet Processing Feature Demo**
  ![Excel AI Dialogue Feature Demo](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 🎨 **Format & Style Processing**
- **Number Format Conversion**: Chinese numbers, uppercase numbers, text format, etc.
- **Currency Format Processing**: Uppercase currency, ten thousand units, thousand separators
- **Cell Highlighting**: Intelligent highlighting, customizable effects
- **Quick Formatting**: Ten thousand units, currency symbols, Chinese numbers, etc.

  **Format & Style Processing Interface Demo**
  ![Excel Format Processing Feature Demo](screenshot/新增-1/Excel/format_compressed.gif)

#### 🛠️ **Toolbox Features**
- **Quick Input**: Gender, check/cross, yes/no, etc., support dropdown boxes
- **Rounding**: Round up, round down, round to even, etc.
- **Name Processing**: Modify, align, extract names
- **ID Card Processing**: Mask information, extract birth date, age, gender
- **Phone Number**: Mask, segment display, random generation
- **Table Translation**: Support multi-language table content translation, one-click language conversion

  **Translation Feature Demo**
  ![Excel Translation Feature Demo](screenshot/新增-1/Excel/trans_compressed.gif)

More details: [ExcelAI Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki/4-ExcelAI-Plugin#432-extractfilter)

---

## Supported LLMs

Supports connection to various large language models, including:
- 🤖 Claude / Gemini / DeepSeek / OpenRouter 
Users can freely configure API Keys for flexible access.

---

## Installation

**System Requirements**: Windows 7/10/11 or later + Office 2013/2016/2019/Office 365

1. ⬇️ Download plugin installation package: [Install Now](https://office-ai.net)  
2. 📦 Extract and double-click to run the installer  
3. 🧑‍💻 Open Word or Excel or WPS, the plugin will load automatically  
4. ✨ Plugin entry is located in the top toolbar, click to start your intelligent office journey!

---

## Usage Guide

Please refer to the complete usage tutorial 👉 [https://github.com/office-sec/OfficeAI/wiki]

📌 **Tip**: The plugin's right-side floating window supports continuous dialogue and can embed local content context

---

## Resources

- 📄 [Product Website](https://office-ai.net)  
- 📚 [GitHub Wiki Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki)

---

## Development Roadmap

- 🔌 Support for macOS version  
- 📚 Long-text polishing, translation and other long-text interactions  
- 🎨 AI Intelligent Formatting: Automatically analyze document formats and generate custom templates
- 🧙‍♂️ Stronger context understanding capabilities  
- ✨ Support for more languages  
- 🤖 More convenient plugin API Key binding and operations  
- 📊 Excel feature enhancement and optimization

---

## Contributing

Welcome any form of contribution! Including but not limited to:

- 🐛 Bug reports  
- ✨ New feature suggestions  
- 🧑‍💻 PR submissions  
- 📖 Usage documentation supplements  

---

## Contact Us

- 🌐 Website: [https://office-ai.net](https://office-ai.net)    
- 📧 Email: service@office-ai.net


================================================
FILE: README_en.md
================================================
# 🚀 OfficeAI

> OfficeAI is an AI assistant plugin integrated into Microsoft Office and WPS, enabling seamless interaction with large language models for writing, polishing, translation, formatting, and data analysis in Word and Excel.  
> In Word, you can directly chat with AI in the right panel and insert results into documents with one click; in Excel, you only need natural language commands to automatically handle complex functions and chart generation.  
> **Currently offering free usage quota, lightweight setup, install and use immediately, significantly improving office productivity.**

[![Platform](https://img.shields.io/badge/Platform-Windows-blue)](https://office-ai.net) [![Free to Use](https://img.shields.io/badge/Price-Free-green)] 

**README Multi-language Version**: [English](/README_en.md) | [中文](/README_zh.md)

![OfficeAI Banner](screenshot/新增-1/offica-ai%20BANNER.png)
---

## 📚 Table of Contents

- [About OfficeAI](#about-officeai)  
- [Core Features](#core-features)  
  - [Word AI 📝](#word-ai-)  
  - [Excel AI 📊](#excel-ai-)  
- [Supported LLMs](#supported-llms)  
- [Installation](#installation)  
- [Usage Guide](#usage-guide)  
- [Resources](#resources)  
- [Development Roadmap](#development-roadmap)  
- [Contributing](#contributing)  
- [Contact Us](#contact-us)

---

## About OfficeAI

OfficeAI integrates seamlessly as a plugin into Microsoft Office and WPS, supporting intelligent document and spreadsheet processing. **Word AI** provides AI chat, writing, polishing, proofreading, intelligent formatting, and translation features, making document creation more efficient; **Excel AI** offers AI dialogue, formula generation, data analysis, and chart visualization features, making data processing more intelligent. You only need natural language to generate content, analyze data, and more—**no formulas, no templates required**.

---

## Core Features

### Word AI 📝
(Word AI is OfficeAI's highlight feature)

OfficeAI provides a comprehensive set of efficient and common AI features in Word/WPS plugins:

#### 💬 **AI Dialogue & Writing**
- **Natural AI Model Dialogue**: Engage in free multi-turn conversations with AI in Word/WPS. You can have multi-turn dialogues with popular large models. AI's response results can be exported to documents with one click or copied to clipboard
- **AI Writing**: You can customize prompts and save them as "Common Modes", call them with one click in any document to complete automatic continuation, summary extraction, language conversion and other tasks, supporting marketing copy, technical documentation, internal communication and various other types of article creation
- **AI Navigation**: Quickly activate ChatGPT, Claude, Gemini and other popular model dialogue entrances in Word/WPS, **no need to switch windows**, click and use immediately!

  **Dialogue & Writing Interface Demo**
  ![AI Writing Feature Demo](screenshot/新增-1/writing_compressed-1.gif)

#### 🎨 **Intelligent Formatting & Layout**
- **One-click Formatting**: Apply professional formatting with one click. Built-in multiple templates, support custom editing, users can perform efficient one-click formatting tasks, and can adjust effects in real-time through natural language dialogue, automatically generate outline directories. Users can also create custom templates and perform one-click formatting
- **Formatting Template Adjustment**: Support template copying, editing, customization, can set outline levels, Western fonts and other advanced formats

  **Intelligent Formatting & Layout Interface Demo**
  ![Intelligent Formatting Feature Demo](screenshot/新增-1/layout_compressed.gif)

#### ✍️ **Document Optimization & Processing**
- **Proofreading / Polishing**: Select text content (or entire document), Office AI can break through large model context length limitations, supporting long-text proofreading. AI automatically finds and corrects typos, grammar errors, etc.
- **AI Continuation**: Select text content, AI intelligently continues writing articles, results displayed in blue font, can confirm application or undo
- **AI Translation**: Support multi-language translation, built-in translation modes, can also customize translation modes

  **Document Optimization & Processing Interface Demo**
  ![Document Polishing Feature Demo](screenshot/Polish_compressed.gif)

#### 🛠️ **Toolbox Features**
- **AI Meeting Minutes**: Automatically generate professional meeting minutes format based on document content
- **AI Summary & Extraction**: Quickly extract key content from documents, saving reading time
- **Weekly Report Assistant**: Quickly organize weekly report key information into standard format
- **One-click Delete**: Delete extra blank lines, clear formatting, remove hyperlinks, etc.
- **Table Processing**: Insert content before tables, display headers across pages, select entire tables, etc.
- **Image to Text**: Recognize text in images and convert to editable text

More details: [WordAI Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki/3-WordAI-Plugin)

---

## Excel AI 📊

OfficeAI provides a comprehensive set of efficient and common AI features in Excel/WPS plugins:

#### 💬 **AI Dialogue & Data Analysis**
- **Excel Dialogue**: Direct dialogue to generate data analysis
- **Intelligent Command Execution**: No formulas needed, easily handle complex instructions

  **AI Dialogue & Data Analysis Interface Demo**
  ![Excel AI Dialogue Feature Demo](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 📊 **Data Analysis & Visualization**
- **Data Visualization**: Automatically generate various charts and visualization views
- **Enterprise Privacy**: Local operation, ensuring data security
- **Data Cleaning**: One-click cleaning and optimization of table data

  **Data Visualization Feature Demo**
  ![Excel Data Visualization Demo](screenshot/新增-1/Excel/chart_compressed.gif)

#### 🎯 **Core Data Processing Features**
- **Formula Channel**: Natural language inquiry, AI automatically generates formulas
- **Cross-sheet Processing**: Cross-worksheet data processing and analysis
- **Batch Calculation**: Support addition, subtraction, multiplication, division and other batch operations
- **Data Extraction**: One-click extraction or filtering of various data
- **Intelligent Statistics**: Sum, average, maximum, minimum, etc.

  **Cross-sheet Processing Feature Demo**
  ![Excel AI Dialogue Feature Demo](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 🎨 **Format & Style Processing**
- **Number Format Conversion**: Chinese numbers, uppercase numbers, text format, etc.
- **Currency Format Processing**: Uppercase currency, ten thousand units, thousand separators
- **Cell Highlighting**: Intelligent highlighting, customizable effects
- **Quick Formatting**: Ten thousand units, currency symbols, Chinese numbers, etc.

  **Format & Style Processing Interface Demo**
  ![Excel Format Processing Feature Demo](screenshot/新增-1/Excel/format_compressed.gif)

#### 🛠️ **Toolbox Features**
- **Quick Input**: Gender, check/cross, yes/no, etc., support dropdown boxes
- **Rounding**: Round up, round down, round to even, etc.
- **Name Processing**: Modify, align, extract names
- **ID Card Processing**: Mask information, extract birth date, age, gender
- **Phone Number**: Mask, segment display, random generation
- **Table Translation**: Support multi-language table content translation, one-click language conversion

  **Translation Feature Demo**
  ![Excel Translation Feature Demo](screenshot/新增-1/Excel/trans_compressed.gif)

More details: [ExcelAI Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki/4-ExcelAI-Plugin#432-extractfilter)

---

## Supported LLMs

Supports connection to various large language models, including:
- 🤖 Claude / Gemini / DeepSeek / OpenRouter 
Users can freely configure API Keys for flexible access.

---

## Installation

**System Requirements**: Windows 7/10/11 or later + Office 2013/2016/2019/Office 365

1. ⬇️ Download plugin installation package: [Install Now](https://office-ai.net/feature/wordai/)  
2. 📦 Extract and double-click to run the installer  
3. 🧑‍💻 Open Word or Excel or WPS, the plugin will load automatically  
4. ✨ Plugin entry is located in the top toolbar, click to start your intelligent office journey!

---

## Usage Guide

Please refer to the complete usage tutorial 👉 [https://github.com/office-sec/OfficeAI/wiki/3-WordAI-Plugin]

📌 **Tip**: The plugin's right-side floating window supports continuous dialogue and can embed local content context

---

## Resources

- 📄 [Product Website](https://office-ai.net)  
- 📚 [GitHub Wiki Detailed Documentation](https://github.com/office-sec/OfficeAI/wiki)
- 🔗 [Terms of Service & Privacy Policy](https://office-ai.net/policy)

---

## Development Roadmap

- 🔌 Support for macOS version  
- 📚 Long-text polishing, translation and other long-text interactions  
- 🎨 AI Intelligent Formatting: Automatically analyze document formats and generate custom templates
- 🧙‍♂️ Stronger context understanding capabilities  
- ✨ Support for more languages  
- 🤖 More convenient plugin API Key binding and operations  
- 📊 Excel feature enhancement and optimization

---

## Contributing

Welcome any form of contribution! Including but not limited to:

- 🐛 Bug reports  
- ✨ New feature suggestions  
- 🧑‍💻 PR submissions  
- 📖 Usage documentation supplements  

---

## Contact Us

- 🌐 Website: [https://office-ai.net](https://office-ai.net)    
- 📧 Email: service@office-ai.net


================================================
FILE: README_zh.md
================================================
# 🚀 OfficeAI

> OfficeAI 是一款集成于 Microsoft Office 和 WPS 的 AI 助手插件,让你在 Word 和 Excel 中无缝调用大语言模型进行写作、润色、翻译、排版、数据分析等操作。  
> 在 Word 中,你可直接在右侧面板与 AI 对话并一键将结果插入文档;在 Excel 中,仅需自然语言命令即可自动处理复杂函数与图表生成。  
> **现阶段提供免费额度使用,轻量上手、即装即用,大幅提升办公效率。**

[![Platform](https://img.shields.io/badge/Platform-Windows-blue)](https://office-ai.net) [![Free to Use](https://img.shields.io/badge/Price-Free-green)](https://office-ai.net)

**README多语言版本**:[English](/README.md) | [中文](/README_zh.md)

![OfficeAI Banner](screenshot/新增-1/offica-ai%20BANNER.png)
---

## 📚 目录

- [关于 OfficeAI](#关于-officeai)  
- [核心功能](#核心功能)  
  - [Word AI 📝](#word-ai-)  
  - [Excel AI 📊](#excel-ai-)  
- [支持的大语言模型](#支持的大语言模型)  
- [安装说明](#安装说明)  
- [使用指南](#使用指南)  
- [相关资源](#相关资源)  
- [优化计划](#优化计划)  
- [贡献指南](#贡献指南)  
- [联系我们](#联系我们)

---

## 关于 OfficeAI

OfficeAI 作为插件无缝集成到 Microsoft Office 和 WPS 中,支持智能文档和电子表格处理。**Word AI** 提供AI聊天、写作、润色、校对、智能排版、翻译等功能,让文档创作更高效;**Excel AI** 提供AI对话、公式生成、数据分析、图表可视化等功能,让数据处理更智能。你只需用自然语言,就能生成内容、分析数据等功能——**无需公式,无需模板**。

---

## 核心功能

### Word AI 📝
(Word AI是OfficeAI的亮点功能)

OfficeAI 在 Word/WPS 插件中提供一整套高效且在办公场景常见的AI功能:

#### 💬 **AI 对话与写作**
- **与AI大模型自然对话**:在Word/WPS中与 AI 进行免费的自由对话,你可与热门大模型进行多轮对话。AI的回复结果可以一键导出到文档中,也可以复制到剪贴板
- **AI 写作**:你可自定义提示词并保存为「常用模式」,在任意文档中一键调用,完成自动续写、摘要提取、语言转换等任务,支持营销文案、技术文档、内部沟通等多种类型文章创作。
- **AI 导航**:在 Word/WPS 中快速唤起 ChatGPT、Claude、Gemini 等热门模型对话入口,**无需切换窗口**,即点即用!

  **对话与写作界面展示**
  ![AI写作功能演示](screenshot/新增-1/writing_compressed-1.gif)

#### 🎨 **智能排版与格式**
- **一键排版**:一键应用专业排版格式。内置多种模板,支持自定义编辑,用户可进行高效的一键排版任务,并可通过自然语言对话实时调整效果,自动生成大纲目录。同时用户也可创建自定义模板,并进行一键排版
- **排版模板调整**:支持模板复制、编辑、自定义,可设置大纲级别、西文字体等高级格式

  **智能排版与格式界面展示**
  ![智能排版功能演示](screenshot/新增-1/layout_compressed.gif)

#### ✍️ **文档优化与处理**
- **校对 / 润色**:选择文本内容(或全文档),Office AI能突破大模型上下文长度限制,支持长文校对。AI 自动查找并修正错别字、语法错误等
- **AI 续写**:选择文本内容,AI 智能续写文章,结果以蓝色字体显示,可确认应用或撤销
- **AI 翻译**:支持多种语言互译,内置翻译模式,也可自定义翻译模式。

  **文档优化与处理界面展示**
  ![文档润色功能演示](screenshot/Polish_compressed.gif)

#### 🛠️ **工具箱功能**
- **AI 会议纪要**:基于文档内容自动生成专业会议纪要格式
- **AI 总结提炼**:快速提取文档关键内容,节省阅读时间
- **周报助手**:快速整理周报关键信息为标准格式
- **一键删除**:删除多余空行、清除格式、移除超链接等
- **表格处理**:表格前插入内容、跨页显示表头、全表选择等
- **图像转文字**:识别图片中的文字并转换为可编辑文本

更多详细:[WordAI 详细文档](https://github.com/office-sec/OfficeAI/wiki/3-WordAI-Plugin)

---

## Excel AI 📊

OfficeAI 在 Excel/WPS 插件中提供一整套高效且在办公场景常见的AI功能:

#### 💬 **AI 对话与数据分析**
- **与 Excel 对话**:直接对话生成数据分析
- **智能命令执行**:无需公式,轻松处理复杂指令

  **AI 对话与数据分析界面展示**
  ![Excel AI对话功能演示](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 📊 **数据分析与可视化**
- **数据可视化**:自动生成各类图表和可视化视图
- **企业级隐私**:本地运行,保障数据安全
- **数据清洗**:表格数据一键清洗和优化

  **数据可视化功能展示**
  ![Excel数据可视化演示](screenshot/新增-1/Excel/chart_compressed.gif)

#### 🎯 **核心数据处理功能**
- **公式通道**:自然语言询问,AI自动生成公式
- **跨表处理**:跨工作表数据处理和分析
- **批量计算**:支持加减乘除等批量运算
- **数据提取**:一键提取或过滤各类数据
- **智能统计**:求和、平均值、最大值、最小值等

  **跨表处理功能展示**
  ![Excel AI对话功能演示](screenshot/新增-1/Excel/chat%20to%20form.gif)

#### 🎨 **格式与样式处理**
- **数字格式转换**:中文数字、大写数字、文本格式等
- **金额格式处理**:大写金额、万为单位、千分位分隔符
- **单元格高亮**:智能高亮,可自定义效果
- **快速格式化**:万为单位、货币符号、中文数字等

  **格式与样式处理界面展示**
  ![Excel格式处理功能演示](screenshot/新增-1/Excel/format_compressed.gif)

#### 🛠️ **工具箱功能**
- **快速输入**:性别、勾选/叉号、是/否等,支持下拉框
- **四舍五入**:向上取整、向下取整、取偶等
- **姓名处理**:修改、对齐、提取姓名
- **身份证处理**:屏蔽信息、提取出生日期、年龄、性别
- **电话号码**:屏蔽、分段显示、随机生成
- **表格翻译**:支持多语言表格内容翻译,一键转换语言

  **翻译功能展示**
  ![Excel翻译功能演示](screenshot/新增-1/Excel/trans_compressed.gif)

更多详细:[ExcelAI 详细文档](https://github.com/office-sec/OfficeAI/wiki/4-ExcelAI-Plugin#432-extractfilter)

---

## 支持的大语言模型

支持连接多种大语言模型,包括:
- 🤖 Claude / Gemini / DeepSeek / OpenRouter 
用户可自由配置 API Key 进行灵活接入。

---

## 安装说明

**系统要求**:Windows 7/10/11 或更高版本 + Office 2013/2016/2019/Office 365

1. ⬇️ 下载插件安装包:[立即安装](https://office-ai.net)  
2. 📦 解压并双击运行安装程序  
3. 🧑‍💻 打开 Word 或 Excel 或WPS,插件将自动加载  
4. ✨ 插件入口位于顶部工具栏,点击开始智能办公之旅!

---

## 使用指南

请参考完整使用教程 👉 [https://github.com/office-sec/OfficeAI/wiki]

📌 **提示**:插件右侧浮窗支持持续对话,可嵌入本地内容上下文

---

## 相关资源

- 📄 [产品官网](https://office-ai.net)  
- 📚 [GitHub Wiki 详细文档](https://github.com/office-sec/OfficeAI/wiki)

---

## 优化计划

- 🔌 支持 macOS 版本  
- 📚 长文本润色、翻译等长文本互动  
- 🎨 AI智能排版:自动分析文档格式并生成自定义模板
- 🧙‍♂️ 更强上下文理解能力  
- ✨ 支持更多的语言  
- 🤖 更方便的插件内 API Key 绑定与操作  
- 📊 Excel功能增强与优化

---

## 贡献指南

欢迎任何形式的贡献!包括但不限于:

- 🐛 Bug 报告  
- ✨ 新功能建议  
- 🧑‍💻 PR 提交  
- 📖 使用文档补充  

---

## 联系我们

- 🌐 官网: [https://office-ai.net](https://office-ai.net)    
- 📧 邮箱: service@office-ai.net



================================================
FILE: test.py
================================================

if __name__ == '__main__':
    print("Hello world!")
    
Download .txt
gitextract_4qqdwpcq/

├── .gitignore
├── README.md
├── README_en.md
├── README_zh.md
└── test.py
Condensed preview — 5 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (29K chars).
[
  {
    "path": ".gitignore",
    "chars": 14,
    "preview": "/.idea\n/.git\n\n"
  },
  {
    "path": "README.md",
    "chars": 9421,
    "preview": "# 🚀 OfficeAI\n\n> OfficeAI is an AI assistant plugin integrated into Microsoft Office and WPS, enabling seamless interacti"
  },
  {
    "path": "README_en.md",
    "chars": 9696,
    "preview": "# 🚀 OfficeAI\r\n\r\n> OfficeAI is an AI assistant plugin integrated into Microsoft Office and WPS, enabling seamless interac"
  },
  {
    "path": "README_zh.md",
    "chars": 4313,
    "preview": "# 🚀 OfficeAI\n\n> OfficeAI 是一款集成于 Microsoft Office 和 WPS 的 AI 助手插件,让你在 Word 和 Excel 中无缝调用大语言模型进行写作、润色、翻译、排版、数据分析等操作。  \n> 在"
  },
  {
    "path": "test.py",
    "chars": 58,
    "preview": "\nif __name__ == '__main__':\n    print(\"Hello world!\")\n    "
  }
]

About this extraction

This page contains the full source code of the office-sec/OfficeAI GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 5 files (23.0 KB), approximately 6.6k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!