Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | RTF : Header/Footer not import with "same content" flag incorrect | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | sherter <scott.herter> | ||||||||
Component: | open-import | Assignee: | AOO issues mailing list <issues> | ||||||||
Status: | CONFIRMED --- | QA Contact: | |||||||||
Severity: | Trivial | ||||||||||
Priority: | P3 | CC: | issues, jukka.rannila, openoffice | ||||||||
Version: | OOo 2.0.3 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Windows XP | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
Description
sherter
2006-07-12 19:38:36 UTC
Created attachment 37723 [details]
Contains a word document and the resulting RTF document with a header and footer.
We have no work around for this since the system is based on RTF documents. This is preventing our role out of OpenOffice.org 2.x to our customers. Open the attached RTF in OOo: 1) the footer is completely missing 2) the header is not imported with the flag "same content on left/right pages" in the page style The footer problem will be handled in issue 67291, please ignore it here. I just found out it also changes the header and footer to alternating when importing the .doc file. We were trying to do some sort of work around when I tested this. It looks like headers and footers are completely broken for importing any type of Microsoft Word document, .doc and .rtf. Andreas, please have a look on this. If the doc file also doesn't import correctly and this turns out to be a general problem we will need to lower the target version. In case it's an "RTF only" problem or a very special problem of this file only the "3.0" target seems to be appropriate to me and you can assign the issue to hbrinkm. I think I encountered to the same problem. I checked isssues 11717, 58770, 60332, 60394 from the database after a query. I think that I have a concrete testcase to add here. Please be patient and I will go through it. _____________________________________________________________________ this is HEADER: 1. open Microsoft Word 2002 (10.6802.6735) SP 3 2. File => New ( or Ctrl + N) 3. View => Header Footer 4. Write text to HEADER _____________________________________________________________________ _____________________________________________________________________ this is FOOTER: 1. open Microsoft Word 2002 (10.6802.6735) SP 3 2. File => New ( or Ctrl + N) 3. View => Header Footer 4. Write text to FOOTER _____________________________________________________________________ 5. write text to main area 6. epand text to second page (lots of enter) => header and footer will be added to second page - nice 7. save document as “test_from_Word_to_OpenOffice_2_0_3.rtf†8. close document in microsoft Word 2002 (10.6802.6735) sp 3 9. close microsoft Word 2002 (10.6802.6735) sp 3 10. open document “test_from_Word_to_OpenOffice_2_0_3.rtf†in OpenOffice 2.0.3. ___________________________________________________________________ 11. and there it is: => header and footer are in the first page => header and footer are NOT in the second page ___________________________________________________________________ 12. make a small change to the document in OpenOffice 2.0.3. 13. close OpenOffice 2.0.3. ((=> select rtf-format, when that is asked)) 14. open document “test_from_Word_to_OpenOffice_2_0_3.rtf†in microsoft Word 2002 (10.6802.6735) sp 3 ___________________________________________________________________ 15. and there it is: => header and footer have disappeared from the second page => header and footer are NOT in the second page ___________________________________________________________________ 16. additional feature - if there is enough text, then in the second page there is NOT header and and footer in microsoft Word 2002 (10.6802.6735) sp 3 17. additional feature - if there is enough text, then header and footer might be added randomly to pages 4, 5, 6, 7, 8, etc. 18. interesting - very interesting Created attachment 39059 [details]
PDF exports from phases 1-18
It is not that random as I first thought. I made even simpler test case this time. User "mba" was wondering if this only related to the file sended by "sherter". I can verify with my files that this is not related to that file. The amount of sections seems not affect. But in every second section header and footer is not visible. There was some discussion that should this issue be handled in version 3. According to my experiences RTF is quite widely used format and this issue should be corrected as soon as possible. Of course you have lot to do and there is priorities - so that is up to you. The test CREATE simple RTF - no bells and whistles 1. new document with Word 2002 (10.6802.6735) SP 3 (English version) 2. VIEW => Header and Footer 3. Add text to Header and Footer 4. INSERT => Break => Section break types => Next Page 5. Repeat previous phase 6 times, and you have 6 sections separated 6. save this as document as "RTF_from_word.rtf" Section 1: OK, HEADER VISIBLE, FOOTER VISIBLE Section 2: OK, HEADER VISIBLE, FOOTER VISIBLE Section 3: OK, HEADER VISIBLE, FOOTER VISIBLE Section 4: OK, HEADER VISIBLE, FOOTER VISIBLE Section 5: OK, HEADER VISIBLE, FOOTER VISIBLE Section 6: OK, HEADER VISIBLE, FOOTER VISIBLE 7. close "RTF_from_word.rtf" CREATED simple RTF - no bells and whistles 8. Open "RTF_from_word.rtf" in OpenOffice 2.0.3 Section 1: OK Section 2: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 3: OK Section 4: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 5: OK Section 6: HEADER NOT VISIBLE, FOOTER NOT VISIBLE 9.Export PDF "PDF_export_from_OpenOffice.pdf" from OpenOffice 2.0.3 10. Open "PDF_export_from_OpenOffice.pdf" in PDF reader Section 1: OK Section 2: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 3: OK Section 4: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 5: OK Section 6: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Close "PDF_export_from_OpenOffice.pdf" in PDF reader 11. Save "RTF_from_word.rtf" in OpenOffice 2.0.3 as "ODT_in_OpenOffice.odt" 12. Close "ODT_in_OpenOffice.odt" 13. Open "ODT_in_OpenOffice.odt" in OpenOffice 2.0.3 Section 1: OK Section 2: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 3: OK Section 4: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 5: OK Section 6: HEADER NOT VISIBLE, FOOTER NOT VISIBLE 14. Close "ODT_in_OpenOffice.odt" 15. Open "RTF_from_word.rtf" in OpenOffice 2.0.3 16. Add one sentence to document, and save it as "RTF_changed_in_OpenOffice.rtf" 17. Close "RTF_changed_in_OpenOffice.rtf" 18. Open "RTF_changed_in_OpenOffice.rtf" in Word 2002 (10.6802.6735) SP 3 Section 1: OK Section 2: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 3: OK Section 4: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 5: OK Section 6: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Interesting - very interesting I made a repeat test with 10 sections, "Repeat_test_1.rtf" PDF export "Repeat_test_1.pdf" from this Section 1: OK Section 2: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 3: OK Section 4: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 5: OK Section 6: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 7: OK Section 8: HEADER NOT VISIBLE, FOOTER NOT VISIBLE Section 9: OK Section 10: HEADER NOT VISIBLE, FOOTER NOT VISIBLE The amount of sections seems not affect. But in every second section header and footer is not visible. Interesting - very interesting Created attachment 39090 [details]
Even simpler testcase, files and PDF
I tried this with 2.1 and it no longer turns headers and footers into alternating headers and footers. I can't close this as resloved with the interface I have since I can't change the status or set a resolution. ama->mru: Please check if all problems are solved?! MRU->AMA: the problem regarding the doc file is solved, but not for the RTF version. Thus I set the Target to "3.x" and lower the Prio to P3. Henning, please take over Hi again, I tested these cases again. Test 1: Same problem. - files from "HeaderFooter.zip" provided by sherter. - RTF file - some footers are missing - some headers are missing TEST 1 info: - WIN XP SP 2 + latest updates - OOo 3.1.0 - OOO310m11 - build 9399 - Finnish Language Pack: OOo_3.1.0rc2_20090427_Win32Intel_langpack_fi.exe Test 2: Same problem - files from "HeaderFooter.zip" provided by sherter. - RTF file - some footers are missing - some headers are missing TEST 2 info - PCLinuxOS LXDE.2009.4 - OOo 3.1.0 - OOO310m11 - build 9399 - there is also mentioned that Build 3.1.0.5 - Finnish OpenOffice - updates by PCLinuxOS package manager. Test 3: Same problem - files from "HeaderFooter.zip" provided by sherter. - RTF file - some footers are missing - some headers are missing TEST 3 info: - Debian 5 - OOo 2.4.1 - open-office.core. 1:24.1+dfsg-1 - Wed Mar 25 21:25:25 UTC 2009 - Finnish OpenOffice - updates by package manager. Regards, tmjura Reset assigne to the default "issues@openoffice.apache.org". |