change borders of selected rows and columns of a flextable.
This function is not to be used by end user (it requires careful
settings to avoid overlapping borders) but only for programming purposes.
If you need to add borders, use instead functions hline(), vline(),
border_outer(), ...