select_all 

You use this method to mark all text in the office document.

CALL METHOD document->select_all
     EXPORTING no_flush    = no_flush
     IMPORTING error       = error
               retcode     = retcode.