Commit e4c856ea authored by Sebastian Sauer's avatar Sebastian Sauer

more work on anchortype's.

todo;
* KWPageManager does not know about the pages before layout is done
* it's needed to move a frame to a pagenumber (what would in turn need a relayout again)


svn path=/trunk/koffice/; revision=689220
parent 3fd615d9
......@@ -109,8 +109,5 @@ void KoTextFrameLoader::loadImage(KoTextLoadingContext& context, const KoXmlElem
kWarning(32500) << "KoTextFrameLoader::loadImage Failed to create picture shape" << endl;
return;
}
KoShapeLoadingContext shapecontext(context);
if( ! shape->loadOdf(frameElem, shapecontext) )
kWarning(32500) << "KoTextFrameLoader::loadImage Failed to load picture shape" << endl;
}
......@@ -94,11 +94,6 @@ class KOTEXT_EXPORT KoTextFrameLoader
*/
virtual KoShape* loadImageShape(KoTextLoadingContext& context, const KoXmlElement& frameElem, const KoXmlElement& imageElem, QTextCursor& cursor) = 0;
/**
* Load an anchor for the shape and return a KoTextAnchor instance for it.
*/
virtual KoTextAnchor* loadImageAnchor(KoTextLoadingContext& context, const KoXmlElement& anchorElem, QTextCursor& cursor, KoShape* shape) = 0;
private:
/// \internal d-pointer class.
class Private;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment