DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class GlobalSettings

java.lang.Object
  extended by com.cete.dynamicpdf.GlobalSettings

public final class GlobalSettings
extends java.lang.Object

Represents the class that contains the global settings used by the library.


Method Summary
static PdfFormat getDefaultOutputPdfFormat()
          Gets the default format for the PDF document.
static PdfVersion getDefaultOutputPdfVersion()
          Gets the default version for the PDF document.
static java.lang.String getPathToFontsResourceDirectory()
          Gets Path to default fonts resource directory.
static void setDefaultOutputPdfFormat(PdfFormat format)
          Sets the default format for the PDF document.
static void setDefaultOutputPdfVersion(PdfVersion version)
          Sets the default version for the PDF document.
static void setPathToFontsResourceDirectory(java.lang.String value)
          Sets Path to default fonts resource directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPathToFontsResourceDirectory

public static java.lang.String getPathToFontsResourceDirectory()
Gets Path to default fonts resource directory. On Windows environment it will be default to Windows fonts directory.

Returns:
pathToFontsDirectory path to default fonts resource directory.

setPathToFontsResourceDirectory

public static void setPathToFontsResourceDirectory(java.lang.String value)
Sets Path to default fonts resource directory.

Parameters:
value - path to default fonts resource directory.

getDefaultOutputPdfVersion

public static PdfVersion getDefaultOutputPdfVersion()
Gets the default version for the PDF document.

Returns:
defaultPdfVersion the default version for the PDF document.

setDefaultOutputPdfVersion

public static void setDefaultOutputPdfVersion(PdfVersion version)
Sets the default version for the PDF document.

Parameters:
version - default version for the PDF document.

getDefaultOutputPdfFormat

public static PdfFormat getDefaultOutputPdfFormat()
Gets the default format for the PDF document.

Returns:
defaultPdfFormat the default format for the PDF document.

setDefaultOutputPdfFormat

public static void setDefaultOutputPdfFormat(PdfFormat format)
Sets the default format for the PDF document.

Parameters:
format - format for the PDF document.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software