org.zefer.pd4ml
Class PD4Constants

java.lang.Object
  extended by org.zefer.pd4ml.PD4Constants
Direct Known Subclasses:
PD4ML

public class PD4Constants
extends java.lang.Object


Field Summary
static java.awt.Dimension A0
          2384 x 3370 points
static java.awt.Dimension A1
          1684 x 2384 points
static java.awt.Dimension A10
          74 x 105 points
static java.awt.Dimension A2
          1190 x 1684 points
static java.awt.Dimension A3
          842 x 1190 points
static java.awt.Dimension A4
          595 x 842 points
static java.awt.Dimension A5
          421 x 595 points
static java.awt.Dimension A6
          297 x 421 points
static java.awt.Dimension A7
          210 x 297 points
static java.awt.Dimension A8
          148 x 210 points
static java.awt.Dimension A9
          105 x 148 points
static int AllowAnnotate
          Document access permission (bit 6).
static int AllowAssembly
          Document access permission (bit 11, value = 1024).
static int AllowContentExtraction
          Document access permission (bit 10, value = 512).
static int AllowCopy
          Document access permission (bit 5, value = 16).
static int AllowDegradedPrint
          Document access permission (bit 3, value = 4).
static int AllowFillingForms
          Document access permission (bit 9).
static int AllowModify
          Document access permission (bit 4, value = 8).
static int AllowPrint
          Document access permission (bit 12 + bit 3, value = 2052).
static java.awt.Dimension ArchA
          648 x 864 points
static java.awt.Dimension ArchB
          864 x 1296 points
static java.awt.Dimension ArchC
          1296 x 1728 points
static java.awt.Dimension ArchD
          1728 x 2592 points
static java.awt.Dimension ArchE
          2592 x 3456 points
static java.awt.Dimension ArchE1
          2160 x 3024 points
static int DefaultPermissions
          Document permissions.
static java.awt.Dimension HALFLETTER
          396 x 612 points
static java.awt.Dimension ISOB0
          2836 x 4008 points
static java.awt.Dimension ISOB1
          2004 x 2836 points
static java.awt.Dimension ISOB2
          1418 x 2004 points
static java.awt.Dimension ISOB3
          1002 x 1418 points
static java.awt.Dimension ISOB4
          709 x 1002 points
static java.awt.Dimension ISOB5
          501 x 709 points
static java.awt.Dimension LEDGER
          1224 x 792 points
static java.awt.Dimension LEGAL
          612 x 1008 points
static java.awt.Dimension LETTER
          612 x 792 points
static java.awt.Dimension NOTE
          540 x 720 points
static java.lang.String PD4ML_ABSOLUTE_ADDRESS_SPACE
          "pd4ml.absolute.address.space" (not yet completely implemented!)
static java.lang.String PD4ML_ALLOWED_RESOURCE_LOCATION
          "pd4ml.allowed.resource.location" forces PD4ML to avoid loading of external resources (CSSs, images, attachments) located outside of (not nested to) the given URI.
static java.lang.String PD4ML_BACKGROUND_AS_PATTERNS
          "pd4ml.background.as.patterns" - Allows to switch on pre-v385fx3 background image logic with "false" value.
static java.lang.String PD4ML_BASIC_AUTHENTICATION
          "pd4ml.basic.authentication" - expect authentication string in "login:password" form.
static java.lang.String PD4ML_CACHE_ENABLE
          "pd4ml.cache.enable" - allows to disable internal file cache.
static java.lang.String PD4ML_CACHE_IMAGES_IN_TMP_DIR
          "pd4ml.cache.images.in.tmp.dir" if "true" - PD4ML does not cache downloaded images in RAM, but uses /tmp directory for that.
static java.lang.String PD4ML_CONFIG_FILE
          "pd4ml.config.file" - environment variable specifies configuration file location.
static java.lang.String PD4ML_CONFIG_HANDLER_CLASS
          "pd4ml.config.handler.class" - environment variable specifies configuration file reader class.
static java.lang.String PD4ML_CSS_IMPORT_DIRECTIVE
          "pd4ml.css.import.directive".
static java.lang.String PD4ML_DISABLE_EXTERNAL_ATTACHMENTS
          "pd4ml.disable.external.attachments" if "true", it does not load attachments (<pd4ml:attachment>) from local system and from URL.
static java.lang.String PD4ML_DOCUMENT_DATE
          "pd4ml.document.date" - allows to override document creation date. useful if needed a byte-to-byte document comparison.
static java.lang.String PD4ML_DOCUMENT_HEIGHT_PX
          "pd4ml.document.height.px" - allows to request document height in pixels (ignoring page breaks, if any)
static java.lang.String PD4ML_DOCUMENT_VIEW_MODE
          "pd4ml.document.view.mode" defines default view mode for generated document, one from: "SinglePage", "OneColumn", "TwoColumnLeft", "TwoColumnRight", "TwoPageLeft", "TwoPageRight";
static java.lang.String PD4ML_ENABLE_CANVAS_INTERPRETER
          "pd4ml.enable.canvas.interpreter" - "true" forces PD4ML to lookup PD4CanvasHandler and use it as <canvas> hadler.
static java.lang.String PD4ML_ENABLE_HTTP_ERRORS
          "pd4ml.enable.http.errors" - by "true" propagates HTML loading HTTP errors to the PD4ML API level.
static java.lang.String PD4ML_EXTERNAL_CANVAS_HANDLER
          "PD4CanvasHandler" pluggable <canvas> interpreter class name (the class must implement org.zefer.cache.DynamicImageHandler interface)
static java.lang.String PD4ML_EXTRA_RESOURCE_LOADERS
          "pd4ml.extra.resource.loaders"
static java.lang.String PD4ML_FAKE_BROWSER
          "pd4ml.fake.browser" - allows PD4ML to pretend to be a regular browser (from HTTP perspective).
static java.lang.String PD4ML_FIX20130116
          "pd4ml.fix.20130116" - "true" forces PD4ML to workaround problem with occasional repeating of table rows after a page break
static java.lang.String PD4ML_FORCE_RTL
          "pd4ml.force.rtl" - Applies Right-To-Left word order also to not-RTL languages.
static java.lang.String PD4ML_GENERATE_TOOLTIPS
          "pd4ml.generate.tooltips" if "true", produces tooltips (PDF annotations) from TITLE HTML attributes.
static java.lang.String PD4ML_HEADER_HEIGHT_LIMIT
          PD4ML output format "pdf"
static java.lang.String PD4ML_HTTP_PROXY
          "pd4ml.http.proxy" - allows to define HTTP proxy "server:port" for current conversion, keeping global proxy settings untouched.
static java.lang.String PD4ML_HTTP_REQUEST_DISPATCHER
          "pd4ml.http.request.dispatcher" if "enable" (default) - it tries to use RequestDispatcher.include() to load local web application resources (relies on PD4ML#useHttpRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)), if "disable" - behaves as PD4ML versions prior to v360fx1.
static java.lang.String PD4ML_IDS_AS_DESTINATIONS
          "pd4ml.ids.as.destinations"
static java.lang.String PD4ML_IMAGE_REPOSITORY
          "pd4ml.image.repository" - property specifies additional image location(s).
static java.lang.String PD4ML_INFO_AUTHOR
          "pd4ml.info.author" - allows to request document author info
static java.lang.String PD4ML_INFO_TITLE
          "pd4ml.info.title" - allows to request document title
static java.lang.String PD4ML_INITIAL_PAGE_NUMBER
          "pd4ml.initial.page.number"
static java.lang.String PD4ML_LEGACY_RTL_MODE
          "pd4ml.legacy.rtl.mode" - "true" does not change table columns order when dir=rtl (for backward compatibility with older PD4ML versions).
static java.lang.String PD4ML_MEDIA_TYPE_PRINT
          "pd4ml.media.type.print".
static java.lang.String PD4ML_MOBILE_DEVICE_OPTIMIZE
          "pd4ml.mobile.device.optimize" - used in internal projects; to be changed in the future
static java.lang.String PD4ML_MOBILE_DEVICE_WIDTH
          "pd4ml.mobile.device.width" - used in internal projects; to be changed in the future
static java.lang.String PD4ML_PDFA_STATUS
          "pd4ml.pdfa.status" - returns an array of PDF/A conformity warnings or errors.
static java.lang.String PD4ML_PRINT_DIALOG_POPUP
          "pd4ml.print.dialog.popup" - if "true" forces PDF viewer to pop up a print dialog.
static java.lang.String PD4ML_RIGHT_EDGE_PX
          "pd4ml.right.edge.px" - allows to request the maximal element width for the last rendered document.
static java.lang.String PD4ML_SESSIONID_APPEND
          "pd4ml.sessionid.append" - if "false" suppresses session ID append to the image/CSS requests
static java.lang.String PD4ML_SESSIONID_VARNAME
          "pd4ml.sessionid.varname"
static java.lang.String PD4ML_STYLESHEETS_TO_OMIT
          "pd4ml.stylesheets.to.omit" - semicolon-delimited list of stylesheet path patterns, to be ignored by document rendering
static java.lang.String PD4ML_TOTAL_PAGES
          "pd4ml.total.pages" - allows to request number of pages of generated PDF
static java.lang.String PDF
          Default is "true" - header/footer height max value is limited by 1/3 page height.
static java.lang.String PDFA
          PD4ML output format "pdfa" (overrides generatePdfa(boolean))
static java.lang.String PNG24
          PD4ML output format "PNG" (24bit colorspace, supports alpha channel).
static java.lang.String PNG8
          PD4ML output format "PNG" (indexed colorspace).
static java.lang.String RTF
          PD4ML output format "rtf".
static java.lang.String RTF_WMF
          PD4ML output format "rtf".
static java.awt.Dimension TABLOID
          792 x 1224 points
static java.lang.String TIFF
          PD4ML output format: multipage "TIFF".
static java.lang.String TIFF_COMPRESSED
          PD4ML output format: multipage compressed "TIFF".
static double TRANSLATE_FACTOR
          2.835 points per mm
 
Constructor Summary
PD4Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A10

public static final java.awt.Dimension A10
74 x 105 points


A9

public static final java.awt.Dimension A9
105 x 148 points


A8

public static final java.awt.Dimension A8
148 x 210 points


A7

public static final java.awt.Dimension A7
210 x 297 points


A6

public static final java.awt.Dimension A6
297 x 421 points


A5

public static final java.awt.Dimension A5
421 x 595 points


A4

public static final java.awt.Dimension A4
595 x 842 points


A3

public static final java.awt.Dimension A3
842 x 1190 points


A2

public static final java.awt.Dimension A2
1190 x 1684 points


A1

public static final java.awt.Dimension A1
1684 x 2384 points


A0

public static final java.awt.Dimension A0
2384 x 3370 points


ISOB5

public static final java.awt.Dimension ISOB5
501 x 709 points


ISOB4

public static final java.awt.Dimension ISOB4
709 x 1002 points


ISOB3

public static final java.awt.Dimension ISOB3
1002 x 1418 points


ISOB2

public static final java.awt.Dimension ISOB2
1418 x 2004 points


ISOB1

public static final java.awt.Dimension ISOB1
2004 x 2836 points


ISOB0

public static final java.awt.Dimension ISOB0
2836 x 4008 points


HALFLETTER

public static final java.awt.Dimension HALFLETTER
396 x 612 points


LETTER

public static final java.awt.Dimension LETTER
612 x 792 points


TABLOID

public static final java.awt.Dimension TABLOID
792 x 1224 points


LEDGER

public static final java.awt.Dimension LEDGER
1224 x 792 points


NOTE

public static final java.awt.Dimension NOTE
540 x 720 points


LEGAL

public static final java.awt.Dimension LEGAL
612 x 1008 points


ArchA

public static final java.awt.Dimension ArchA
648 x 864 points


ArchB

public static final java.awt.Dimension ArchB
864 x 1296 points


ArchC

public static final java.awt.Dimension ArchC
1296 x 1728 points


ArchD

public static final java.awt.Dimension ArchD
1728 x 2592 points


ArchE

public static final java.awt.Dimension ArchE
2592 x 3456 points


ArchE1

public static final java.awt.Dimension ArchE1
2160 x 3024 points


TRANSLATE_FACTOR

public static final double TRANSLATE_FACTOR
2.835 points per mm

See Also:
Constant Field Values

DefaultPermissions

public static final int DefaultPermissions
Document permissions. Enables everything by default.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowDegradedPrint

public static final int AllowDegradedPrint
Document access permission (bit 3, value = 4).
(isStrong=false) Print the document.
(isStrong=true) Print the document (possibly not at the highest quality level, depending on whether bit 12 is also set).

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowModify

public static final int AllowModify
Document access permission (bit 4, value = 8).
Modify the contents of the document by operations other than those controlled by bits 6, 9, and 11.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowCopy

public static final int AllowCopy
Document access permission (bit 5, value = 16).
(isStrong=false) Copy or otherwise extract text and graphics from the document, including extracting text and graphics (in support of accessibility to disabled users or for other purposes).
(isStrong=true) Copy or otherwise extract text and graphics from the document by operations other than that controlled by bit 10.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowAnnotate

public static final int AllowAnnotate
Document access permission (bit 6).
Add or modify text annotations, fill in interactive form fields, and, if bit 4 is also set, create or modify interactive form fields.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowFillingForms

public static final int AllowFillingForms
Document access permission (bit 9).
(only if isStrong=true) Fill in existing interactive form fields (including signature fields), even if bit 6 is clear.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowContentExtraction

public static final int AllowContentExtraction
Document access permission (bit 10, value = 512).
(only if isStrong=true) Extract text and graphics (in support of accessibility to disabled users or for other purposes).

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowAssembly

public static final int AllowAssembly
Document access permission (bit 11, value = 1024).
(only if isStrong=true) Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit 4 is clear.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

AllowPrint

public static final int AllowPrint
Document access permission (bit 12 + bit 3, value = 2052).
(only if isStrong=true) Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and bit 3 is set), printing is limited to a lowlevel representation of the appearance, possibly of degraded quality.

See Also:
PD4ML.setPermissions(String, int, boolean), Constant Field Values

PD4ML_IDS_AS_DESTINATIONS

public static final java.lang.String PD4ML_IDS_AS_DESTINATIONS
"pd4ml.ids.as.destinations"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_MOBILE_DEVICE_WIDTH

public static final java.lang.String PD4ML_MOBILE_DEVICE_WIDTH
"pd4ml.mobile.device.width" - used in internal projects; to be changed in the future

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_MOBILE_DEVICE_OPTIMIZE

public static final java.lang.String PD4ML_MOBILE_DEVICE_OPTIMIZE
"pd4ml.mobile.device.optimize" - used in internal projects; to be changed in the future

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_EXTRA_RESOURCE_LOADERS

public static final java.lang.String PD4ML_EXTRA_RESOURCE_LOADERS
"pd4ml.extra.resource.loaders"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_DOCUMENT_VIEW_MODE

public static final java.lang.String PD4ML_DOCUMENT_VIEW_MODE
"pd4ml.document.view.mode" defines default view mode for generated document, one from: "SinglePage", "OneColumn", "TwoColumnLeft", "TwoColumnRight", "TwoPageLeft", "TwoPageRight";

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_DOCUMENT_DATE

public static final java.lang.String PD4ML_DOCUMENT_DATE
"pd4ml.document.date" - allows to override document creation date. useful if needed a byte-to-byte document comparison.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_FAKE_BROWSER

public static final java.lang.String PD4ML_FAKE_BROWSER
"pd4ml.fake.browser" - allows PD4ML to pretend to be a regular browser (from HTTP perspective).

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_CACHE_ENABLE

public static final java.lang.String PD4ML_CACHE_ENABLE
"pd4ml.cache.enable" - allows to disable internal file cache.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_SESSIONID_APPEND

public static final java.lang.String PD4ML_SESSIONID_APPEND
"pd4ml.sessionid.append" - if "false" suppresses session ID append to the image/CSS requests

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_HTTP_PROXY

public static final java.lang.String PD4ML_HTTP_PROXY
"pd4ml.http.proxy" - allows to define HTTP proxy "server:port" for current conversion, keeping global proxy settings untouched. JDK1.5+

Since:
v371
See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_PRINT_DIALOG_POPUP

public static final java.lang.String PD4ML_PRINT_DIALOG_POPUP
"pd4ml.print.dialog.popup" - if "true" forces PDF viewer to pop up a print dialog. (The client PDF viewer should support JavaScript, and the support should not be disabled)

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_MEDIA_TYPE_PRINT

public static final java.lang.String PD4ML_MEDIA_TYPE_PRINT
"pd4ml.media.type.print". PD4ML by default interprets "screen", "all" and "pdf" CSS media types. If the parameter is set to "add", it adds to the list "print" media type. If it is set to "override", it forces PD4ML to ignore "screen", but use "print" instead.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_CSS_IMPORT_DIRECTIVE

public static final java.lang.String PD4ML_CSS_IMPORT_DIRECTIVE
"pd4ml.css.import.directive". If the parameter is set to "disable", @ import directives in CSS stylesheets take no effect,

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_BASIC_AUTHENTICATION

public static final java.lang.String PD4ML_BASIC_AUTHENTICATION
"pd4ml.basic.authentication" - expect authentication string in "login:password" form. It forces to send the authentication info with each request

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_SESSIONID_VARNAME

public static final java.lang.String PD4ML_SESSIONID_VARNAME
"pd4ml.sessionid.varname"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_INITIAL_PAGE_NUMBER

public static final java.lang.String PD4ML_INITIAL_PAGE_NUMBER
"pd4ml.initial.page.number"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_ALLOWED_RESOURCE_LOCATION

public static final java.lang.String PD4ML_ALLOWED_RESOURCE_LOCATION
"pd4ml.allowed.resource.location" forces PD4ML to avoid loading of external resources (CSSs, images, attachments) located outside of (not nested to) the given URI. It does not impact TTF locations and JAR resources addressed via ClassLoader.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_DISABLE_EXTERNAL_ATTACHMENTS

public static final java.lang.String PD4ML_DISABLE_EXTERNAL_ATTACHMENTS
"pd4ml.disable.external.attachments" if "true", it does not load attachments (<pd4ml:attachment>) from local system and from URL. It does not impact inline-defined attachments.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_GENERATE_TOOLTIPS

public static final java.lang.String PD4ML_GENERATE_TOOLTIPS
"pd4ml.generate.tooltips" if "true", produces tooltips (PDF annotations) from TITLE HTML attributes.

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_ABSOLUTE_ADDRESS_SPACE

public static final java.lang.String PD4ML_ABSOLUTE_ADDRESS_SPACE
"pd4ml.absolute.address.space" (not yet completely implemented!) if "pages" (default) - it uses all page space for absolute positioning and ignores explicit page breaks, if "document" - behaves as PD4ML versions prior to v360: breaks with flow (not absolute positioned) content.

See Also:
Constant Field Values

PD4ML_CACHE_IMAGES_IN_TMP_DIR

public static final java.lang.String PD4ML_CACHE_IMAGES_IN_TMP_DIR
"pd4ml.cache.images.in.tmp.dir" if "true" - PD4ML does not cache downloaded images in RAM, but uses /tmp directory for that. The mode may cause performance loss, but should save memory heap size

See Also:
Constant Field Values

PD4ML_HTTP_REQUEST_DISPATCHER

public static final java.lang.String PD4ML_HTTP_REQUEST_DISPATCHER
"pd4ml.http.request.dispatcher" if "enable" (default) - it tries to use RequestDispatcher.include() to load local web application resources (relies on PD4ML#useHttpRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)), if "disable" - behaves as PD4ML versions prior to v360fx1.

See Also:
Constant Field Values

PD4ML_PDFA_STATUS

public static final java.lang.String PD4ML_PDFA_STATUS
"pd4ml.pdfa.status" - returns an array of PDF/A conformity warnings or errors. An empty array means "everything is OK". A single PD4StatusMessage marked as Error means, the resulting document is not PDF/A compliant

See Also:
PD4ML.getLastRenderInfo(String), PD4ML.StatusMessage.isError(), PD4ML.generatePdfa(boolean), Constant Field Values

PD4ML_DOCUMENT_HEIGHT_PX

public static final java.lang.String PD4ML_DOCUMENT_HEIGHT_PX
"pd4ml.document.height.px" - allows to request document height in pixels (ignoring page breaks, if any)

See Also:
PD4ML.getLastRenderInfo(String), Constant Field Values

PD4ML_RIGHT_EDGE_PX

public static final java.lang.String PD4ML_RIGHT_EDGE_PX
"pd4ml.right.edge.px" - allows to request the maximal element width for the last rendered document. If the document root has elements with width="100%", the returned value is going to be very close to htmlWidth rendering parameter value.

See Also:
PD4ML.getLastRenderInfo(String), PD4ML.setHtmlWidth(int), Constant Field Values

PD4ML_TOTAL_PAGES

public static final java.lang.String PD4ML_TOTAL_PAGES
"pd4ml.total.pages" - allows to request number of pages of generated PDF

See Also:
PD4ML.getLastRenderInfo(String), Constant Field Values

PD4ML_INFO_AUTHOR

public static final java.lang.String PD4ML_INFO_AUTHOR
"pd4ml.info.author" - allows to request document author info

See Also:
PD4ML.getLastRenderInfo(String), Constant Field Values

PD4ML_INFO_TITLE

public static final java.lang.String PD4ML_INFO_TITLE
"pd4ml.info.title" - allows to request document title

See Also:
PD4ML.getLastRenderInfo(String), Constant Field Values

PD4ML_LEGACY_RTL_MODE

public static final java.lang.String PD4ML_LEGACY_RTL_MODE
"pd4ml.legacy.rtl.mode" - "true" does not change table columns order when dir=rtl (for backward compatibility with older PD4ML versions). Default is "false"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_FORCE_RTL

public static final java.lang.String PD4ML_FORCE_RTL
"pd4ml.force.rtl" - Applies Right-To-Left word order also to not-RTL languages. Default is "false"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_BACKGROUND_AS_PATTERNS

public static final java.lang.String PD4ML_BACKGROUND_AS_PATTERNS
"pd4ml.background.as.patterns" - Allows to switch on pre-v385fx3 background image logic with "false" value. Default is "true"

See Also:
PD4ML.setDynamicParams(java.util.Map), Constant Field Values

PD4ML_ENABLE_CANVAS_INTERPRETER

public static final java.lang.String PD4ML_ENABLE_CANVAS_INTERPRETER
"pd4ml.enable.canvas.interpreter" - "true" forces PD4ML to lookup PD4CanvasHandler and use it as <canvas> hadler. Default is "false"

See Also:
PD4ML_EXTERNAL_CANVAS_HANDLER, Constant Field Values

PD4ML_CONFIG_FILE

public static final java.lang.String PD4ML_CONFIG_FILE
"pd4ml.config.file" - environment variable specifies configuration file location. The configuration (in .properties file format) makes possible to trigger PD4ML API calls without a re-compiling of end-applications. If a configuration file is specified, it impacts all PD4ML conversions.

See Also:
PD4ConfigHandler, Constant Field Values

PD4ML_CONFIG_HANDLER_CLASS

public static final java.lang.String PD4ML_CONFIG_HANDLER_CLASS
"pd4ml.config.handler.class" - environment variable specifies configuration file reader class. If set, it overrides the default PD4ConfigHandler.

See Also:
PD4ConfigHandler, Constant Field Values

PD4ML_IMAGE_REPOSITORY

public static final java.lang.String PD4ML_IMAGE_REPOSITORY
"pd4ml.image.repository" - property specifies additional image location(s). Multiple directories can be delimited with a semicolon (;). The locations are used instead of absolute or relative image paths given in the source HTML. Use with care (only as the last resort by image referencing problems) The path(s) may include $[current.dir] placeholder to be substituted with System.getProperty("user.dir")

See Also:
Constant Field Values

PD4ML_FIX20130116

public static final java.lang.String PD4ML_FIX20130116
"pd4ml.fix.20130116" - "true" forces PD4ML to workaround problem with occasional repeating of table rows after a page break

See Also:
Constant Field Values

PD4ML_STYLESHEETS_TO_OMIT

public static final java.lang.String PD4ML_STYLESHEETS_TO_OMIT
"pd4ml.stylesheets.to.omit" - semicolon-delimited list of stylesheet path patterns, to be ignored by document rendering

See Also:
Constant Field Values

PD4ML_ENABLE_HTTP_ERRORS

public static final java.lang.String PD4ML_ENABLE_HTTP_ERRORS
"pd4ml.enable.http.errors" - by "true" propagates HTML loading HTTP errors to the PD4ML API level. Default is "false" (the errors are suppressed and a blank PDF is generated)

See Also:
Constant Field Values

PD4ML_HEADER_HEIGHT_LIMIT

public static final java.lang.String PD4ML_HEADER_HEIGHT_LIMIT
PD4ML output format "pdf"

See Also:
PD4ML.outputFormat(String), Constant Field Values

PDF

public static final java.lang.String PDF
Default is "true" - header/footer height max value is limited by 1/3 page height. "false" removes the limitation. Remove the limitation only if you know what you do.

Since:
v395fx4
See Also:
PD4ML.outputFormat(String), Constant Field Values

PDFA

public static final java.lang.String PDFA
PD4ML output format "pdfa" (overrides generatePdfa(boolean))

See Also:
PD4ML.outputFormat(String), PD4ML.generatePdfa(boolean), Constant Field Values

RTF

public static final java.lang.String RTF
PD4ML output format "rtf". Document images are embedded in their original format (compatible with MS Word and few other editors)

See Also:
PD4ML.outputFormat(String), Constant Field Values

RTF_WMF

public static final java.lang.String RTF_WMF
PD4ML output format "rtf". Forces PD4ML to convert images (if any) to WMF for compatibility with WordPad WMF

See Also:
PD4ML.outputFormat(String), Constant Field Values

PNG8

public static final java.lang.String PNG8
PD4ML output format "PNG" (indexed colorspace).

See Also:
PD4ML.outputFormat(String), PD4ML.outputFormat(String, int, int), Constant Field Values

PNG24

public static final java.lang.String PNG24
PD4ML output format "PNG" (24bit colorspace, supports alpha channel).

See Also:
PD4ML.outputFormat(String), PD4ML.outputFormat(String, int, int), Constant Field Values

TIFF

public static final java.lang.String TIFF
PD4ML output format: multipage "TIFF". Requires JAI library in the classpath.

See Also:
PD4ML.outputFormat(String), PD4ML.outputFormat(String, int, int), Constant Field Values

TIFF_COMPRESSED

public static final java.lang.String TIFF_COMPRESSED
PD4ML output format: multipage compressed "TIFF". Requires JAI library in the classpath.

See Also:
PD4ML.outputFormat(String), PD4ML.outputFormat(String, int, int), Constant Field Values

PD4ML_EXTERNAL_CANVAS_HANDLER

public static final java.lang.String PD4ML_EXTERNAL_CANVAS_HANDLER
"PD4CanvasHandler" pluggable <canvas> interpreter class name (the class must implement org.zefer.cache.DynamicImageHandler interface)

See Also:
Constant Field Values
Constructor Detail

PD4Constants

public PD4Constants()


Copyright © 2004-15 zefer.org. All Rights Reserved.