summaryrefslogtreecommitdiff
path: root/svx/README
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-04-03 15:31:01 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-04-07 09:18:17 +0200
commita595cf0fa7fc3e51d1a2b6d44cdc767e08c58514 (patch)
tree067254a6bafadd334b234030507ada04b91060e9 /svx/README
parentf135e0863647f605b389ae02ba8a87a792ff5833 (diff)
More additions about SdrView / SdrModel.
Change-Id: I2178d61af1f49c971ccec817852260020ec8f0aa
Diffstat (limited to 'svx/README')
-rw-r--r--svx/README20
1 files changed, 18 insertions, 2 deletions
diff --git a/svx/README b/svx/README
index 9224fdeb56fa..022f1126c16b 100644
--- a/svx/README
+++ b/svx/README
@@ -32,8 +32,24 @@ SdrObject <- SdrAttrObj <- E3dObject <- E3dCompoundObject <- E3dCubeObj
The above is incomplete of course.
-Associated are the SdrPaintView's - they have quite a deep chain of
-inheritance, where each new class adds a bit of functionality:
+== SdrModel / SdrView ==
+
+Copied from svdview.hxx:
+
+ First of all the app creates a SdrModel.
+ Then it opens a Win and creates a SdrView.
+ ShowSdrPage() announces a page at SdrView.
+ It's possible to show SdrView in any Wins at once.
+
+ SdrView can show as many Wins as it wants at once. Pages are announced
+ or checked out with the help of ShowSdrPage()/HideSdrPage(). For every announced
+ page there is a SdrPageView instance in container aPages. If more than one page
+ is showed, you have to pay attention that the offset parameter of ShowSdrPage()
+ is conformed to the size of the page (to prevent overlapping of two pages).
+
+SdrView itself is inherited from many objects in a chain of inheritance (all
+that starts with SdrPaintView - that is itself inherited from few classes
+too):
SdrPaintView <- SdrSnapView <- SdrMarkView <- SdrEditView <- SdrPolyEditView
^