[TASK] Mark functions "textStyle" and "tableStyle" as deprecated

"textStyle" and "tableStyle" have been deprecated.

Resolves: #19079