|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.fop.apps.FOPException; |
|
|
import org.apache.fop.apps.FOPException; |
|
|
import org.apache.fop.fo.FONode; |
|
|
import org.apache.fop.fo.FONode; |
|
|
|
|
|
import org.apache.fop.fo.PropertyList; |
|
|
import org.w3c.dom.DOMImplementation; |
|
|
import org.w3c.dom.DOMImplementation; |
|
|
import org.w3c.dom.Document; |
|
|
import org.w3c.dom.Document; |
|
|
import org.w3c.dom.Element; |
|
|
import org.w3c.dom.Element; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @see org.apache.fop.fo.FONode#processNode |
|
|
* @see org.apache.fop.fo.FONode#processNode |
|
|
*/ |
|
|
*/ |
|
|
public void processNode(String elementName, Locator locator, |
|
|
|
|
|
Attributes attlist) throws FOPException { |
|
|
|
|
|
super.processNode(elementName, locator, attlist); |
|
|
|
|
|
|
|
|
public void processNode(String elementName, |
|
|
|
|
|
Locator locator, |
|
|
|
|
|
Attributes attlist, |
|
|
|
|
|
PropertyList propertyList) throws FOPException { |
|
|
|
|
|
super.processNode(elementName, locator, attlist, propertyList); |
|
|
createBasicDocument(); |
|
|
createBasicDocument(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
converted = true; |
|
|
converted = true; |
|
|
String fontname = "Helvetica"; |
|
|
String fontname = "Helvetica"; |
|
|
int fontstyle = 0; |
|
|
int fontstyle = 0; |
|
|
int inlinefontstyle = 0; |
|
|
|
|
|
|
|
|
//int inlinefontstyle = 0; |
|
|
int displayfontsize = 12; |
|
|
int displayfontsize = 12; |
|
|
int inlinefontsize = 12; |
|
|
int inlinefontsize = 12; |
|
|
|
|
|
|