iOfficeAI / iOfficeAI/OfficeCLI
[DOCX] Comments are not shown in view html output
- Dominant language
- C#
- Stars
- 30.7k
- Forks
- 2.1k
- Avg merge
- 9d 8h
- Merged PRs (30d)
- 5
Description
## Environment
- OfficeCLI: 1.0.144
- Command: `officecli view sample.docx html`
## Summary
Comments contained in a DOCX file are not shown in the generated HTML preview.
## Steps to reproduce
1. Create a DOCX document in Microsoft Word.
2. Add a comment to a range of text.
3. Run:
```bash
officecli view sample.docx html
```
4. Open the generated HTML.
## Expected behavior
The preview should show the comment, a comment marker, or another indication that the selected text has an associated comment.
If comments are intentionally unsupported, this limitation should be documented.
## Actual behavior
Neither the comment text nor a comment marker is displayed. The document appears as if it contains no comments.
Contributor guide
Research direction
Reproduce the issue with `officecli view sample.docx html` using a DOCX containing a Word comment, then trace the `view` command's HTML output path. Done means the generated preview shows the comment text, a marker, or another clear indication of the associated comment; if comments are unsupported, document that limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, html
- Domain
- cli, content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100