kintomiko / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

Add an option like "enablePdfAByDefault" to DefaultDocumentFormatRegistry #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
By adding the option every created PDF is in format PDF/A. 

To create PDF/A by default, set the boolean flag to enable these settings. 

Attached is a proposed patch. 

Original issue reported on code.google.com by michael....@gmail.com on 8 Jan 2010 at 11:24

Attachments:

GoogleCodeExporter commented 8 years ago
Won't do sorry.

You can easily extend and customise DefaultDocumentFormatRegistry if you want 
to, or
use JsonDocumentFormatRegistry and customise document-format.js instead.

Such option applies to a specific DocumentFormat, not the whole registry 
anyway. If
we add an enablePdfAByDefault() method, then there will be all sorts of 
enableThis()
and enableThat() options that could also be requested.

Original comment by mirko.na...@gmail.com on 15 Jan 2010 at 4:39