Skip to content

RTF input#8

Draft
godai78 wants to merge 6 commits into
masterfrom
rtfin
Draft

RTF input#8
godai78 wants to merge 6 commits into
masterfrom
rtfin

Conversation

@godai78

@godai78 godai78 commented Jun 12, 2025

Copy link
Copy Markdown
Owner

Add support for RTF file format input.

It detects and handles stuff properly, but does not fully clean the headings - it cannot detect and remove the {\*\bkmkstart and {\*\bkmkend sequence.

@godai78 godai78 requested a review from Copilot June 12, 2025 15:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for RTF file input to the DOCX Splitter, updating both the front-end and back-end handling to accept and process RTF files.

  • Updated documentation and error messages in the user manual
  • Modified package.json and index.html to include the rtf-parser dependency and accept RTF files
  • Added processRtf logic in app.js to parse RTF content and integrated RTF handling along with existing DOCX processing

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
user_manual.md Added error codes documentation
package.json Added dependency for RTF file processing
index.html Updated file input accept attribute
app.js Implemented RTF processing and extended file format support
README.md Updated version and description
CHANGELOG.md Documented new RTF support in changelog
Comments suppressed due to low confidence (1)

index.html:12

  • Consider updating the header text to reflect the support for both DOCX and RTF files (e.g. 'Input file and split every header into a new file') to avoid possible confusion.
<h3>Input docx and split every header into a new rtf file</h3>

Comment thread app.js Outdated
@godai78 godai78 marked this pull request as draft June 13, 2025 05:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants