Issue 58770 - RTF: header/footer settings corrupted on export
Summary: RTF: header/footer settings corrupted on export
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo, oooqa
: 114270 (view as issue list)
Depends on:
Reported: 2005-12-02 06:14 UTC by fipa
Modified: 2017-05-20 11:25 UTC (History)
4 users (show)

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

Export file - ODF (6.67 KB, application/vnd.oasis.opendocument.text)
2005-12-04 13:37 UTC, fipa
no flags Details
Export file - RTF (5.27 KB, text/rtf)
2005-12-04 13:38 UTC, fipa
no flags Details
another export from m142 (4.89 KB, text/rtf)
2005-12-04 19:02 UTC, pavel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fipa 2005-12-02 06:14:15 UTC
The problems during the exporting of a document into RTF format.

1.The setting of a footing in the First Page style is switched of and is tranferred into the Default style.
2.The size of the Upper Index characters is changed into the size of default characters.

This was OK with 1.1x line...
Comment 1 lars 2005-12-03 22:42:12 UTC
can you attach a sample file with which to show the problem, please; thanks
Comment 2 fipa 2005-12-04 13:37:29 UTC
Created attachment 32024 [details]
Export file - ODF
Comment 3 fipa 2005-12-04 13:38:04 UTC
Created attachment 32025 [details]
Export file - RTF
Comment 4 pavel 2005-12-04 19:00:37 UTC

Problem 2.: upper index is still upper index in exported RTF file, but the size
of its letters is the same as normal letters.

Problem 1: I took molcanf's ODT file, opened it and saved to RTF. The second
page *has* footer although it doesn't have footer in ODT. And in fact, I also
see another special thing: in the exported RTF file, I see that the text on the
first page's body contains other stuff prepended to the real text:


where footer and Index are written using in Default style and caption in
Italics. The resulting RTF is attached as pokus.rtf.
Comment 5 pavel 2005-12-04 19:02:11 UTC
Created attachment 32032 [details]
another export from m142
Comment 6 michael.ruess 2005-12-07 15:04:08 UTC
MRU->FLR: when exporting nthe attached odt and reopening in Writer, the footer
from first page moved to second page and the spacing between header and body
text is lost.
Comment 7 pavel 2005-12-07 18:31:54 UTC
Florian: can you please evaluate this for 2.0.2?
Comment 8 Mathias_Bauer 2006-08-30 15:16:14 UTC
reassigning to hbrinkm
Comment 9 ace_dent 2008-05-15 15:15:31 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please re-test with one of the latest versions of OOo -
the problem(s) may have already been addressed. Either use the recent stable
or consider trying the new OOo 3 BETA (still in testing):
Please report back the outcome so this Issue may be closed or progressed as
necessary - otherwise it may be Resolved as Invalid in the future. You may also
wish to search for (and note) any duplicates of this Issue that may have
advanced further :
Many thanks,
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~
Comment 10 denisfalqueto 2008-11-06 10:11:44 UTC

The fix for 1 is rather easy. In sw/source/filter/rtf/rtfatr.cxx, on line 3470
of version, it should be:

if( rRTFWrt.pAktPageDesc->GetFollow() &&

That would make the behaviour of exporting the \footerf section as it is made
for the \headerf section. I justify it by seeing that the export does the right
thing for the header, so I compared the two functions that deal with headers and
footers and saw that the difference was basically there.
Comment 11 openoffice 2008-11-10 14:37:54 UTC
*** Issue 60332 has been marked as a duplicate of this issue. ***
Comment 12 cno 2008-11-13 22:40:46 UTC
I doubt if solving this issue will solve 60332 as well.
Reason: denisfalqueto (Thu Nov 6 2008) writes: ".. the export does the right
thing for the header"
This is not the case for 60332 (and all dups)...

So I intend to reopen 60332. Any idea on this?
Comment 13 michael.ruess 2010-09-02 12:03:09 UTC
*** Issue 114270 has been marked as a duplicate of this issue. ***
Comment 14 Marcus 2017-05-20 11:24:39 UTC
Reset assigne to the default "".
Comment 15 Marcus 2017-05-20 11:25:52 UTC
Reset assigne to the default "".