View Issue Details

IDProjectCategoryView StatusLast Update
0013406ScribusImport / Exportpublic2016-01-11 05:50
Reporterchristoph_s Assigned Tofschmid  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSOpenSUSE 64 BitOS Version13.1
Product Version1.5.1svn 
Target Version1.5.1Fixed in Version1.5.1svn 
Summary0013406: Paragraph Styles are not being imported from RTF files
DescriptionThe new RTF filter doesn't import paragraph styles, in spite of RTF supporting and storing them ("s1" etc.).

Ideally, RTF import should behave exactly like ODT import, i.e., prompt the style import dialogue.
TagsNo tags attached.
PatchNo

Relationships

child of 0001474 closedfschmid rtf import 

Activities

christoph_s

2015-10-11 22:39

developer   ~0036631

There are two issues remaining:

1) Special characters in style names like umlauts are being ignored, e.g. "Überschrift" becomes "berschrift".

2) The importer works different than the ODT importer. The latter triggers a dialog on how to handle the style names, the RTF importer doesn't.

christoph_s

2015-10-13 05:53

developer   ~0036659

More troubles with RTF style sheets: Scribus handles RTF style sheets much less reliable than,e.g., AbiWord, LibreOffice or Calligra. See the attached documents (ODT and RTF).

christoph_s

2015-10-13 05:54

developer  

styletest1.odt (10,815 bytes)

christoph_s

2015-10-13 05:55

developer  

styletest1.rtf (4,921 bytes)

fschmid

2015-10-14 18:44

developer   ~0036665

Fixed the import of the attached document, interestingly LibreOffice can't import its own rtf correctly.

christoph_s

2015-10-15 05:54

developer   ~0036667

Franz, the import is still incorrect.

1) Bold and italics are being ignored, whereas the ODT importer works as expected.

2) Fonts are wrong for the styles "Textkörper", "Textkörper Einrückung" and "Fußnote".

3) The style import dialogue still doesn't show up, so existing styles may be overwritten by accident.

fschmid

2015-10-15 15:23

developer   ~0036670

Its unlikely that you overwrite styles, the imported style name ist prefixed with the name of the textframe you import into.

Kunda

2015-11-03 16:19

updater   ~0037193

Is this still open or is it fixed ?

Kunda

2016-01-08 17:41

updater   ~0038047

Created issues 0013636 to address Christoph's "2" issue

christoph_s

2016-01-09 07:05

developer   ~0038049

Franz, appending the name of the frame automatically is the wrong approach. Just imagine a user of wordPerfect (which, to my knowledge, doesn't provide ODT export). So he has to use RTF. To make his life easier, he splits a long document into chapters, each one saved as an RTF file. Now the import begins, and for each frame or a chain of frames, a new style is being created. If the need arises to change typographical settings, the user has to adjust every style, which somehow defies the use of styles. With ODT, we have (or used to have) the choice to merge paragraph styles upon import. Why do you think it's necessary to withhold this option from users and make style management harder?

Kunda

2016-01-11 02:05

updater   ~0038062

Franz committed a fix for this in r20671
"...Now you can choose if the imported styles are prepended with the item name."
Testing needed to test fix

christoph_s

2016-01-11 05:50

developer   ~0038063

Thanks for the fix, Franz! It's a relief for now, and I'd say we leave it it that for the 1.5.1 release, but I'll open another bug report regarding the re-introduction of the style import options.

Issue History

Date Modified Username Field Change
2015-10-10 06:12 christoph_s New Issue
2015-10-10 06:12 christoph_s Status new => assigned
2015-10-10 06:12 christoph_s Assigned To => fschmid
2015-10-10 06:13 christoph_s Description Updated
2015-10-10 22:55 Kunda Relationship added child of 0001474
2015-10-11 10:48 fschmid Status assigned => resolved
2015-10-11 10:48 fschmid Fixed in Version => 1.5.1svn
2015-10-11 10:48 fschmid Resolution open => fixed
2015-10-11 22:39 christoph_s Note Added: 0036631
2015-10-11 22:39 christoph_s Status resolved => feedback
2015-10-11 22:39 christoph_s Resolution fixed => reopened
2015-10-13 05:53 christoph_s Note Added: 0036659
2015-10-13 05:53 christoph_s Status feedback => assigned
2015-10-13 05:54 christoph_s File Added: styletest1.odt
2015-10-13 05:55 christoph_s File Added: styletest1.rtf
2015-10-14 18:44 fschmid Note Added: 0036665
2015-10-15 05:54 christoph_s Note Added: 0036667
2015-10-15 15:23 fschmid Note Added: 0036670
2015-11-03 16:19 Kunda Note Added: 0037193
2016-01-08 17:41 Kunda Note Added: 0038047
2016-01-08 17:41 Kunda Relationship added parent of 0013636
2016-01-09 07:05 christoph_s Note Added: 0038049
2016-01-11 02:05 Kunda Note Added: 0038062
2016-01-11 05:48 christoph_s Status assigned => resolved
2016-01-11 05:48 christoph_s Resolution reopened => fixed
2016-01-11 05:50 christoph_s Note Added: 0038063
2016-01-11 05:50 christoph_s Status resolved => closed
2016-01-11 13:14 jghali Relationship deleted parent of 0013636