Examples of PdfDirectObject


Examples of org.pdfclown.objects.PdfDirectObject

  public FormXObject put(
    PdfName key,
    FormXObject value
    )
  {
    PdfDirectObject previousValue;
    if(key == null) // Single state.
    {
      setBaseObject(value.getBaseObject());
      previousValue = appearance.getBaseDataObject().put(statesKey,getBaseObject());
    }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    PdfDataObject baseDataObject = getBaseDataObject();
    if(baseDataObject == null) // No state.
      return null;
    else
    {
      PdfDirectObject previousValue;
      if(baseDataObject instanceof PdfStream) // Single state.
      {
        if(key == null)
        {
          setBaseObject(null);
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'Bl' entry may be undefined.
    */
    PdfDirectObject onBlurObject = getBaseDataObject().get(PdfName.Bl);
    if(onBlurObject == null)
      return null;

    return Action.wrap(onBlurObject,getContainer());
  }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'Fo' entry may be undefined.
    */
    PdfDirectObject onFocusObject = getBaseDataObject().get(PdfName.Fo);
    if(onFocusObject == null)
      return null;

    return Action.wrap(onFocusObject,getContainer());
  }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    */
    if(baseObject == null)
      return null;

    PdfArray dataObject = (PdfArray)File.resolve(baseObject);
    PdfDirectObject pageObject = dataObject.get(0);
    if(pageObject instanceof PdfReference)
      return new LocalDestination(baseObject,container,name);
    else if(pageObject instanceof PdfInteger)
      return new RemoteDestination(baseObject,container,name);
    else
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

  @Override
  public void setSize(
    Dimension2D value
    )
  {
    PdfDirectObject box = getBaseDataObject().getHeader().get(PdfName.BBox);

    PdfArray boxObject = (PdfArray)File.resolve(box);
    ((PdfNumber<?>)boxObject.get(2)).setValue(value.getWidth());
    ((PdfNumber<?>)boxObject.get(3)).setValue(value.getHeight());
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'E' entry may be undefined.
    */
    PdfDirectObject onEnterObject = getBaseDataObject().get(PdfName.E);
    if(onEnterObject == null)
      return null;

    return Action.wrap(onEnterObject,getContainer());
  }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'X' entry may be undefined.
    */
    PdfDirectObject onExitObject = getBaseDataObject().get(PdfName.X);
    if(onExitObject == null)
      return null;

    return Action.wrap(onExitObject,getContainer());
  }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'D' entry may be undefined.
    */
    PdfDirectObject onMouseDownObject = getBaseDataObject().get(PdfName.D);
    if(onMouseDownObject == null)
      return null;

    return Action.wrap(onMouseDownObject,getContainer());
  }
View Full Code Here

Examples of org.pdfclown.objects.PdfDirectObject

    )
  {
    /*
      NOTE: 'U' entry may be undefined.
    */
    PdfDirectObject onMouseUpObject = getBaseDataObject().get(PdfName.U);
    if(onMouseUpObject == null)
      return null;

    return Action.wrap(onMouseUpObject,getContainer());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.