소스 검색

FOP-3120: IllegalArgumentException for list in a table

tags/2_9
Simon Steiner 1 년 전
부모
커밋
2eb5249485
2개의 변경된 파일4204개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      fop-core/src/main/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
  2. 4198
    0
      fop/test/layoutengine/standard-testcases/table_list.xml

+ 6
- 1
fop-core/src/main/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java 파일 보기

* @return True if it is the first Position * @return True if it is the first Position
*/ */
public boolean isFirst(Position pos) { public boolean isFirst(Position pos) {
//log.trace("isFirst() smallestPosNumberChecked=" + smallestPosNumberChecked + " " + pos);
if (pos == null) {
return false;
}
verifyNonNullPosition(pos); verifyNonNullPosition(pos);
if (pos.getIndex() == this.smallestPosNumberChecked) { if (pos.getIndex() == this.smallestPosNumberChecked) {
return true; return true;
* @return True if it is the last Position * @return True if it is the last Position
*/ */
public boolean isLast(Position pos) { public boolean isLast(Position pos) {
if (pos == null) {
return false;
}
verifyNonNullPosition(pos); verifyNonNullPosition(pos);
return (pos.getIndex() == this.lastGeneratedPosition return (pos.getIndex() == this.lastGeneratedPosition
&& isFinished()); && isFinished());

+ 4198
- 0
fop/test/layoutengine/standard-testcases/table_list.xml
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장