internal bool LocalDestination(String name, PdfDestination destination)
{
Destination dest;
if (localDestinations.ContainsKey(name))
dest = localDestinations[name];
else
dest = new Destination();
if (dest.destination != null)
return false;
dest.destination = destination;
localDestinations[name] = dest;
if (!destination.HasPage())
destination.AddPage(writer.CurrentPage);
return true;
}