How does VoxAction insert text?

After transcription, VoxAction places the result on the clipboard, pastes it into the active window, and restores the previous clipboard content when possible.