@SuppressWarnings("UnusedReturnValue") public int readOutlineFileMetadata(final PdfObject OutlinesObj,final PdfObjectReader currentPdfFile){
  final int count=OutlinesObj.getInt(PdfDictionary.Count);
  final PdfObject FirstObj=OutlinesObj.getDictionary(PdfDictionary.First);
  currentPdfFile.checkResolved(FirstObj);
  if (FirstObj != null) {
    final Element root=OutlineDataXML.createElement("root");
    OutlineDataXML.appendChild(root);
    final int level=0;
    readOutlineLevel(root,currentPdfFile,FirstObj,level,false);
  }
  return count;
}

@ SuppressWarnings ( "UnusedReturnValue" ) public int readOutlineFileMetadata ( final PdfObject OutlinesObj , final PdfObjectReader currentPdfFile ) { final int count = OutlinesObj . getInt ( PdfDictionary . Count ) ; final PdfObject FirstObj = OutlinesObj . getDictionary ( PdfDictionary . First ) ; currentPdfFile . checkResolved ( FirstObj ) ; if ( FirstObj != null ) { final Element root = OutlineDataXML . createElement ( "root" ) ; OutlineDataXML . appendChild ( root ) ; final int level = 0 ; readOutlineLevel ( root , currentPdfFile , FirstObj , level , false ) ; } return count ; }
read the outline data
