public void setDictionary(int id, PdfObject value) { value.setID(id); switch (id) { case PdfDictionary.Encrypt: Encrypt = value; break; case PdfDictionary.Extends: Extends = value; break; case PdfDictionary.Info: Info = value; break; case PdfDictionary.Root: Root = value; break; // case PdfDictionary.XObject: // XObject=value; // break; default: super.setDictionary(id, value); } }
@Override public void setDictionary(final int id, final PdfObject value) { value.setID(id); switch (id) { case PdfDictionary.TR: TR = value; break; default: super.setDictionary(id, value); } }
public void setDictionary(int id, PdfObject value) { value.setID(id); switch (id) { case PdfDictionary.I: I = value; break; // // case PdfDictionary.XObject: // XObject=value; // break; default: super.setDictionary(id, value); } }