Bug 415744

Summary: RTF import filter ignores ulnone command while ul0 works correctly
Product: [Applications] calligrawords Reporter: David Llewellyn-Jones <david>
Component: filtersAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: RTF file using the \ulnone command

Description David Llewellyn-Jones 2019-12-31 14:26:00 UTC
Created attachment 124808 [details]
RTF file using the \ulnone command

SUMMARY

When importing an RTF file, the \ulnone command is ignored. As a result any underlining that's closed with this command may continue throughout the rest of the file.

STEPS TO REPRODUCE
1. Open attached file in a text editor, note the use of \ulnone on line 11.
2. Open file in Calligra.

OBSERVED RESULT

Third paragraph is underlined.

EXPECTED RESULT

No underlining on third paragraph.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04.3

ADDITIONAL INFORMATION

The underlining works correctly if \ulnone is changed to \ul0 in the file.

I'm using Calligra Words version 3.1.89.
Comment 1 David Llewellyn-Jones 2019-12-31 14:26:50 UTC
For reference, details of the ulnone command can be found in the RTF spec here:

https://www.biblioscape.com/rtf15_spec.htm#Heading42