Scribusoid

Author Topic: Can not import odt file lists  (Read 1600 times)

yichuang驿窗

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
  • Scribus User
Can not import odt file lists
« on: February 05, 2020, 08:15:52 am »
When a odt file (made by libreoffice writer v6.3.4.2) was imported into scribus text frame, the numbered list lost.

The attachments are the screenshots and the odt file.

How to make the imported lists style work?

My System:
Debian Stretch 9.11/gnome
Scribus 1.5.5svn 23095(Build ID: C--T-F-C1.15.10-64bit)





[attachment deleted by admin]
« Last Edit: February 05, 2020, 08:32:50 am by yichuang驿窗 »

robert.peetsalu

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Can not import odt file lists
« Reply #1 on: March 08, 2022, 01:14:41 pm »
This is still a problem for me too. All the imported bullet points turn into hyphens.

I tried setting the default style of the document from Edit -> Styles.. -> Default Paragraph Styles -> Paragraph Effects -> Char Table and there managed to use the weird character inserter to enter the hyphen, but all that didt was add a hyphen at the beginning of every paragraph instead of recognizing the hyphen as a bulled list item.

steven8

  • Newbie
  • *
  • Posts: 36
  • Karma: 1
  • Scribus User
Re: Can not import odt file lists
« Reply #2 on: March 09, 2022, 12:56:09 pm »
Import doesn't work, but select all, copy and paste brings in the bullets.
Scribus 1.4.8 Stable
Windows 11

robert.peetsalu

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Can not import odt file lists
« Reply #3 on: March 09, 2022, 01:15:35 pm »
Import doesn't work, but select all, copy and paste brings in the bullets.

Copy-pasting doesn't paste formatting. I need to get both formatting and lists from the source document. Is there any workaround for that on either the stable or development version or any clever combination of both?

All official Scribus help documents say that the best way to import formatted text is to import an ODT file, so I exported my Google Doc in ODT format. The exported file looks great in latest LibreOffice, but importing it to a text box in Scribus 1.4.x turns them into hyphens and in 1.5.x loses the lists together with all the paragraphs behind them.

robert.peetsalu

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Can not import odt file lists
« Reply #4 on: March 09, 2022, 01:22:26 pm »
I found a workaround in the forums: https://forums.scribus.net/index.php/topic,2211.msg10041.html#msg10041

I'll try it and report back.

robert.peetsalu

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Can not import odt file lists
« Reply #5 on: March 09, 2022, 02:35:36 pm »
I found a workaround in the forums: https://forums.scribus.net/index.php/topic,2211.msg10041.html#msg10041

I'll try it and report back.

Tried it and the result is - in Scribus 1.4.8 when you import an ODT file with formatted text into a textbox, then it keeps the text of the bullet points, but:
- The text of the bullet points switches to Arial and to a different font size even, if you have set the preferred font and size to your desired values in Preferences.
- The whole document loses bold and italic formatting and all links
- Line spacing, that is 15p everywhere in the imported document, became 11p in about half of the paragraphs and 15.28p in the rest of the paragraphs for some reason. I'd have to redo all formatting, which defeats the purpose of importing.

So no, this workaround doesn't actually work for importing formatted text.

Next I tried mass-replacing bullet points with something else that can be imported, but LibreOffice is not able to find bullet points in the document.

The next easiest solution I see (which I will use) is to:
1. Remove all list styling from the document.
2. Save it as an ODT file.
3. Import it to Scribus 1.5.x with Get text..
4. Manually add back all list styling.

This solution lets you keep all the rest of the formatting.

AdmFubar

  • Full Member
  • ***
  • Posts: 172
  • Karma: 2
  • Scribus User
Re: Can not import odt file lists
« Reply #6 on: March 12, 2022, 08:28:00 am »
            x              (x)                    robert,What version of software made the ODT document that you imported? This may be critical, as the 1.4 version of scribus may not handle a new ODT document correctly. the 1.5 version of scribus has better import filters. the 1.5 version may have a better chance of keeping the format of the older ODT document.
Using Scribus 1.5.6 openSUSE 15.3

 

palmate