[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)]

PKI}<|	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]foEmyd:wؗЧ^Gm)""W
@NrRh"]`?0CtwџA4
V!zq"	Eeqm@{Ts"yʑ@@NxGHEM[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.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tw"a $~ÓP5+4C5}K(B! |ZZ %,7A \
rtG7*-k(?,?G+ ]0Uܯ*MN#4]sHztW \
S.95<^OLt! \
0W?G=SX\v`Z\T|j+rTyxH<OAuse'=6擭gfvRI["xs,'`=d \
9ɉ[h:pZ&|=*NsFex@xKrfh!0cM{gHg>;S!?'U+G] \
Mh:S@NTen.ӤeFOƉYR2;4]!"|"Xɑ| ŋ \
^Laj	p_\Ж<59sSϜWWrvA0xYN-[zQFt/ \
Te$8{'Yhk \
_Oe·vAXcVGăIHs`P,r׮teW9whWW#~_d-'l3UrU3Nb"phJx"w1F]@E$P4c-nJ󿩸VZW85gOs=un:xA \
I+Y75w݉7-Ӿ	~'[-*dBIold_0XґN<9}޾XPHDBv(6i \
C%&w*r$V{@D$K_d>g~z<}n3}g8v_Ԩ%&).r[VIV>Y*
 AuX߇sgώWJ<O{M9հ R{ta-JȍuEF".v
|'@|r8:2JUi#]n;85#zMwc>$ʼncV,{8v͈VSJ$ނp< \
~yoߙW?j6K5ir~&}T :BoA?j95$<vfm6P \
ӗR#VlGF+ˍŸ릭2*(|plrK>Fl"i C
Xvn[lhEg'.V:'m?yToA3'R \
H~TVgߖ4]gbH_ƕ%Fz׊N}vJ{d_h; \
O-tZ"fIi`cGO12 Z!
jL6]Pk!E!-zSD--Qzx;e	YϿtlлQ>T?z0] \
cհv4PKI}<|	l \
styles.xmlPK!3t^2)'mimetypePK \
|z<ED-3content.xmlPK!3t|Px
 meta.xmlPKty<	AMETA-INF/PK!3t_ \
bMETA-INF/manifest.xmlPKty<	A \
Pictures/PK!3tJٕPictures/0.jpgPK \




_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic