您好可能有人請幫助我有以下: 我想在中心通過德爾福scalc開放式辦公電子表格單元格中的文本和OOoTools工具包。德爾福OpenOffice的自動化scalc中心格文本
下面的代碼不起作用:
sRange := '$A$3:$A$3';
ooParams := CreateUnoStruct('com.sun.star.beans.PropertyValue', 1);
ooParams[0].Name := 'ToPoint';
ooParams[0].Value := sRange;
execDispatch('.uno:GoToCell', ooParams);
ooParams := CreateUnoStruct('com.sun.star.beans.PropertyValue', 1);
ooParams[0].Name := 'HorizontalJustification';
ooParams[0].Value := 'com.sun.star.table.CellHoriJustify.CENTER';
execDispatch('.uno:HorizontalJustification', ooParams);
有任何人的想法,爲什麼不? 由於廣告
最新伯納德Marcelly OOoTools的1.3版本,現在是在這裏: HTTP ://bernard.marcelly.perso.sfr.fr/index2.html – 2013-09-25 18:22:34