[prev in list] [next in list] [prev in thread] [next in thread] List: koffice-devel Subject: Image in header displayed only on first page From: Matus Uzak <matus.uzak () ixonos ! com> Date: 2010-03-30 15:00:22 Message-ID: op.vadymwgcxo1g39 () localhost [Download RAW message or body] Hi, I'm working on a bug related to displaying of an image inserted into header/footer (odt file). The image is displayed only on the first page. The header content is loaded in the KoTextLoader::loadBody function, where a KoShape is created for the image and an anchor is placed into the QTextDocument corresponding to the header KWTextFrameSet. In KWFrameLayout::createNewFramesForPage function a Frame with a default KoShape is created and connected to the header frameset. This happens for the first page. For the second page a new frame (referred to as nested frame) with a KWCopyShape is created and connected to the header frameset. What would be the correct approach to be able to display also the KoShape anchored to the QTextDocument? br, Matus Uzak ["kworddT4465.odt" (kworddT4465.odt)] PK I}<| l styles.xmlYKo6>7BGE~ƈ6a7yAKF" IQ"mVCbs0֜oyKSGXH \ :_ӌ儖ǻc*gٶT%Rk,#`rex+!I䊢˕VcV>ze' \ Vh*)r[ϯʭ/ԓm>w.n*ƂG|v. Rq<*|*<p@d]0LeXWfW[tcx2tll5БjWJUv2__L ||)<9dꃰ+T/N 6"F6`G<Y=3Xf]foEm yd:wؗЧ^Gm)""W @NrRh"]`?0CtwџA4 V!zq" Eeqm@{Ts"yʑ@@NxGH EM[mPT 9fJ * dÔb3"(~?SBFRVg 1)`(+` U?áĪjZFGP I*'s \ QڿrqڧמF`tKPMJv V \ PҰ,Vq7]`tC@$-^)DuԘ,lxykc=$`cZm"wk;Rpqf6" JNyUAqa[a@I`,;;37\ \ m-f;Fpi9XW~>c<cv\բ.6Q (G4w1op:Xf \ <$}ȟS"M5%:;o;ԘCw/Jɽ1QȸO/(ĖL \ f:BHB+ ؒr+=.d.d}a!z(t؊iy$zBzix<zC:a<v3҃v73=@Z \ ;v1 z~%F`I:Km;wtp2F 0/;~-,D6s0Q<9]͡,kvr[3tc{HmeI^:3BG@RFșӃȨL'^3E[8toX^qu.]y[=Bl2&h C5 tEv|xx:Y<JL5:CPOo٫B -2QövE0+T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