Bug 275104

Summary: Picture in the header is displaying only in the 1st page of the document (docx-filter produces wrong odd/even/uniform elements)
Product: [Applications] calligrawords Reporter: swathi <swathi.vegesna999>
Component: docxAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: VERIFIED FIXED    
Severity: normal CC: mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Test data
Screenshot in MS Office
Screenshot in Latest calligra Words
Another test data with same issue

Description swathi 2011-06-07 09:52:24 UTC
Created attachment 60728 [details]
Test data

Version: git checkout 9a54655da37b07ee9e670d9f537a8922afc26030
        (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in word 2007 format which has some picture in the header.
Open the same document in Calligra Words, check the display of the header in every page.

Expected outcome:
Picture in the header should be displayed in every page.
Actual outcome:
Picture is displaying only in the 1st page of the document.

Frequency:
Always.
Comment 1 swathi 2011-06-07 09:53:27 UTC
Created attachment 60729 [details]
Screenshot in MS Office
Comment 2 swathi 2011-06-07 09:54:19 UTC
Created attachment 60730 [details]
Screenshot in Latest calligra Words
Comment 3 swathi 2011-06-13 13:38:58 UTC
Created attachment 60959 [details]
Another test data with same issue

Even footer is also displaying in he 1st page only.
Comment 4 Sebastian Sauer 2011-06-15 18:31:08 UTC
Actually that is even correct. Odd headers/footers are only displayed on page 1,3,5,... while even headers/footers are only displayed on page 2,4,6,...

So, if it's wanted that we displayed the same image on every page then be need either make sure that the header-left/footer-left elements are not written so uniform-headers/footers are used or we need to write the same content into the header-left and header vs footer-left and footer elements in the styles.xml.
Comment 5 Sebastian Sauer 2011-06-15 19:22:27 UTC
Fixed with 0384cb3eb939ca58b15a88a5d3e7358fd0eab0e0
Comment 6 swathi 2011-06-29 05:41:40 UTC
Verified in  5f6f9401b53343b140d2bae8587ec3a01f103fe1.