add tesserect and java calls to that
transfer to timeddocument