diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-13 17:52:10 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-07-15 12:43:12 +0000 |
commit | bb8d731c1a5d1acbab95b2db0dcf7ce09e0a1df3 (patch) | |
tree | 9633b1dd98f3da73173fcc2e6556c96e1a3e3f03 /svx/README | |
parent | 3d70765218986abba8b6d7c8e3cadd83a62ee035 (diff) |
svx: extend README about VC/VOC/OC
Change-Id: I48f47e203fb6b5c7adf553b33b26eb2ffef1f926
Reviewed-on: https://gerrit.libreoffice.org/27190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svx/README')
-rw-r--r-- | svx/README | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/svx/README b/svx/README index 022f1126c16b..debe0d72dba4 100644 --- a/svx/README +++ b/svx/README @@ -72,7 +72,7 @@ http://www.openoffice.org/marketing/ooocon2006/presentations/wednesday_g11.odp, slide number 6. .------- Model --------------. .------- View -----------------------------------------. -| SdrObject - ViewContact | 1..* | ViewObjectContact 1..* | +| SdrObject - ViewContact | 1..* | ViewObjectContact | | getChild() |------| getPrimitiveList() -----> Object(s) ---> SdrView | | getVOC() | | getRecPrimitiveList() Contact | | getViewInd... | |________|_____________________________________________| @@ -92,6 +92,10 @@ svx/source/sdr/primitive2d The ViewContact / ViewObject / ViewObjectContact are in svx/source/sdr/contact Decomposes the SdrObjects, and does all sort of operations on them. -[So far I haven't found a definition / concept what are supposed to be the -ViewContact / ViewObject / ViewObjectContact. If you find that out, please -fix this README :-)] +If the number of visualizable objects (e.g. SdrObjects) is X, and the number of +SdrViews is Y, then: + +- there are X ViewContact instances (1:1 relation with a visualizable object) +- there are Y ObjectContact instances (1:1 relation with an SdrView) +- there are X*Y ViewObjecContact instances (1:N relation to both + visualizable objects and SdrViews) |