parentData = (PdfDictionary)File.resolve(parent);
// Get the parent's page collection!
kids = parentData.get(PdfName.Kids);
kidsData = (PdfArray)File.resolve(kids);
// Get the insertion's relative position within the parent's page collection!
offset = kidsData.indexOf(pivotPage.getBaseObject());
}
// Adding the pages...
for(Page page : pages)
{