|
|
|
|
|
|
|
|
|
|
|
|
|
|
foUserAgent = ua; |
|
|
foUserAgent = ua; |
|
|
if (foUserAgent == null) { |
|
|
if (foUserAgent == null) { |
|
|
foUserAgent = new FOUserAgent(); |
|
|
|
|
|
|
|
|
foUserAgent = FopFactory.newInstance().newFOUserAgent(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.stream = stream; |
|
|
this.stream = stream; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foUserAgent = ua; |
|
|
foUserAgent = ua; |
|
|
if (foUserAgent == null) { |
|
|
if (foUserAgent == null) { |
|
|
foUserAgent = new FOUserAgent(); |
|
|
|
|
|
|
|
|
foUserAgent = FopFactory.newInstance().newFOUserAgent(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
createDefaultHandler(); |
|
|
createDefaultHandler(); |
|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
public Fop(String outputFormat) { |
|
|
public Fop(String outputFormat) { |
|
|
this.outputFormat = outputFormat; |
|
|
this.outputFormat = outputFormat; |
|
|
foUserAgent = new FOUserAgent(); |
|
|
|
|
|
|
|
|
foUserAgent = FopFactory.newInstance().newFOUserAgent(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |