public function string f_array_string (any array[]) | public function string f_array_string (any array[]) |
f_string_array | public subroutine f_string_array (string arg_string, ref string arg_arr[], string arg_separator) |
wa_activate | public subroutine wa_activate () |
wa_initialize | Initialize the component |
public function long wa_isactive (long arg_start) | Returns 0 if word is not active. If arg_start > 0 starts word |
wa_listalldocfiles | Find all word documents in a folder. Set arg_subfolder = 1 to scan subfolders |
wa_moveandresizewindow | To set position of Word window |
wa_quitword | Quit Word and optionally saves the open documents |
wa_templatemodified | If you want to set the template dirty, set arg_mod 0.
Use this function after you have modified Word menu or toolbar.
You must specify the full name for arg_template, if you refer to the normal
template use only Normal.dot.
|
wd_closealldocuments | Closes all documents |
wd_closedocument | Closes the specified document or the active document if the specified
document dosen't exist |
wd_displaydialog | Displays the specified built-in dialog box until the user closes it. |
wd_displayexecutedialog | Displays execute dialog |
wd_displayhelpabout | Displays help-about dialog |
wd_displayspellcheckdialog | Displays spellcheck dialog |
wd_displayuserinfodialog | Displays user info dialog |
wd_getdocumentrange | Is usedto get starting and ending position of the document. |
public function string wd_newdoc (string arg_template, string arg_filename) | Create new word file based on arg_tempate if it exists or on Normal.dot. arg_filename is not used at the moment |
public function string wd_opendoc (string wordfile, s_open_options options) | Opens word file some parameterscan be specified
using options parameter |
public function string wd_openfile (string wordfile) | Opens word file |
wd_paste | Opens word file |
wd_savealldocs | public subroutine wd_savealldocs (long arg_prompt) |
wd_saveasdocument | Saves specified document |
wd_savedocument | Opens word file |
public function integer wd_searchandreplaceinrange (string arg_h_file, string arg_find, string arg_replace, long arg_start, long arg_end) | Search and replace function. |
public function long wd_spellcheckstring (string arg_string) | Return 1 if arg_stirng is correct 0 otherwise |
wd_textinsert | Insert text at the specified position |
wd_textsubstitute | Replace the text between arg_star and arg_end with arg_txt |
wd_visible | public subroutine wd_visible (boolean arg_visible) |
wm_addbuttontotoolbar | Add a button to a tooolbar
arg_toolbar = existing toolbar name
arg_name = button name
arg_id = button id, use 0 to add a new button, if you know the id of an existing button you can use it
arg_tooltip = button tooltip
arg_bmp = button image |
wm_addcmbtotoolbar | public subroutine wm_addcmbtotoolbar (string arg_toolbar, string arg_name, string arg_tooltip) |
wm_addwordbuttonmenubar | public subroutine wm_addwordbuttonmenubar (long x_pos, long y_pos, string caption, string buttonname, string filebmp, long beginnewgroup) |
wm_addwordmenubar | public subroutine wm_addwordmenubar (long x_pos, long y_pos, string caption) |
wm_addwordtoolbar | public subroutine wm_addwordtoolbar (string arg_name) |
wm_cmbadd | Add items to combo box control. Use toolbar and control name to find the right control.
Control type must be ComboBox |
public function string wm_cmbgettext (string arg_toolbar, string arg_cmb) | Add items to combo box control. Use toolbar and control name to find the right control.
Control type must be ComboBox |
ws_getselection | Get selection |
ws_inserttextatselection | Inserts text at selection |
ws_selectionstartend | Position/Select the the insertion point at the beginning or at the end of the document
moveType = 0 -> move
moveType = 1 -> extend
arg_extend = 0 -> start of the document
arg_extend = 1 -> end of the document
|