[xep-support] Programmatically configuring COMPRESS option

Michael Sulyaev msulyaev at renderx.com
Wed Feb 27 02:36:30 PST 2008


Jason Zaugg wrote:
> Is it possibly to programmatically configure the COMPRESS option for
> the PDF backend?
> I have tried passing options of "COMPRESS" and "PDF.COMPRESS" without success.

Hello Jason,

To configure a generator, pass required options as the third argument 
for FOTarget constructor:
   java.util.Properties PDFopts = new java.util.Properties();
   PDFopts.setProperty("COMPRESS", "false");
   xep.render(source, new com.renderx.xep.FOTarget(out, "PDF", PDFopts));

Your question better suites for private 'support at renderx.com' list, 
which is devoted to integration of RenderX products, than here. 
'xep-support at renderx.com' is a public list devoted to general 'howto' 
and XSL FO related questions. Your other question about 
DeflaterOutputStream and 32-core monster will be handled via private 
support. API is not public.

-- 
Best regards,
Michael Sulyaev
http://www.renderx.net
http://www.renderx.com
mailto:support at renderx.com
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list