internal void InitOutline(PdfOutline parent, string title, bool open)
{
this.open = open;
this.parent = parent;
writer = parent.writer;
Put(PdfName.TITLE, new PdfString(title, PdfObject.TEXT_UNICODE));
parent.AddKid(this);
if (destination != null && !destination.HasPage()) // bugfix Finn Bock
SetDestinationPage(writer.CurrentPage);
}