Lines 21-26
package org.apache.fop.area;
Link Here
|
21 |
|
21 |
|
22 |
import java.util.List; |
22 |
import java.util.List; |
23 |
|
23 |
|
|
|
24 |
import org.apache.fop.accessibility.StructureElement; |
25 |
|
24 |
/** |
26 |
/** |
25 |
* Represents a page sequence in the area tree. |
27 |
* Represents a page sequence in the area tree. |
26 |
*/ |
28 |
*/ |
Lines 30-35
public class PageSequence extends AreaTreeObject {
Link Here
|
30 |
private LineArea title; |
32 |
private LineArea title; |
31 |
private String language; |
33 |
private String language; |
32 |
private String country; |
34 |
private String country; |
|
|
35 |
private StructureElement structTree; |
36 |
private int finishedPages; |
37 |
private boolean finished; |
33 |
|
38 |
|
34 |
/** |
39 |
/** |
35 |
* Main constructor |
40 |
* Main constructor |
Lines 127-130
public class PageSequence extends AreaTreeObject {
Link Here
|
127 |
} |
132 |
} |
128 |
} |
133 |
} |
129 |
|
134 |
|
|
|
135 |
public void finish() { |
136 |
finished = true; |
137 |
if (finishedPages == getPageCount() && finished) |
138 |
this.structTree = null; |
139 |
} |
140 |
|
141 |
public void finishPage(PageViewport page) { |
142 |
finishedPages++; |
143 |
if (finishedPages == getPageCount() && finished) |
144 |
this.structTree = null; |
145 |
} |
146 |
|
147 |
public StructureElement getStructureTree() { |
148 |
return this.structTree; |
149 |
} |
150 |
|
151 |
public void setStructureTree(StructureElement structTree) { |
152 |
this.structTree = structTree; |
153 |
} |
130 |
} |
154 |
} |