[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kword/part/frames
From: Matus Hanzes <matus.hanzes () ixonos ! com>
Date: 2010-08-10 13:06:14
Message-ID: 20100810130614.9F768AC7E8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1161616 by hanzes:
Make sure PageBackground is always run-through
M +4 -3 KWFrameLayout.cpp
--- trunk/koffice/kword/part/frames/KWFrameLayout.cpp #1161615:1161616
@@ -66,14 +66,15 @@
// create page background
KWTextFrameSet *fs = getOrCreate(KWord::PageBackgroundFrameSet, page);
if (!hasFrameOn(fs, pageNumber)) {
+ KWFrame *frame = 0;
if (fs->frameCount() == 0) {
KoShape *shape = new KWPageBackground();
- shape->setSize(QSize(20, 10));
- new KWFrame(shape, fs);
+ frame = new KWFrame(shape, fs);
}
else {
- createCopyFrame(fs, page);
+ frame = createCopyFrame(fs, page);
}
+ frame->setTextRunAround(KWord::RunThrough);
}
// create headers & footers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic