// methods /** Helper for the constructors. * @param parent the parent outline * @param title the title for this outline * @param open <CODE>true</CODE> if the children are visible */ 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); } }