Issue 10112 - Document prints fine in Word and not in open office writer
Summary: Document prints fine in Word and not in open office writer
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Windows NT
: P5 (lowest) Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 16:24 UTC by Unknown
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Word file that doesn´t print well in OO (42.00 KB, application/octet-stream)
2002-12-16 16:25 UTC, Unknown
no flags Details
example sxw file. (9.61 KB, application/octet-stream)
2003-01-29 15:39 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-12-16 16:24:34 UTC
I found a document that does print well under Word and not under OpenOffice
Writer 1.0.1. I edited a bit to make it a bit smaller, but the test is
reproducible. The file will be attached. I hope it arrives ...
(The original file is called chapter2_generationED2.doc and refers a
chapter from a book about xdoclet that I download from www.theserverside.com).
Comment 1 Unknown 2002-12-16 16:25:27 UTC
Created attachment 4058 [details]
Word file that doesn´t print well in OO
Comment 2 h.ilter 2002-12-17 11:46:13 UTC
Reassigned to MRU
Comment 3 michael.ruess 2003-01-07 14:04:03 UTC
MRU->CMC: The only issue I can find is, that there is a page break
after the TOC when the document is imported.
The TOC itself is empty, because there are no TOC entries available
and the TOc becomes updated after import.
Comment 4 caolanm 2003-01-29 15:39:48 UTC
Created attachment 4487 [details]
example sxw file.
Comment 5 caolanm 2003-01-29 15:44:11 UTC
Not the ww8 filter, or if it is, its a subtle matter.

cmc->fme: Open newly attached .sxw file. The first line *in* the toc
has "page break before" enabled with page number start of "1".

The toc lists the headings in the doc. There is only one. Change the
heading "Code generation" to e.g. default style. Now (and heres the
meat of the matter) update->index->table for the toc and now 
the para following the toc gets the page break before property and so
leave the toc standing on its own on page one. Any ideas ?
Comment 6 frank.meies 2003-01-30 10:43:28 UTC
.
Comment 7 frank.meies 2003-02-10 10:55:25 UTC
FME: In SwTOXBaseSection::Update() there is some code that removes the
content and inserts an empty txtnode that contains the break
attributes. After the update the empty txtnode is removed again and
the attributes are applied to the first txtnode in the tox section.
Unfortunately this does not work if the tox section is empty after the
update. In this case the break attribut is applied to the next txtnode
after the tox.

The bugdoc contains an table of contents which is empty after an
update. Common, non-empty tables of contents are not affected. I'll
change the target.
Comment 8 frank.meies 2003-09-10 11:25:39 UTC
.
Comment 9 stefan.baltzer 2003-10-13 11:03:28 UTC
SBA: According to the OpenOffice.org roadmap 
(see http://tools.openoffice.org/releases) this issue was retargeted to 
"OOo Later".
Comment 10 frank.meies 2004-01-20 08:32:23 UTC
.