//if the outline action is null then this outline does not refer
//to anything and we will just return null.
}
else
{
throw new OutlineNotLocalException( "Error: Outline does not reference a local page." );
}
}
PDPageDestination pageDest = null;
if( rawDest instanceof PDNamedDestination )