intarsys PDF library API

de.intarsys.pdf.fd
Class FDDocument

java.lang.Object
  extended by de.intarsys.pdf.fd.FDDocument

public class FDDocument
extends Object


Method Summary
 COSDocument cosGetDoc()
          get the COS level implementation of the document
static FDDocument createFromCOS(COSDocument doc)
          create a fd document based on a cos level object
static FDDocument createNew()
          create a FDDoc from scratch
 COSCatalog getCatalog()
          lookup the catalog dictionary in a document
 FDFDF getFdf()
           
 ILocator getLocator()
           
 void save()
           
 void save(ILocator locator)
           
 void save(ILocator locator, Map options)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFromCOS

public static FDDocument createFromCOS(COSDocument doc)
create a fd document based on a cos level object

Parameters:
doc - COSDocument to base this FDDoc on
Returns:
A new FDDoc object.

createNew

public static FDDocument createNew()
create a FDDoc from scratch

Returns:
A new FDDoc.

getCatalog

public COSCatalog getCatalog()
lookup the catalog dictionary in a document

Returns:
the document catalog object

cosGetDoc

public COSDocument cosGetDoc()
get the COS level implementation of the document

Returns:
the underlying COSDocument

getFdf

public FDFDF getFdf()

save

public void save()
          throws IOException
Throws:
IOException

getLocator

public ILocator getLocator()

save

public void save(ILocator locator,
                 Map options)
          throws IOException
Throws:
IOException

save

public void save(ILocator locator)
          throws IOException
Throws:
IOException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.