super(parent);
}
- public InlineArea getInlineArea() {
- String str = this.properties.get("character").getString();
- if (str.length() == 1) {
- org.apache.fop.area.inline.Character ch =
- new org.apache.fop.area.inline.Character(
- str.charAt(0));
- return ch;
- }
- return null;
- }
-
private void setup() throws FOPException {
// Common Aural Properties
}
public void serveVisitor(Character node) {
- InlineArea inline = node.getInlineArea();
+ InlineArea inline = getCharacterInlineArea(node);
if (inline != null) {
LeafNodeLayoutManager lm = new LeafNodeLayoutManager();
lm.setUserAgent(node.getUserAgent());
}
}
+ public InlineArea getCharacterInlineArea(Character node) {
+ String str = node.properties.get("character").getString();
+ if (str.length() == 1) {
+ org.apache.fop.area.inline.Character ch =
+ new org.apache.fop.area.inline.Character(
+ str.charAt(0));
+ return ch;
+ }
+ return null;
+ }
+
/**
* This adds a leafnode layout manager that deals with the
* created viewport/image area.