[Libreoffice-commits] core.git: sw/README
Miklos Vajna
vmiklos at collabora.co.uk
Mon Sep 4 10:12:09 UTC 2017
sw/README | 12 ++++++++++++
1 file changed, 12 insertions(+)
New commits:
commit bbcd952c062288d9ee1efe9c786c2146abf457ea
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Sep 4 12:09:42 2017 +0200
sw: document the "leaf" layout concept
For some reason this is missing from the usual wiki pages.
Change-Id: I2c3dcce983053452dc9fd1e886f8169678d7e6a4
diff --git a/sw/README b/sw/README
index 60de27ba4ccd..54feb78fa7d1 100644
--- a/sw/README
+++ b/sw/README
@@ -197,3 +197,15 @@ There are multiple model classes involved for fields:
Note that there is no UNO service to represent a list.
+=== Layout ===
+
+The layout is a tree of SwFrame subclasses, the following relationships are
+possible between frames:
+
+- You can visit the tree by following the upper, lower, next and previous pointers.
+- The functionality of flowing of a frame across multiple parents (e.g. pages)
+ is implemented in SwFlowFrame, which is not an SwFrame subclass. The logical
+ chain of such frames can be visited using the follow and precede pointers.
+ ("Leaf" is a term that refers to such a relationship.)
+- In case a frame is split into multiple parts, then the first one is called
+ master, while the others are called follows.
More information about the Libreoffice-commits
mailing list