import java.io.Serializable;
import java.util.Map;
-import java.util.HashMap;
/**
* The page.
import org.apache.fop.datatypes.ColorType;
import org.apache.fop.traits.BorderProps;
-import org.apache.fop.layout.FontState;
import java.io.Serializable;
import java.util.Map;
/**
* Return the string for debugging.
- *
- * @param the string from the data value
*/
public String toString() {
return data.toString();
import org.apache.fop.area.Area;
import org.apache.fop.area.Block;
-import org.apache.fop.render.Renderer;
import java.util.List;
import java.util.ArrayList;
package org.apache.fop.area.inline;
import org.apache.fop.area.Area;
-import org.apache.fop.area.Block;
import org.apache.fop.render.Renderer;
import java.util.List;
package org.apache.fop.layout;
-import org.apache.fop.datatypes.Length;
-
/**
* Store all hyphenation related properties on an FO.
* Public "structure" allows direct member access.
import org.apache.fop.apps.FOPException;
public class AreaClass {
- public static String UNASSIGNED = "unassigned";
+ public static final String UNASSIGNED = "unassigned";
- public static String XSL_NORMAL = "xsl-normal";
- public static String XSL_ABSOLUTE = "xsl-absolute";
- public static String XSL_FOOTNOTE = "xsl-footnote";
- public static String XSL_SIDE_FLOAT = "xsl-side-float";
- public static String XSL_BEFORE_FLOAT = "xsl-before-float";
+ public static final String XSL_NORMAL = "xsl-normal";
+ public static final String XSL_ABSOLUTE = "xsl-absolute";
+ public static final String XSL_FOOTNOTE = "xsl-footnote";
+ public static final String XSL_SIDE_FLOAT = "xsl-side-float";
+ public static final String XSL_BEFORE_FLOAT = "xsl-before-float";
// checker method
public static String setAreaClass(String areaClass) throws FOPException {
package org.apache.fop.layout;
+import java.util.HashMap;
+
public interface FontDescriptor {
// Required
public int getStemV();
public boolean hasKerningInfo();
- public java.util.HashMap getKerningInfo();
+ public HashMap getKerningInfo();
public boolean isEmbeddable();
public byte getSubType();
public org.apache.fop.pdf.PDFStream getFontFile(int objNum);
public static final int NORMAL = 400;
public static final int BOLD = 700;
- HashMap usedFonts;
- HashMap triplets; // look up a font-triplet to find a font-name
- HashMap fonts; // look up a font-name to get a font (that implements FontMetric at least)
+ private HashMap usedFonts;
+ private HashMap triplets; // look up a font-triplet to find a font-name
+ private HashMap fonts; // look up a font-name to get a font (that implements FontMetric at least)
public FontInfo() {
this.triplets = new HashMap();
package org.apache.fop.layout;
import java.util.HashMap;
-
-import org.apache.fop.fo.properties.FontVariant;
import org.apache.fop.render.pdf.CodePointMapping;
public class FontState {
package org.apache.fop.layout;
-import java.io.*;
-
import org.apache.fop.area.PageViewport;
public class PageMaster {
package org.apache.fop.layout;
-import org.apache.fop.apps.FOPException;
-
/**
* This class holds information about text-decoration
*
import org.xml.sax.Attributes;
// Java
-import java.io.FileReader;
import java.io.File;
-import java.io.FileWriter;
-import java.io.PrintWriter;
import java.io.IOException;
-import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.net.URL;