Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TELITAB2WORD$(Telitab$, ParameterStyle(=-1,0,1,2,3,4), TableStyle$, Transposed(=0,1), [Mode=0,1]

Arguments

  • Telitab$ is a string parameter containing TeLiTab data;
  • ParameterStyle, option indicating the type of discription you want to use for the parameters in the table to be created;
  • TableStyle$, is a document containing a description of possible styles for the table. The syntax for the style definitions in TableStyle$ do have a direct resemblance to the VBA code of Word. Feel free to experiment with the syntax. In the examples tested combination are presented. The following can be specified in this style document:
    • Formatted (True, False), do you want the formatted values (presented in the number of decimals presented in the Workbase) or the actual values;
    • ParameterBold (True, False), do you want bold parameter names;
    • Font, font type (such as "arial" or "courier") and size (such as 8 or 11);
    • OutsideBorder, the outside border of the table, defined into:
      • wdLineStyleSingle, Word syntax for single line;
      • wdLineWidth100pt, Word syntax for line thickness;
      • wdColorAutomatic, Word syntax for automatic color;
    • InsideGrid, the inside border for the table, defined into:
      • wdLineStyleSingle, Word syntax for single line;
      • wdLineWidth050pt, Word syntax for line thickness;
      • wdColorAutomatic, Word syntax for automatic color;
    • CaseNumbers (True, False), whether you want to see case numbers;
    • TableAlignment, specify the alignment of the table:
      • wdAlignRowCenter, Word syntax to align in the center;
      • wdAlignRowLeft, Word syntax to align on left side
  • Transposed, to indicate whether the table should be presented transposed or not;
  • Mode, option to determine the result you will receive:
    • Mode=0, (or not given) is the default. In this mode Quaestor will create a separate .bas file and use this file on the indicated spot in the Word template as macro to create the table. In other words, the parameter used with TELITAB2WORD will contain the link to this file;
    • Mode=1, is a advanced or debut mode. It will return the script itself (so the parameter using the TELITAB2WORD function will contain the text of the macro itself). When Mode=1 is selected, for instance for additional manipulation by the knowledge engineer, it should be saved using a PUT$() function.

...