QAxObject *range = ... //先获取要画边框的范围然后
range->dynamicCall("BorderAround", Style, Width,ColorIndex);
//Style值:0- no line; 1-solid; 2-big dot;3-small dot;4-dash dot; 5-dash dot dot;
ColorIndex:1-black;2-white;3-red;4-green;5-blue; 6-yellow; 7-pink;8-dark blue;