[FOray-commit] SF.net SVN: foray: [7299] trunk/foray/foray-areatree/src/java/org/foray/area
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-29 17:52:10
|
Revision: 7299 Author: victormote Date: 2006-05-29 10:51:49 -0700 (Mon, 29 May 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7299&view=rev Log Message: ----------- Make space-before and space-after traits of line-areas zero. Modified Paths: -------------- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java =================================================================== --- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-05-29 16:32:23 UTC (rev 7298) +++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-05-29 17:51:49 UTC (rev 7299) @@ -773,14 +773,30 @@ return traitGeneratedBy().traitPaddingAfter(traitIsLast()); } + public int traitSpaceBeforeMinimum() { + return traitGeneratedBy().traitSpaceBeforeMinimum(); + } + public int traitSpaceBeforeOptimum() { return traitGeneratedBy().traitSpaceBeforeOptimum(); } + public int traitSpaceBeforeMaximum() { + return traitGeneratedBy().traitSpaceBeforeMaximum(); + } + + public int traitSpaceAfterMinumum() { + return traitGeneratedBy().traitSpaceAfterMinimum(); + } + public int traitSpaceAfterOptimum() { return traitGeneratedBy().traitSpaceAfterOptimum(); } + public int traitSpaceAfterMaximum() { + return traitGeneratedBy().traitSpaceAfterMaximum(); + } + public int traitSpaceStartOptimum() { Area ancestor = this.ancestorBlockAreaNotALineArea(); return traitGeneratedBy().traitSpaceStartOptimum(ancestor.crIPD()); Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java =================================================================== --- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-05-29 16:32:23 UTC (rev 7298) +++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-05-29 17:51:49 UTC (rev 7299) @@ -848,4 +848,40 @@ return this; } + public int traitSpaceBeforeMinimum() { + /* space-before applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + + public int traitSpaceBeforeOptimum() { + /* space-before applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + + public int traitSpaceBeforeMaximum() { + /* space-before applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + + public int traitSpaceAfterMinumum() { + /* space-after applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + + public int traitSpaceAfterOptimum() { + /* space-after applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + + public int traitSpaceAfterMaximum() { + /* space-after applies to the parent normal block area, but not to the + * line-area.*/ + return 0; + } + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |