[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Floating frames
From: Thomas Zander <zander () xs4all ! nl>
Date: 2000-08-31 20:51:39
[Download RAW message or body]
I believe I finally got them working the way they should!
Here is the patch.
I am only looking for the magic function call which will update the
display for me.. But not today.
zander@namlook:~/sources/kde/koffice/kword > cvs diff kword_frame.cc
Index: kword_frame.cc
===================================================================
RCS file: /home/kde/koffice/kword/kword_frame.cc,v
retrieving revision 1.48
diff -u -3 -p -r1.48 kword_frame.cc
--- kword_frame.cc 2000/08/31 19:15:42 1.48
+++ kword_frame.cc 2000/08/31 20:46:11
@@ -925,7 +923,11 @@ void KWTextFrameSet::splitParag( KWParag
}
_new->appendText( _string, len );
+ for (unsigned int i = 0; i < len; i++)
+ if (_string[i].attrib) delete _string[i].attrib;
+ free (_string);
+
updateCounters();
}
@@ -2083,12 +2084,6 @@ KWGroupManager::KWGroupManager( const KW
cell->cols = lCells.at(i)->cols;
cell->frameSet= dynamic_cast<KWTextFrameSet*>(lCells.at(i)->frameSet)->getCopy();
cell->frameSet->setGroupManager(this);
- if ( anchored ) {
- KWFrame *topLeftFrame = cell->frameSet->getFrame( 0 );
-
- if (topLeftFrame)
- topLeftFrame->moveBy( origin.x(), origin.y() );
- }
cells.append( cell );
}
}
--
Thomas Zander zander@earthling.net
The only thing worse than failure is the fear of trying something new
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic