public void open(Uri fileUri) {
   document = codecContext.openDocument(PathFromUri.retrieve(contentResolver, fileUri));
 }
 public void setContentResolver(ContentResolver contentResolver) {
   this.contentResolver = contentResolver;
   codecContext.setContentResolver(contentResolver);
 }