Is there any ability to get document name and path (local filesystem) through plugin api?
see Getting the opened document's name