protected CopyStream ( |
||
inp | ||
return |
protected PdfStream CopyStream(PRStream inp)
{
PRStream outp = new PRStream(inp, null);
foreach (PdfName key in inp.Keys) {
PdfObject value = inp.Get(key);
parentObjects.Add(value, inp);
PdfObject res = CopyObject(value);
if ((res != null) && !(res is PdfNull))
outp.Put(key, res);
}
return outp;
}