Download it now!
Bug 39835 - FORMATTING: formatting of numbered list lost when copy-paste from web-browser
Summary: FORMATTING: formatting of numbered list lost when copy-paste from web-browser
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.2 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Paste Bullet-Number-Outline-Lists
  Show dependency treegraph
Reported: 2011-08-04 08:58 UTC by Jim Fuqua
Modified: 2019-02-25 21:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

test case of this bug (384 bytes, text/html)
2012-01-30 04:48 UTC, sasha.libreoffice

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Fuqua 2011-08-04 08:58:54 UTC
When pasting from a web page that has an outline or list within a list such as:

2. a.

using the following styling:
ol.c {list-style-type:upper-roman;}
ol.d {list-style-type:lower-alpha;}

the a, b, and c entries show up as 1, 2, and 3. The problem probably hits any use of the CSS list-style-type.

Below is the html for a test page.  Display the page in a browser and then copy and paste the results in a LibreOffice Writer page.

To paste correctly the CSS properties of the ordered list should be evaluated.

<style type="text/css"> 
  ol.c {list-style-type:upper-roman;}
  ol.d {list-style-type:lower-alpha;}
<p>Example of ordered lists:</p> 
<ol class="c"> 
  <li>Coca Cola</li> 
<ol class="d"> 
  <li>Coca Cola</li> 
  <li>Dr. Pepper</li> 
Comment 1 Björn Michaelsen 2011-12-23 12:23:52 UTC Comment hidden (obsolete)
Comment 2 sasha.libreoffice 2012-01-30 04:48:32 UTC
Created attachment 56321 [details]
test case of this bug
Comment 3 sasha.libreoffice 2012-01-30 04:50:48 UTC
reproduced in LibO 3.6.0 master on Fedora  64 bit
Comment 4 A (Andy) 2013-05-02 20:05:01 UTC
reproducible with LO (Win7 Home, 64bit)
Comment 5 QA Administrators 2015-03-04 02:20:23 UTC Comment hidden (obsolete)
Comment 6 Jean-Baptiste Faure 2015-03-07 10:15:01 UTC
still there with LibreOffice built at home under Ubuntu 14.10 x86-64

Best regards. JBF
Comment 7 jddcef 2015-10-12 20:31:39 UTC Windows 8.1 x64 - still a problem.
Comment 8 QA Administrators 2016-11-08 11:15:12 UTC Comment hidden (obsolete)
Comment 9 Jean-Baptiste Faure 2016-11-11 08:16:36 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2018-07-06 02:46:02 UTC Comment hidden (obsolete)
Comment 11 Jean-Baptiste Faure 2018-07-17 09:54:58 UTC
Still reproducible in version under Ubuntu 16.04.

Best regards. JBF
Comment 12 Jonatham E. Snow 2018-10-24 21:45:43 UTC
Somewhat better in Now the text case file ordered list is recognized if you use cut and paste, but the space between the separator '.' and the list content is lost, like so:

    III.Coca Cola

When pasted. It must still be there somehow, because when I paste it from LO to here it appears:

    I. Coffee
    II. Tea
    III. Coca Cola