org.apache.poi.xwpf.converter.pdf
Class PdfOptions

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.Options
      extended by org.apache.poi.xwpf.converter.pdf.PdfOptions

public class PdfOptions
extends Options

Pdf options to customize the DOCX->PDF converter.


Method Summary
static PdfOptions create()
          Create an instance of Pdf options.
 PdfOptions fontEncoding(String fontEncoding)
          Set font encoding to use when retrieving fonts.
 PdfOptions fontProvider(IFontProvider fontProvider)
          Set the font provider.
static PdfOptions getDefault()
          Returns the default Pdf Options.
 String getFontEncoding()
          Returns the font encoding.
 IFontProvider getFontProvider()
          Returns the font provider.
 
Methods inherited from class org.apache.poi.xwpf.converter.core.Options
getExtractor, setExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static PdfOptions create()
Create an instance of Pdf options.

Returns:

getFontEncoding

public String getFontEncoding()
Returns the font encoding.

Returns:

fontEncoding

public PdfOptions fontEncoding(String fontEncoding)
Set font encoding to use when retrieving fonts. The default value is underlying operating system encoding

Parameters:
fontEncoding - font encoding to use
Returns:
this instance

fontProvider

public PdfOptions fontProvider(IFontProvider fontProvider)
Set the font provider.

Parameters:
fontProvider -
Returns:

getFontProvider

public IFontProvider getFontProvider()
Returns the font provider.

Returns:

getDefault

public static PdfOptions getDefault()
Returns the default Pdf Options.

Returns:


Copyright © 2013. All rights reserved.