mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
Word gives the captions it inserts the paragraph style "caption", and docx didn't write it, so a paragraph with `style: "Caption"` came out in Normal: Word drops a style the document doesn't define. docx now writes the style as Word writes it when it inserts a caption (small italic text in the theme's second dark color, with space after), and `styles.default.caption` changes it. A Caption style in paragraphStyles or externalStyles still takes its place. A new docs page shows captions with SequentialIdentifier, their numbers written by docx/layout, cross-references to them with a bookmark and NumberedItemReference, and a table of figures, none of which the docs covered. Claude-Session: https://claude.ai/code/session_01X5zGDL3sgGVBMXPfny376c Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
3.5 KiB
3.5 KiB
-
Getting Started
-
Examples
-
API
-
Core Concepts
-
Content Elements
- Paragraph
- Text
- Images
- Shapes
- Charts
- Column and Bar Charts
- Line and Area Charts
- Pie and Doughnut Charts
- Scatter Charts
- Radar Charts
- Bubble Charts
- Stock Charts
- Combo Charts
- Chart Data
- Chart Colours
- Chart Titles and Legends
- Chart Fonts and Fills
- Chart Axes
- Chart Data Labels
- Chart Trendlines and Error Bars
- Chart Size and Position
- Charts in Templates
- Charts from Mermaid
- Chart Compatibility
- Tables
- Bullet Points
- Numbering
- Hyperlinks
- Bookmarks
- Captions and Cross-references
- Checkboxes
- Text Box
- WPS Text Box
-
Page Layout
-
Advanced Features
-
Exporting
-
Templates & Patching
-
Practical Guides