Lines 26-31
import org.apache.xmlgraphics.image.loader.ImageInfo;
Link Here
|
26 |
|
26 |
|
27 |
import org.apache.fop.fonts.FontTriplet; |
27 |
import org.apache.fop.fonts.FontTriplet; |
28 |
import org.apache.fop.traits.BorderProps; |
28 |
import org.apache.fop.traits.BorderProps; |
|
|
29 |
import org.apache.fop.traits.Visibility; |
29 |
import org.apache.fop.util.ColorUtil; |
30 |
import org.apache.fop.util.ColorUtil; |
30 |
|
31 |
|
31 |
import static org.apache.fop.fo.Constants.EN_REPEAT; |
32 |
import static org.apache.fop.fo.Constants.EN_REPEAT; |
Lines 156-163
public final class Trait implements Serializable {
Link Here
|
156 |
/** The ptr trait. Used for accessibility */ |
157 |
/** The ptr trait. Used for accessibility */ |
157 |
public static final Integer PTR = 37; |
158 |
public static final Integer PTR = 37; |
158 |
|
159 |
|
|
|
160 |
/** Used to disable the rendering of a Block http://www.w3.org/TR/xsl/#rend-vis */ |
161 |
public static final Integer VISIBILITY = 38; |
162 |
|
159 |
/** Maximum value used by trait keys */ |
163 |
/** Maximum value used by trait keys */ |
160 |
public static final int MAX_TRAIT_KEY = 37; |
164 |
public static final int MAX_TRAIT_KEY = 38; |
161 |
|
165 |
|
162 |
private static final TraitInfo[] TRAIT_INFO = new TraitInfo[MAX_TRAIT_KEY + 1]; |
166 |
private static final TraitInfo[] TRAIT_INFO = new TraitInfo[MAX_TRAIT_KEY + 1]; |
163 |
|
167 |
|
Lines 221-226
public final class Trait implements Serializable {
Link Here
|
221 |
put(SPACE_AFTER, new TraitInfo("space-after", Integer.class)); |
225 |
put(SPACE_AFTER, new TraitInfo("space-after", Integer.class)); |
222 |
put(IS_REFERENCE_AREA, new TraitInfo("is-reference-area", Boolean.class)); |
226 |
put(IS_REFERENCE_AREA, new TraitInfo("is-reference-area", Boolean.class)); |
223 |
put(IS_VIEWPORT_AREA, new TraitInfo("is-viewport-area", Boolean.class)); |
227 |
put(IS_VIEWPORT_AREA, new TraitInfo("is-viewport-area", Boolean.class)); |
|
|
228 |
put(VISIBILITY, new TraitInfo("visibility", Visibility.class)); |
224 |
|
229 |
|
225 |
} |
230 |
} |
226 |
|
231 |
|