aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/TextInfo.java
blob: 1bd9d818533106281e920089846a55d61c87f47a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * $Id$
 * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
 * For details on use and redistribution please refer to the
 * LICENSE file included with these sources."
 */

package org.apache.fop.fo;

// FOP
import org.apache.fop.layout.FontState;
import org.apache.fop.datatypes.ColorType;
import org.apache.fop.traits.SpaceVal;

/**
 * Collection of properties used in
 */
    public class TextInfo {
        public FontState fs;
        public ColorType color;
        public int wrapOption;
        public boolean bWrap ; // True if wrap-option = WRAP
        public int whiteSpaceCollapse;
        public int verticalAlign;
        public int lineHeight;

	// Props used for calculating inline-progression-dimension
        public SpaceVal wordSpacing;
        public SpaceVal letterSpacing;

	// Add hyphenation props too
	public boolean bCanHyphenate=true;

        // Textdecoration
        public boolean underlined = false;
        public boolean overlined = false;
        public boolean lineThrough = false;
    }