瀏覽代碼

File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... Thanks, Manuel! :-)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374541 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_92-beta
Andreas L. Delmelle 18 年之前
父節點
當前提交
9de5004fa6
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5
    3
      src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java

+ 5
- 3
src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java 查看文件

@@ -363,9 +363,11 @@ public abstract class BreakingAlgorithm {

// index of the first KnuthBox in the sequence
int firstBoxIndex = startIndex;
while (alignment != org.apache.fop.fo.Constants.EN_CENTER
&& ! ((KnuthElement) par.get(firstBoxIndex)).isBox()) {
firstBoxIndex++;
if (alignment != org.apache.fop.fo.Constants.EN_CENTER) {
while (par.size() > firstBoxIndex
&& ! ((KnuthElement) par.get(firstBoxIndex)).isBox()) {
firstBoxIndex++;
}
}

// create an active node representing the starting point

Loading…
取消
儲存