fdo#85889 handle pc, pca and mac rtf keywords in writerfilter

Change-Id: Ic54f2233a37562bdc516e440af0b4b7973f56342
(cherry picked from commit 7839633fb356285652ed96f4bf3f85bcd5b561a4)
import @TERM and @CTERM functions from Lotus 1-2-3 files (related: fdo#86241)

Change-Id: I864ad87aa0455c323a5235fa1230d3f2ac3ffbb4
(cherry picked from commit 70ae5bb4182a99c17da8eb32b36baec3e7a48723)