SVN commit 488240 by dfaure: Fix handling of embedded documents in KWord, by adding virtual QPoint applyViewTransformations( const QPoint& ) const; virtual QPoint reverseViewTransformations( const QPoint& ) const; to KoView. The goal is to replace the matrix() virtual, which isn't flexible enough to handle e.g. kword's preview mode with 4 pages per row. I hope this doesn't break other koffice apps (embedding in kspread still seems to work, at least when not using rotations. I doubt it fully worked with rotations before this commit?). Anyhow, please double check if any regressions are introduced in child doc handling. Also made the KoPoint(QPoint) constructor explicit to avoid surprises. Commented out some unused methods in KoChild. This commit is BIC, make sure to recompile all koffice apps after upgrading lib. CCMAIL: koffice-devel@kde.org M +4 -3 kpresenter/KPrAutoformObject.cpp M +48 -46 kpresenter/KPrCanvas.cpp M +2 -2 kpresenter/KPrPointObject.cpp M +9 -9 kpresenter/KPrUtils.cpp M +1 -1 krita/ui/kis_canvas.cc M +4 -2 kword/KWDocument.cpp M +1 -1 kword/KWFrameSet.cpp M +1 -20 kword/KWPartFrameSet.cpp M +35 -21 kword/KWView.cpp M +7 -0 kword/KWView.h M +3 -2 kword/KWViewMode.cpp M +1 -1 kword/KWViewMode.h M +7 -1 lib/kofficecore/KoPoint.h M +5 -3 lib/kofficecore/handler.cpp M +23 -21 lib/kofficecore/koChild.cc M +19 -14 lib/kofficecore/koChild.h [POSSIBLY UNSAFE: system] M +4 -2 lib/kofficecore/koDocument.cc M +6 -7 lib/kofficecore/koDocument.h [POSSIBLY UNSAFE: system] M +2 -2 lib/kofficecore/koDocumentChild.cc M +41 -56 lib/kofficecore/koView.cc M +32 -14 lib/kofficecore/koView.h _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel