adapter interfaces and text lines adapter