Issue 90073 - WW8: exported Headers/footers disappear after a table-of-contents
Summary: WW8: exported Headers/footers disappear after a table-of-contents
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: 3.4.0
Assignee: openoffice
QA Contact: issues@sw
URL:
Keywords: ms_interoperability, regression
: 97744 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-05-28 14:32 UTC by sander_marechal
Modified: 2012-08-30 09:16 UTC (History)
3 users (show)

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


Attachments
A simple document with no ToC (9.06 KB, application/vnd.oasis.opendocument.text)
2008-05-28 14:33 UTC, sander_marechal
no flags Details
The previous document, saved as .doc with OOo 2.4 (74.00 KB, application/msword)
2008-05-28 14:35 UTC, sander_marechal
no flags Details
The same document as the first attachment, but now with ToC added. (9.37 KB, application/vnd.oasis.opendocument.text)
2008-05-28 14:36 UTC, sander_marechal
no flags Details
Attachment #3 converted to .doc by OOo 2.4 (75.50 KB, application/msword)
2008-05-28 14:37 UTC, sander_marechal
no flags Details
the test odt, with toc, converted to doc in 3.0 Beta (74.50 KB, application/vnd.oasis.opendocument.text)
2008-05-29 07:20 UTC, cno
no flags Details
A conversion on header0test-index-page3 made with OOo 2.0 (109.00 KB, text/plain)
2008-05-29 11:34 UTC, sander_marechal
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sander_marechal 2008-05-28 14:32:32 UTC
When saving a document with headers and footers in OOo 2.4 as Word 97/2000/XP
.doc, the headers and footers are only shown in MS-Word on the pages before the
Table of Contents. The rest of the pages do not have headers and footers
anymore. The same ODT document saved as Word 97/2000/XP on OOo 2.0 (The one in
Debian Etch) works fine in MS-Word, so this is a regression.

The problem appears to be caused by the section breaks around the Table of
Contents. I will attach two ODT documents and their respective .doc output in
OOo 2.4. Both documents are identical, except that one has a Table of Contents
on page 3 while the other does not. Later today (when I get home) I will also
post those .doc files as saved by OOo 2.0, which do work correctly in MS-Word.
Comment 1 sander_marechal 2008-05-28 14:33:27 UTC
Created attachment 54024 [details]
A simple document with no ToC
Comment 2 sander_marechal 2008-05-28 14:35:59 UTC
Created attachment 54025 [details]
The previous document, saved as .doc with OOo 2.4
Comment 3 sander_marechal 2008-05-28 14:36:59 UTC
Created attachment 54026 [details]
The same document as the first attachment, but now with ToC added.
Comment 4 sander_marechal 2008-05-28 14:37:43 UTC
Created attachment 54027 [details]
Attachment #3 [details] converted to .doc by OOo 2.4
Comment 5 cno 2008-05-29 07:05:15 UTC
checked header-test-index-page3-2.4.doc in MsO2003 > no header shown after toc >
confirm
Comment 6 cno 2008-05-29 07:19:23 UTC
same problem with conversion to doc in 3.0 Beta 
Comment 7 cno 2008-05-29 07:20:37 UTC
Created attachment 54047 [details]
the test odt, with toc, converted to doc in 3.0 Beta
Comment 8 michael.ruess 2008-05-29 09:24:57 UTC
MRU->HBRINKM: see attached document, when exported to WW8 format, there will be
shown no headers/footers anymore on the pages following the TOC when opened in
MS Word. There is no other page style used then "Default" so the document is not
complex anyway.
Comment 9 sander_marechal 2008-05-29 11:34:32 UTC
Created attachment 54052 [details]
A conversion on header0test-index-page3 made with OOo 2.0
Comment 10 sander_marechal 2008-05-29 11:36:16 UTC
I have just attached a conversion made with OOo 2.0.4 (as shipped on Debian
Etch) to show that this is a regression. The export made from OOo 2.0.4 does
work in MS-Word.
Comment 11 cno 2008-07-01 22:54:34 UTC
@henning: sorry, but I would like you to talk to your manager... ;-) target 3.1
is not a good idea, IMO
Comment 12 sander_marechal 2008-07-01 23:24:51 UTC
I agree. This is a pretty bad regression for anyone using OOo in a mixed
environment (read: interacting with MS-Word). If you want to start pushing OOo3
in the corporate world, this should really be fixed for 3.0, not 3.1
Comment 13 openoffice 2008-11-24 16:19:08 UTC
set target to 3.2: lack of resources
Comment 14 michael.ruess 2009-01-06 13:22:37 UTC
*** Issue 97744 has been marked as a duplicate of this issue. ***
Comment 15 cno 2009-01-06 13:40:12 UTC
shouldn't this issue be considered as data-loss?
Comment 16 openoffice 2009-10-26 15:37:31 UTC
did not manage to fix for OOo 3.2
Comment 17 jmaechtlen 2009-10-26 19:40:45 UTC
Do we know why those section breaks are being inserted?
I believe that they are the real issue.
A secondary issue is that, when the section break is inserted, the next section
doesn't inherit the headers and footers of the previous section.
Comment 18 openoffice 2011-03-16 13:13:00 UTC
Analysis: Testing on DEV300_m102. The headers and footers are imported and exported. OOo and Word display them. However on export of the ODT two extra section is inserted to the DOC, one starting with the TOC and the other starting just after the TOC. TOCs in OOo are embedded in sections, thus I consider this correct.

=> Works for me.