[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst |
Date: |
Sun, 09 Feb 2003 07:20:30 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/02/09 07:20:30
Modified files:
doc/pegboard/buoydesign--tjl: peg.rst
Log message:
A bit more about pagespan nodes
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/buoydesign--tjl/peg.rst.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
Patches:
Index: gzz/doc/pegboard/buoydesign--tjl/peg.rst
diff -u gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.15
gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.16
--- gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.15 Sat Feb 8 17:13:39 2003
+++ gzz/doc/pegboard/buoydesign--tjl/peg.rst Sun Feb 9 07:20:29 2003
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas J. Lukka
-:Last-Modified: $Date: 2003/02/08 22:13:39 $
-:Revision: $Revision: 1.15 $
+:Last-Modified: $Date: 2003/02/09 12:20:29 $
+:Revision: $Revision: 1.16 $
:Status: Incomplete
Goals: get the xupdf and pp functionality under one model.
@@ -352,7 +352,7 @@
The cellNodeType BuoyViewNodeType is the node type that is to be used
for xanalogical links to cells.
-.. UML:: ConcreteSemiPluggables
+.. UML:: PageSpanSemiPluggableBuoyNodes
jlinkpackage gzz.view.buoy
@@ -366,10 +366,11 @@
class ScrollblockCellLinker
jlink
inherit CellBuoyViewLinker
- assoc - multi(1) role(transclusionNodeType) WholePageSpanNodeType
- assoc - multi(1) role(xulinkNodeType) AnchorPageSpanNodeType
assoc - multi(1) role(cellNodeType) BuoyViewNodeType
+ awhole = assoc ScrollblockCellLinker - multi(1) role(transclusionNodeType)
WholePageSpanNodeType
+ aanchor = assoc ScrollblockCellLinker - multi(1) role(xulinkNodeType)
AnchorPageSpanNodeType
+
class AbstractPageSpanNodeType "pyClass"
inherit BuoyViewNodeType
methods
@@ -385,6 +386,9 @@
dep "create" AbstractPageSpanNodeType PageSpanMainNode
---
+
+ CellBuoyViewLinker.c = (0,0);
+
horizontally(80, inters, CellBuoyViewLinker,
BuoyViewNodeType, BuoyViewMainNode);
@@ -392,11 +396,19 @@
vertically(30, pspstuff, AbstractPageSpanNodeType, pspnt,
PageSpanMainNode);
- vertically(100, topi, inters, ScrollblockCellLinker);
+ vertically(100, topi, CellBuoyViewLinker, ScrollblockCellLinker);
- AbstractPageSpanNodeType.c = ScrollblockCellLinker.c + (50, -100);
+ AbstractPageSpanNodeType.c = ScrollblockCellLinker.c + (100, -100);
+ awhole.p = ScrollblockCellLinker.c{left} .. WholePageSpanNodeType.c;
+ aanchor.p = ScrollblockCellLinker.c{right} .. AnchorPageSpanNodeType.c;
+As seen, ScrollblockCellLinker is the class implementing CellBuoyViewLinker,
+and when asked to make links for a given cell, it looks for both
+enfiladeoverlaps (transclusions) and xu links. Different types
+of pagespannodetypes are used for these: for transclusions seeing
+the whole original pagespan scrollblock is good, and for xu links,
+seeing only the anchor part of the target is good.
Foo::
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/01
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/02
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst,
Tuomas J. Lukka <=