Package org.pdfclown.objects

Examples of org.pdfclown.objects.PdfDictionary


    Document context
    )
  {
    super(
      context.getFile(),
      new PdfDictionary(
        new PdfName[]
        {PdfName.Type},
        new PdfDirectObject[]
        {PdfName.Filespec}
        )
View Full Code Here


    )
  {
    /*
      NOTE: 'RF' entry may be undefined.
    */
    PdfDictionary dependenciesObject = (PdfDictionary)getBaseDataObject().get(PdfName.RF);
    if(dependenciesObject == null)
      return null;

    /*
      NOTE: key entry may be undefined.
    */
    PdfReference dependencyFilesObject = (PdfReference)dependenciesObject.get(key);
    if(dependencyFilesObject == null)
      return null;

    return new RelatedFiles(dependencyFilesObject,getContainer());
  }
View Full Code Here

    )
  {
    /*
      NOTE: 'EF' entry may be undefined.
    */
    PdfDictionary embeddedFilesObject = (PdfDictionary)getBaseDataObject().get(PdfName.EF);
    if(embeddedFilesObject == null)
      return null;

    /*
      NOTE: key entry may be undefined.
    */
    PdfReference embeddedFileObject = (PdfReference)embeddedFilesObject.get(key);
    if(embeddedFileObject == null)
      return null;

    return new EmbeddedFile(embeddedFileObject);
  }
View Full Code Here

    )
  {
    /*
      NOTE: 'RF' entry may be undefined.
    */
    PdfDictionary dependenciesObject = (PdfDictionary)getBaseDataObject().get(PdfName.RF);
    if(dependenciesObject == null)
    {
      dependenciesObject = new PdfDictionary();
      getBaseDataObject().put(PdfName.RF,dependenciesObject);
    }

    dependenciesObject.put(key,value.getBaseObject());
  }
View Full Code Here

    )
  {
    /*
      NOTE: 'EF' entry may be undefined.
    */
    PdfDictionary embeddedFilesObject = (PdfDictionary)getBaseDataObject().get(PdfName.EF);
    if(embeddedFilesObject == null)
    {
      embeddedFilesObject = new PdfDictionary();
      getBaseDataObject().put(PdfName.EF,embeddedFilesObject);
    }

    embeddedFilesObject.put(key,value.getBaseObject());
  }
View Full Code Here

    )
  {
    super(
      context.getFile(),
      new PdfStream(
        new PdfDictionary(
          new PdfName[]{PdfName.Type},
          new PdfDirectObject[]{PdfName.EmbeddedFile}
          ),
        new Buffer(stream.toByteArray())
        )
View Full Code Here

    File context
    )
  {
    super(
      context,
      new PdfDictionary(
        new PdfName[]{PdfName.Type},
        new PdfDirectObject[]{PdfName.Catalog}
        ) // Document catalog [PDF:1.6:3.6.1].
      );
View Full Code Here

  // <dynamic>
  // <constructors>
  public Names(
    Document context
    )
  {super(context.getFile(), new PdfDictionary());}
View Full Code Here

    Document context
    )
  {
    super(
      context.getFile(),
      new PdfDictionary()
      );
  }
View Full Code Here

  // <constructors>
  public File(
    )
  {
    version = VersionEnum.PDF14.getVersion();
    trailer = new PdfDictionary();
    indirectObjects = new IndirectObjects(this, null);
    document = new Document(this);
  }
View Full Code Here

TOP

Related Classes of org.pdfclown.objects.PdfDictionary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.