package org.apache.fop.datatypes;
import org.apache.fop.fo.Property;
+import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.dom.svg.*;
} else if(type.equals("stroke-antialiasing")) {
// boolean
} else {
- System.err.println("WARNING Unknown style element : " + type);
+ MessageHandler.logln("WARNING: Unknown style element : " + type);
}
} else {
- System.err.println("WARNING Invalid style element " + str);
+ MessageHandler.errorln("ERROR: Invalid style element " + str);
}
}
}
package org.apache.fop.datatypes;
import org.apache.fop.fo.Property;
+import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.dom.svg.*;
import org.apache.fop.dom.svg.SVGTransformImpl;
transform.setMatrix(matrix);
list.addElement(transform);
} else {
- System.err.println("WARNING Unknown Transform type : " + type);
+ MessageHandler.errorln("WARNING: Unknown Transform type : " + type);
}
}
}
package org.apache.fop.dom.svg;
import org.apache.fop.fo.Property;
+import org.apache.fop.messaging.MessageHandler;
import java.util.*;
} catch (Exception e) {
dvalue = 0;
unitType = SVG_LENGTHTYPE_UNKNOWN;
- System.err.println("ERROR: unknown length units in " + len);
+ MessageHandler.errorln("ERROR: unknown length units in " + len);
}
return dvalue;
}
package org.apache.fop.dom.svg;
import org.apache.fop.fo.Property;
+import org.apache.fop.messaging.MessageHandler;
import java.util.*;
int l = len.length();
if (l == 0) {
- System.err.println("WARNING: empty length");
+ MessageHandler.errorln("WARNING: empty length");
this.millipoints = 0;
} else {
// could be an array of points, as in for svg:text
}
} catch (Exception e) {
dvalue = 0;
- System.err.println("ERROR: unknown length units in " + len);
+ MessageHandler.errorln("ERROR: unknown length units in " + len);
}
return dvalue;
}