Issue 42226

Summary: Missing newlines in exported text<n>.html files
Product: Impress Reporter: zumbi <michael>
Component: save-exportAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m77   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description zumbi 2005-02-07 18:04:09 UTC
Hello,

I'm often using [Ctrl][Enter] in my presentations to insert a line return
(newline) in some paragraphs.

When I export my presentations to HTML, I noticed that these newlines are
missing  in the create text<n>.html files.

Here's an example... My source document is:
http://free-electrons.com/issues/ooo_feb7_2005/nonewline.sxi

Here's what I get (tested with OOo 1.9 680m77):
http://free-electrons.com/issues/ooo_feb7_2005/text0.html

Here's what I would expect:
http://free-electrons.com/issues/ooo_feb7_2005/text0expected.html

Note that there's a newline character in the text0.html document but of course
it's not sufficient. There should be a <br /> character too. This should be
pretty easy to implement.

It would be great if this was fixed in OOo 2.0. This badly impacts several of my
slides, especially in paragraphs listing command lines.

Don't hesitate to get back to me if you need help in testing!

Thank you in advance,

Cheers,

Michael.
Comment 1 wolframgarten 2005-02-08 07:47:47 UTC
How do you export this to html? doy ou use file/export/ format "html" in impress
or do you copy the paragraph to an OO html document? Please give a detailed
description. The normal html export from Impress is only generating pages with
bitmaps on it. Your source code of the html file shows something different.
Comment 2 zumbi 2005-02-08 08:31:22 UTC
Hello,

Thank you for having a look at this issue.

I confirm that I'm using file -> export -> format "html" in Impress.

That's not true that "The normal html export from Impress is only generating
pages with bitmaps on it". While the bitmap pages are created and are fine, text
only pages are also generated. This is very convenient for text-only browsers or
mobile devices which can't afford the image bandwidth.

To see this by yourself, go to the top level page of the exported document:
http://free-electrons.com/issues/ooo_feb7_2005/nonewline.html

Then, click on the "Slide 1" link and then click on the "Text" link on the upper
right corner of this page. That's the text-only page generated by Impress. Note
that you can go back to graphics by following the "Graphics" link then.

You can find another example on
http://free-electrons.com/doc/embedded_linux_kernel_and_drivers/img0.html . To
access the graphics, click on the "aA" link.

I reopen this issue...

Thanks for everything!

Cheers,

Michael.
Comment 3 wolframgarten 2005-02-09 12:25:46 UTC
Aaah, thanks for the explanation. The textfiles are not generated in every case,
I think you need a bulleted list for this. Now I can reproduce it.
Comment 4 wolframgarten 2005-02-09 12:26:31 UTC
Reassigned to Christian.
Comment 5 Marcus 2017-05-20 11:08:22 UTC
Reset assigne to the default "issues@openoffice.apache.org".