jdbreport.model.io.itext.pdf
Class PdfFileType
java.lang.Object
jdbreport.model.io.itext.pdf.PdfFileType
- All Implemented Interfaces:
- Comparable<FileType>, FileType
- Direct Known Subclasses:
- PdfFileType, PdfFileType
public abstract class PdfFileType
- extends Object
- implements FileType
- Version:
- 2.0 07.06.2011
- Author:
- Andrey Kholmanskih
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FONT_PATHS
public static final String FONT_PATHS
- See Also:
- Constant Field Values
DEFAULT_FONT
public static final String DEFAULT_FONT
- See Also:
- Constant Field Values
PdfFileType
public PdfFileType()
getExtensions
public String[] getExtensions()
- Specified by:
getExtensions
in interface FileType
getDescription
public String getDescription()
- Specified by:
getDescription
in interface FileType
getReader
public ReportReader getReader()
- Specified by:
getReader
in interface FileType
getWriter
public ReportWriter getWriter()
- Specified by:
getWriter
in interface FileType
getContentType
public String getContentType()
- Specified by:
getContentType
in interface FileType
- Returns:
- MIME type
getOrder
public int getOrder()
- Specified by:
getOrder
in interface FileType
- Returns:
- Sorting number in the FileChooser
compareTo
public int compareTo(FileType o)
- Specified by:
compareTo
in interface Comparable<FileType>
createPdfWriter
public abstract ReportWriter createPdfWriter()
getFontPaths
public abstract Collection<String> getFontPaths()
getDefaultFont
public abstract String getDefaultFont()
setFontPaths
public abstract void setFontPaths(Collection<String> fontPaths)
setDefaultFont
public abstract void setDefaultFont(String font)
initFontMapper
public abstract void initFontMapper()