all-word-tools

Public

Forked from sologub/all-word-tools

word-инструменты — плагин для LM Studio. Полный набор инструментов Word для LM Studio. Поддерживает .docx и .docm — Python не требуется.

44 Downloads

README

word-tools — LM Studio Plugin

Full Word toolkit for LM Studio. Supports .docx and .docm — no Python required.

Installation

The plugin is available for download on the LM Studio Hub Warning: This plugin was created with Claude.ai. It is currently under development and may corrupt certain files. Tested only with qwen/qwen3.5-35b-a3b. An Excel version is available excel-tools

21 Tools

Content (10)

ToolDescription
word_readRead paragraphs with style, runs, formatting
word_writeCreate a new .docx from structured content blocks
word_appendAppend headings, paragraphs, lists, tables to existing doc
word_find_replaceFind & replace text (plain or regex)
word_insert_after_headingInsert content after a specific heading
word_delete_paragraphsDelete paragraphs by text match or style
word_extract_tablesExtract all tables as JSON arrays
word_insert_tableInsert a table at end or after a heading
word_merge_docsMerge multiple .docx files into one
word_split_by_headingSplit document into files by heading level

Formatting (5)

ToolDescription
word_format_textApply bold / italic / underline / color to matching text
word_set_paragraph_styleChange paragraph style (Heading1, Normal, Quote…)
word_add_header_footerSet document header and/or footer
word_set_page_layoutChange margins, orientation, paper size
word_add_tocInsert a Table of Contents (populated on open in Word)

Analysis (5)

ToolDescription
word_infoFile metadata + word count, paragraph count, image count
word_list_headingsExtract document outline (all headings)
word_extract_commentsGet all review comments with author & date
word_extract_imagesList embedded images; optionally extract to disk
word_diffCompare two documents (added / removed paragraphs)

Macros (1)

ToolDescription
word_read_vbaExtract VBA module info from .docm

Automatic backup

All destructive operations (append, find/replace, delete, format, layout) create a .bak copy before modifying.

Content block format (word_write / word_append)

[
  { "type": "heading", "level": 1, "text": "Report Title" },
  { "type": "paragraph", "text": "Introduction paragraph.", "bold": false },
  { "type": "list", "ordered": false, "items": ["Item A", "Item B"] },
  { "type": "table", "headers": ["Name", "Score"], "rows": [["Alice", "95"], ["Bob", "87"]] },
  { "type": "pagebreak" }
]

Dependencies

  • docx — create new Word documents (headings, paragraphs, tables, lists)
  • JSZip — read/write .docx ZIP archives
  • fast-xml-parser — parse document.xml for reading and analysis