Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: rtf parsing script #123

Merged
merged 2 commits into from
Jul 11, 2020
Merged

add: rtf parsing script #123

merged 2 commits into from
Jul 11, 2020

Conversation

wlawt
Copy link
Contributor

@wlawt wlawt commented Jul 10, 2020

(WIP): This script focuses on extracting the text from .rtf files in Word.

Currently, test samples are provided via the variable var = rtf and is able to retrieve text for 4/5 situations (see L18 for the case that isn't handled 100%).

By a '100%', I mean the output should be ["The word '93", "'94 is red and underlined. I used a style I called UNDERLINE."], not each index being a word.

Other cases the script needs to consider:

  • How to handle control characters like \'

Test files are provided in the PR as well.

@SheetJSDev SheetJSDev merged commit 6a1f86a into master Jul 11, 2020
@SheetJSDev SheetJSDev deleted the rtf branch July 11, 2020 05:12
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.

None yet

2 participants