internal void SetLinearMode(PdfIndirectReference topParent)
{
if (parents.Count > 1)
throw new Exception(MessageLocalization.GetComposedMessage("linear.page.mode.can.only.be.called.with.a.single.parent"));
if (topParent != null) {
this.topParent = topParent;
parents.Clear();
parents.Add(topParent);
}
leafSize = 10000000;
}