false, // readonly
emptyparam, // format
'passwd', // password
'passwdwrite', // writerespassword
true, // ignorereadonlyrecommended
emptyparam, // origin
emptyparam, // delimiter
emptyparam, // editable
emptyparam, // notify
emptyparam, // converter
true, // addtomru
0); // lcid
q24. how do i add a table in the word document?
var
defaulttablebehavior, autofitbehavior: olevariant;
table: word.table;
wordrange1.rangestart := 1;
wordrange1.rangeend := 2;
wordrange1.active := true;
defaulttablebehavior := wdword8tablebehavior;
autofitbehavior := wdautofitcontent;
table := wordapplication1.wordapplication.activedocument.tables.add(
wordrange1.wordrange, // range
10, // numrows
10, // numcolumns
defaulttablebehavior, // defaulttablebehavior
autofitbehavior); // autofitbehavior
table.cell(1,1).range.text := 'hello!';