office365 - Getting current sentence using Office Javascript API -


using office javascript api, want able select current sentence in word. current sentence, mean identifying caret position is, iterating position full sentence.

however, looking @ available api calls (such getselecteddata), not seem possible, there doesn't seem way current caret position.

i know when creating c# project, use 'microsoft.office.interop.word.range' , 'selection.range' range, use caret position.

am wrong or can not caret position using javascript api?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -