Odt import - Paragraph styles are imported, but not linked to the paragraph.

Previous topic - Next topic

kayosiii

I am trying to import a document written in Libre Office writer (current version) using styles.
Importing the text into scribus, imported the text and the styles.
The document looks correct but each paragraph is linked to the "default paragraph style".
The main reason I edited the document in writer in the first place is because styling a document in scribus is a pain in the backside.

Is this expected behaviour?
Is there anything I can try?

I have tried the scribus 1.6.1 and today's git/master. if that helps.

PatJr

not sure I understand what you want
you want each paragraph to have it's own style when you impot it?
try adding a style in LibreOffice befor you import it, maybe then it will import with a seperate style

kayosiii

I had the document set up with styles in LibreOffice Writer. The body text, is "text body", headings are "heading 1", "heading 2" etc and so on.

When I import that document into scribus:

The text gets imported and looks right.
The styles get imported.
The text is not linked to the styles in any way, the style in the story editor etc shows "default Paragraph style" as the style linked to every paragraph in the imported document.

AdmFubar

Have you check via the style window? (press F4) are the styles listed under the default style?
And just to check have you tried importing RTF of HTML versions of your text from LibreOffice?
Using Scribus 1.6.1, openSUSE 15.6
Advanced hobbyist

kayosiii

All the styles are listed under the 'default paragraph style' in the style manager.

RTF - does not import styles at all.
HTML - imports a small subset of styles and links them.
DOCX - imports all paragraph styles partially (things like typeface are not imported), styles are linked to paragraphs (so yay for that), character styles are not imported and all character style based formatting is lost.

So far DOCX is the least amount of work, but is still a significant amount of work for a document with both character and paragraph styles.

dtribby

I have seen the exact behavior described here for .odt and .docx files. I tested on both Windows 10 and Linux.

I used version 1.4.x for many years, and .odt files imported nicely, with paragraph styles correctly associated with the text. Unused styles were not added to the Scribus file.

Now I'm trying to use 1.6.2, and find importing .odt files unusable. Is there any chance the Open Document import can be restored to its 1.4.7 functionality, or at least work as well as the DOCX import?

I see a similar question from January ("Import text with style, but only the used styles'), but do not see if it resulted in any change.

[This is my first post. I joined the forum to see if there is a fix to this problem, and was pleased to see someone else shares my experience.]

LanceNY

Hey all,

\It's a shame there hasn't been a dev response. It would seem that if it worked in 1.4, the input modules from that might be able to be replaced?

At any rate, what is the best workflow at this point? I'm starting a long form (a few hundred page) book. It is written in LibreOffice and can be saved/exported in any format.

I'm assuming DOCX is the best from what is said above. But should I bother doing formatting in Libre, and which type? And what would be best left until after import into Scribus?

Much appreciated!

MrB

Would you mind submitting a sample document and description on bugs.scribus.net? Thanks, Craig

AdmFubar

Most likely the importer library needs to be updated to handle the latest version of open document standard.
now if you open a  LO document in scribus 1.4 and save it, then open that 1.4 sla in a newer version of scribus are the styles are linked to the correct paragraph?
Using Scribus 1.6.1, openSUSE 15.6
Advanced hobbyist