sferyx.administration.renderers.pdfexport
Class PDFExportSystem
java.lang.Object
sferyx.administration.renderers.pdfexport.PDFExportSystem
public class PDFExportSystem
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fontNamesToFilesMapping
public static java.util.Hashtable fontNamesToFilesMapping
fontNamesToFontMapping
public static java.util.Hashtable fontNamesToFontMapping
searchedForFonts
public static boolean searchedForFonts
PDFExportSystem
public PDFExportSystem()
setEmbedAllTrueTypeFonts
public void setEmbedAllTrueTypeFonts(boolean embed)
setScaleToFitWidth
public void setScaleToFitWidth(boolean scale)
isScaleToFitWidth
public boolean isScaleToFitWidth()
setTTFFontFolderName
public void setTTFFontFolderName(java.lang.String folderName)
getTTFFontFolderName
public java.lang.String getTTFFontFolderName()
asHex
public static java.lang.String asHex(byte[] buf)
setCharset
public void setCharset(java.lang.String _newCharset)
setPDFAComplianceEnabled
public void setPDFAComplianceEnabled(boolean enabled)
isPDFAComplianceEnabled
public boolean isPDFAComplianceEnabled()
isLastTextObject
public boolean isLastTextObject(java.util.Vector pageContent,
int j)
setDiscardEmptyPages
public void setDiscardEmptyPages(boolean discard)
setDemo
public void setDemo(java.lang.String headerString)
setFirstPageHeader
public void setFirstPageHeader(java.lang.String headerString)
setFirstPageFooter
public void setFirstPageFooter(java.lang.String footerString)
getFirstPageFooterElement
public javax.swing.text.Element getFirstPageFooterElement(javax.swing.text.View view)
setHeader
public void setHeader(java.lang.String headerString)
setFooter
public void setFooter(java.lang.String footerString)
setGeneratePageNumbers
public void setGeneratePageNumbers(java.lang.String text)
export
public void export(java.io.OutputStream exportStream,
HTMLBrowser htmlBrowser,
java.awt.print.PageFormat pageFormat_)
- Will export the entire content of the HTMLEditor as a PDF document to the given stream with a given PageFormat.
export
public void export(java.io.OutputStream exportStream,
HTMLBrowser htmlBrowser)
- Will export the entire content of the HTMLEditor as a PDF document to the given stream. This method will ask a page format to be specified
getPageNumberElement
public javax.swing.text.Element getPageNumberElement(javax.swing.text.View view)
getFooterElement
public javax.swing.text.Element getFooterElement(javax.swing.text.View view)
getFirstPageHeaderElement
public javax.swing.text.Element getFirstPageHeaderElement(javax.swing.text.View view)
getHeaderElement
public javax.swing.text.Element getHeaderElement(javax.swing.text.View view)
getTableHeaderElement
public javax.swing.text.Element getTableHeaderElement(javax.swing.text.View view)
removeViewsFromVector
public void removeViewsFromVector(javax.swing.text.View view)
printTableHeaderViewFromTable
public float printTableHeaderViewFromTable(javax.swing.text.View view,
java.awt.Shape allocation,
boolean print)
setDoNotBreakTablesAcrossPages
public void setDoNotBreakTablesAcrossPages(boolean disablebreak)
isDoNotBreakTablesAcrossPages
public boolean isDoNotBreakTablesAcrossPages()
setDoNotBreakListsAcrossPages
public void setDoNotBreakListsAcrossPages(boolean disablebreak)
isDoNotBreakListsAcrossPages
public boolean isDoNotBreakListsAcrossPages()