 
         let path: NSString
         //path = DBmethod().FilePathTmpGet()
-        path = NSBundle.mainBundle().pathForResource("7.11〜", ofType: "pdf")!
+        path = NSBundle.mainBundle().pathForResource("8.11〜", ofType: "pdf")!
         
         let tet = TET()
         let document = tet.open_document(path as String, optlist: "")

    /****************************実行用のメソッド******************************/
    func RunPDFmethod() {
        let charinfoArray = GetPDFGlyphInfo()
    }

    

        
        return charinfoArray
    }
    
    
    /****************************xは昇順，yはテキストの上から順番に並び替える******************************/
    func SortcharinfoArray(charinfo: [[CharInfo]]) -> [[CharInfo]] {
        var sorted = charinfo
        
        sorted.sortInPlace { $0[0].y > $1[0].y }
        
        for i in 0..<sorted.count {
            sorted[i].sortInPlace { $0.x < $1.x }
        }
        
        return sorted
    }

}
