Plugin to type pinyin tone marks inside LibreOffice programs

Hi! Are there any plugins that do exactly the same job as PinyinTones application but for LibreOffice tools? I need to type pinyin tone marks and not be dependent on Microsoft-related programs.