home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / edit / cword / cword.doc next >
Encoding:
Text File  |  1992-08-22  |  23.3 KB  |  933 lines

  1.                                      C-WORD
  2.            A library of C functions to create Microsoft WORD documents
  3.  
  4.  
  5.  
  6.  
  7.  
  8.            INTRODUCTION
  9.  
  10.  
  11.  
  12.            Most application  programs can redirect printer output into
  13.            a text file for further processing. Since these ASCII files
  14.            do not  contain any formatting information, the user has to
  15.            take care  of layout  and graphic  design  manually.  If  a
  16.            complex layout  with tables  and different fonts is needed,
  17.            this formatting  process takes  up a considerable amount of
  18.            time.
  19.  
  20.            With C-WORD,  the programmer  can easily  create  formatted
  21.            documents for  Microsoft WORD  from any application written
  22.            in C.  The end  user can  now concentrate  on text revision
  23.            instead of  wasting his  time correcting  the  layout.  The
  24.            resulting  documents   can  be   printed  on  all  printers
  25.            supported by Microsoft WORD.
  26.  
  27.            C-WORD supports:
  28.  
  29.            - all available fonts, font sizes and colors
  30.  
  31.            - all of WORD's character formats: bold, italic, underline,
  32.              strikethrough,  uppercase,   small   caps,   super-   and
  33.              subscripts, hidden text
  34.  
  35.            - all of  WORD's paragraph  formats: left,  centered, right
  36.              and justified  alignment,  indention  and  line  spacing,
  37.              headers and footers
  38.  
  39.            - tab positions  and  alignment,  graphical  elements  like
  40.              lines and borders
  41.  
  42.            - all of  WORD's page formats: margins, page layout, multi-
  43.              column text, page numbering styles
  44.  
  45.            - working with style sheets (available after registration)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. C-WORD manual 1/92  (c) tesuji software                            page 1
  62.  
  63.            NOTICE
  64.  
  65.  
  66.            Microsoft, MS  and MS-WORD  are  registered  trademarks  of
  67.            Microsoft Corporation.
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123. C-WORD manual 1/92  (c) tesuji software                            page 2
  124.  
  125.            USING C-WORD IN C PROGRAMS
  126.  
  127.  
  128.            Programming with  C-WORD is  very straightforward.  Look at
  129.            the following  minimal example  to see  how it is done. You
  130.            can  find   a  more   complex  example  EXAMPLE.C  on  your
  131.            distribution disk
  132.  
  133.            
  134.  
  135.            
  136.  
  137.            #include <mw.h>
  138.            
  139.            main ()
  140.            
  141.            {
  142.            mw_open ("EXAMPLE.TXT");
  143.            mw_printf ("Hallo, Word\n");
  144.            mw_close ();
  145.            }
  146.            
  147.            
  148.  
  149.            The header  file mw.h  contains all neccesary constants. It
  150.            has  to   be  included   in  every  module  calling  C-WORD
  151.            functions.
  152.  
  153.            C-WORD is  available as  a  library  for  Microsoft  C  and
  154.            Zortech  C++.   The  supported  memory  models  are  small,
  155.            compact,  medium   and  large.   Software  and  manual  are
  156.            available in English and German.
  157.  
  158.            To compile the little example program with MSC you type
  159.  
  160.        cl test.c mws.lib               (small model) rsp.
  161.            cl /AL test.c mwl.lib           (large model) etc.
  162.  
  163.            
  164.  
  165.            The following function summary demonstrates the power of C-
  166.            WORD. A  detailed description  of each  function  is  given
  167.            later.
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185. C-WORD manual 1/92  (c) tesuji software                            page 3
  186.  
  187.            FUNCTION SUMMARY
  188.  
  189.  
  190.            mw_open ()     opens a new WORD document. This function
  191.                           must be called before any operation on the
  192.                           document can be performed.
  193.  
  194.            mw_close ()    closes the current WORD document and writes
  195.                           it to disk.
  196.  
  197.            mw_printf ()   output of text into the current WORD
  198.                           document. Works like the standard C function
  199.                           printf ().
  200.  
  201.            mw_putchar ()  output of single characters.
  202.  
  203.            mw_font ()     selects a font for text output.
  204.  
  205.            mw_fontsize () selects the size of the font.
  206.  
  207.            mw_char ()     selects the character formats bold, italic,
  208.                           underline, strikethrough, capitals, small
  209.                           caps, double underline, super- and
  210.                           subscripts, hidden text and text colors.
  211.  
  212.            mw_paragraph() alignment of paragraphs (left, right,
  213.                           centered, justified), headers, footers,
  214.                           frames and lines.
  215.  
  216.            mw_spacing ()  defines line and paragraph spacing, left,
  217.                           right and 1st line indention.
  218.  
  219.            mw_tab ()      setting and resetting of tab stops and
  220.                           alignments (left, center, right, decimal,
  221.                           vertical) and leader chars.
  222.  
  223.            mw_division () sets division breaks, page and line
  224.                           numbering, footnote layout and number of
  225.                           colums.
  226.  
  227.            mw_page ()     sets page length and width, margins and
  228.                           running head positions, line and page number
  229.                           positions.
  230.  
  231.            mw_sty_open () opens a style sheet. This must be done
  232.                           before any of the other style sheet
  233.                           functions can be used.
  234.  
  235.            mw_sty_char () selects a character format from the style
  236.                           sheet.
  237.  
  238.            mw_sty_paragraph()  selects a paragraph format from the
  239.                           style sheet.
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247. C-WORD manual 1/92  (c) tesuji software                            page 4
  248.  
  249.        mw_sty_division ()  selects a division format from the
  250.        style sheet.
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310. C-WORD manual 1/92  (c) tesuji software                            page 5
  311.  
  312.            FORMATTING IN MICROSOFT WORD
  313.  
  314.  
  315.            Microsoft WORD has three levels of formatting:
  316.  
  317.            - character  formats   control  the  appearance  of  single
  318.              characters, words or other portions of text
  319.  
  320.            - paragraph formats  effect  whole  paragraphs,  i.e.  text
  321.              blocks between paragraph markers
  322.  
  323.            - division formats normally control the layout of the whole
  324.              document
  325.  
  326.            
  327.  
  328.            To write  text into  the currently opened document, you use
  329.            the  functions   mw_printf  ()   or  mw_putchar  ().  These
  330.            functions correspond  exactly to  the standard C functions.
  331.            Formatting information  can be  inserted into  the flow  of
  332.            output text. Depending on the formatting level this is done
  333.            as follows:
  334.  
  335.            - Character formats  are inserted  immediately  before  the
  336.              text  to  be  formatted.  They  remain  in  effect  until
  337.              explicitely  reset   or  changed.  This  applies  to  the
  338.              functions mw_char  (), mw_font  (),  mw_fontsize  ()  and
  339.              mw_sty_char ().
  340.  
  341.            - Paragraph  formatting  commands  can  be  given  anywhere
  342.              during the active paragraph. They must only appear before
  343.              the newline  character terminating  the  paragraph.  They
  344.              remain active  until you change them explicitely. You can
  345.              follow the  simple rule  to give all paragraph formatting
  346.              commands as  soon as you start a paragraph that has to be
  347.              formatted differently.  Paragraph formatting is done with
  348.              the functions  mw_paragraph (),  mw_spacing (), mw_tab ()
  349.              and mw_sty_paragraph ().
  350.  
  351.            - Documents created  with C-WORD  only  have  one  division
  352.              format,  i.e.   these  formatting  commands  control  the
  353.              appearance of  the whole document. Therefore you can give
  354.              division formatting  commands anywhere  in your text. The
  355.              functions mw_division(), mw_page() und mw_sty_division ()
  356.              are used for division formatting.
  357.  
  358.            
  359.  
  360.            The following  list of character combinations shows how you
  361.            can insert  WORD special  characters in  your text. You use
  362.            these characters  like the  printable ones in the functions
  363.            mw_printf () and mw_putchar ().
  364.  
  365.            
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372. C-WORD manual 1/92  (c) tesuji software                            page 6
  373.  
  374.            \n       paragraph marker           \t       TAB character
  375.            \x0b     NEWLINE character (SHIFT-ENTER)
  376.            \x0c     page break
  377.            \x1f     nonrequired hyphen
  378.            \xc4     nonbreaking hyphen
  379.            \xff     nonbreaking blank
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434. C-WORD manual 1/92  (c) tesuji software                            page 7
  435.  
  436.            WORKING WITH FONTS
  437.  
  438.  
  439.            Fonts in  Microsoft WORD  are designed  for the destination
  440.            printer. But  WORD stores  the fonts you use in a text in a
  441.            printer independant  format. This  allows you to change the
  442.            printer and still keep a similarly formatted document.
  443.  
  444.            To give  you the  same functionality  in C-WORD,  fonts are
  445.            defined not  by name  (which would  change from  printer to
  446.            printer), but by a font number.
  447.  
  448.            To see the correspondance between font names and numbers on
  449.            a specific  printer you can use the utility program DF.EXE.
  450.            This program  takes the  pathname of your printer driver as
  451.            parameter and  displays a  list of available font names and
  452.            numbers.
  453.  
  454.            For example: calling
  455.  
  456.            df hp3.dbs
  457.            
  458.  
  459.            gives you the following output:
  460.  
  461.            Font 0: Courier
  462.            Font 1: CourierPC
  463.            Font 3: Univers
  464.            Font 6: LinePrinterPC
  465.            Font 7: LinePrinter
  466.            Font 10: UniversCd
  467.            Font 16: CGTimes
  468.            Font 60: ZapfDingbats
  469.            
  470.  
  471.            You use  these font  numbers with  mw_font ()  to  set  the
  472.            desired font.
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496. C-WORD manual 1/92  (c) tesuji software                            page 8
  497.  
  498.            WORKING WITH STYLE SHEETS
  499.  
  500.  
  501.            Formatting  text  by  style  sheets  is  one  of  the  most
  502.            important features  of advanced  text processing with WORD.
  503.        C-WORD supports style sheets in a very straightforward way.
  504.  
  505.            Before using  any style  sheet formats  you tell C-WORD the
  506.            name of your style sheet. This is done with mw_sty_open ().
  507.  
  508.            After that  all formats  defined in  the  style  sheet  are
  509.            available  to  you.  You  use  these  formats  like  direct
  510.            formatting commands  with  the  functions  mw_sty_char  (),
  511.            mw_sty_paragraph () and mw_sty_division ().
  512.  
  513.  
  514.  
  515.  
  516.  
  517.            LIST OF FUNCTIONS
  518.  
  519.  
  520.  
  521.            mw_close ()
  522.  
  523.            The creation  of every WORD document must be completed with
  524.            this function. It writes text and formatting information to
  525.            disk. Unlike  the standard  C functions close () and fclose
  526.            () this  operation will  not be done automatically when you
  527.            exit  your  application.  After  closing  a  document  with
  528.            mw_close () you can use mw_open () to create another one.
  529.  
  530.            
  531.  
  532.            mw_open (char *path)
  533.  
  534.            This function  creates a  new WORD document. If you give no
  535.            extension in  the path  parameter, ".TXT"  will be used. An
  536.            existent document of the same name is deleted.
  537.  
  538.            mw_open () must be called before any other function of this
  539.            package. Before  you can  open another  document, you  must
  540.            close the current one with mw_close ().
  541.  
  542.            A return  value different  from zero  indicates  an  error.
  543.            MWE_FILE means  that the  given file  couldn't be  created,
  544.            MWE_MEMORY means you are out of memory.
  545.  
  546.            
  547.  
  548.            mw_printf (char *format, ...)
  549.  
  550.            transfers text  into the  current document in the currently
  551.            selected format. Works like printf ().
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558. C-WORD manual 1/92  (c) tesuji software                            page 9
  559.  
  560.            
  561.            mw_putchar (char c)
  562.  
  563.            transfers a  character into  the current  document  in  the
  564.            currently selected format. Works like putchar ().
  565.  
  566.            
  567.  
  568.            mw_font (int font_number)
  569.  
  570.            This function  selects the  given  font.  For  the  printer
  571.            specific correspondance  of font  numbers  and  font  names
  572.            please refer to chapter "Working with Fonts".
  573.  
  574.            
  575.  
  576.            mw_fontsize (float size)
  577.  
  578.            This function  selects the  font size.  The parameter gives
  579.            the desired  font  size  in  points.  Since  WORD  can  use
  580.            fractional point sizes, it is passed as a float variable.
  581.  
  582.            
  583.  
  584.            mw_char (int opcode, int mode)
  585.  
  586.            This function  selects character  formats. They  remain  in
  587.            effect until explicitely changed.
  588.  
  589.            Together  with   the  following   opcode  values  the  mode
  590.            parameter  is   either  ON   or  OFF   and  activates  rsp.
  591.            deactivates the given format:
  592.  
  593.            MW_BOLD,   MW_ITALIC,    MW_UNDERLINE,    MW_STRIKETHROUGH,
  594.            MW_UPPERCASE, MW_SMALLCAPS, MW_DOUBLE_UNDERLINE, MW_HIDDEN,
  595.            MW_SUPERSCRIPT, MW_SUBSCRIPT.
  596.  
  597.            Another opcode MW_COLOR can be used with the color value as
  598.            mode parameter, it selects the given text color.
  599.  
  600.            
  601.  
  602.            mw_paragraph (int opcode, int mode)
  603.  
  604.            You use  this function  to select  paragraph formats.  They
  605.            effect the  current and  all  following  paragraphs.  Other
  606.            paragraph formatting  commands can  be done with mw_spacing
  607.            (). The  different subfunctions depend on the parameters in
  608.            the following way:
  609.  
  610.            opcode MW_ALIGNMENT
  611.        mode MW_LEFT, MW_RIGHT, MW_CENTER, MW_JUSTIFIED:
  612.            controls the paragraph alignment.
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620. C-WORD manual 1/92  (c) tesuji software                           page 10
  621.  
  622.        opcode MW_KEEP_TOGETHER
  623.        mode ON or OFF:
  624.            If ON, there will be no page break before the current
  625.            paragraph.
  626.  
  627.            opcode MW_KEEP_FOLLOW
  628.            mode ON or OFF:
  629.            If ON, there will be no page break after the current
  630.            paragraph.
  631.  
  632.            opcode MW_SIDE_BY_SIDE
  633.            mode ON or OFF:
  634.            If ON, paragraphs will be printed side by side on the page.
  635.  
  636.            opcode MW_HEADER
  637.            mode MW_EVEN_PAGES, MW_ODD_PAGES, MW_FIRST_PAGE:
  638.            formats the current paragraph as running head on top of the
  639.            page. The three possible mode values can be combined with
  640.            the binary OR operator (|).
  641.  
  642.            opcode MW_FOOTER
  643.            mode MW_EVEN_PAGES, MW_ODD_PAGES, MW_FIRST_PAGE:
  644.            formats the current paragraph as running head at the bottom
  645.            of the page. The three possible mode values can be combined
  646.            with the binary OR operator (|).
  647.  
  648.            opcode MW_NOMARGIN
  649.            mode is ignored:
  650.            Header rsp. footer is aligned without respecting the left
  651.            and rigth page margins.
  652.  
  653.            opcode MW_WITHMARGIN
  654.            mode is ignored:
  655.            Header rsp. footer is aligned with respect to the left and
  656.            rigth page margins.
  657.  
  658.            opcode MW_BOX
  659.            mode ON or OFF:
  660.            turns the box around a paragraph on or off.
  661.  
  662.            opcode MW_SHADING
  663.            mode 0 to 100:
  664.            sets the background shading to the given percentage.
  665.  
  666.            opcode MW_LINES
  667.            mode MW_LINE_LEFT, MW_LINE_RIGTH, MW_LINE_ABOVE,
  668.            MW_LINE_BELOW, OFF:
  669.            selects the given paragraph border lines. The listes mode
  670.            values can be combined by the binary OR operator (|).
  671.            Setting mode to OFF resets all border lines.
  672.  
  673.            opcode MW_LINE_STYLE
  674.            mode MW_NORMAL, MW_BOLD, MW_DOUBLE, MW_STRONG:
  675.            selects the given border line style.
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683. C-WORD manual 1/92  (c) tesuji software                           page 11
  684.  
  685.            opcode MW_LINE_COLOR           mode = color value:
  686.            selects the given border line color.
  687.  
  688.            
  689.  
  690.            mw_spacing (int opcode, float par)
  691.  
  692.            This function  defines  paragraph  related  indentions  and
  693.            spacing.  They   effect  the   current  and  all  following
  694.            paragraphs. The  first parameter  selects the  subfunction,
  695.            the second parameter is a floating point value.
  696.  
  697.            opcode MW_LINE_SPACING
  698.            par = line spacing in lines or MW_AUTO:
  699.            sets the line spacing to the given value, which also can be
  700.            a fractional value (like 1.5 for one and a half lines).
  701.            Using MW_AUTO adapts the line spacing to the largest font
  702.            used in the line.
  703.  
  704.            opcode MW_SPACE_BEFORE
  705.            par = space in lines:
  706.            sets the space before the paragraph to the given value.
  707.  
  708.            opcode MW_SPACE_AFTER
  709.            par = space in lines:
  710.            sets the space after the paragraph to the given value.
  711.  
  712.            opcode MW_LEFT
  713.            par = indention in inches:
  714.            sets the left indention of the paragraph to the given
  715.            value.
  716.  
  717.            opcode MW_RIGHT
  718.            par = indention in inches:
  719.            sets the right indention of the paragraph to the given
  720.            value.
  721.  
  722.            opcode MW_FIRST_LINE
  723.            par = indention in inches:
  724.            sets the indention of the first line to the given value.
  725.  
  726.            
  727.  
  728.            mw_division (int opcode, int mode)
  729.  
  730.            This function  selects division  formats.  It  effects  the
  731.            whole document. Further division formats are available with
  732.            mw_page ().  The subfunctions  are selected  by  the  first
  733.            parameter.
  734.  
  735.            opcode MW_PAGE_NUMBERS
  736.            mode ON or OFF:
  737.            turns page numbering on or off.
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745. C-WORD manual 1/92  (c) tesuji software                           page 12
  746.  
  747.        opcode MW_PAGE_NUMBER_FORMAT
  748.        mode '1', 'I', 'i', 'A' oder 'a':
  749.            selects the given page number format.
  750.  
  751.            opcode MW_PAGE_NUMBER_START
  752.            mode = first page number:
  753.            starts page numbering at the given number.
  754.  
  755.            opcode MW_MIRROR_PAGE
  756.            mode ON or OFF:
  757.            If ON, left and right margins are exchanged on even pages.
  758.  
  759.            opcode MW_FOOTNOTES_AT_END
  760.            mode ON or OFF:
  761.            if ON, footnotes are printed at the end of the document, if
  762.            OFF they appear on the bottom of every page.
  763.  
  764.            opcode MW_COLUMNS
  765.            mode = number of columns:
  766.            formats a multi column text with the given number of
  767.            columns.
  768.  
  769.            opcode MW_LINE_NUMBERS
  770.            mode ON or OFF:
  771.            sets line numbering on or off.
  772.  
  773.            opcode MW_LINE_NUMBER_RESTART
  774.            mode MW_PAGE, MW_DIVISION, MW_CONTINUOUS:
  775.            when should line numbering restart ?
  776.  
  777.            opcode MW_LINE_NUMBER_INCREMENT
  778.            mode = increment value:
  779.            selects the increment for the printing of line numbers.
  780.  
  781.            
  782.  
  783.            mw_page (int opcode, float par)
  784.  
  785.            This function  defines document  related sizes and margins.
  786.            The second  parameter is  always a  floating point variable
  787.            and holds  the desired  space in  inches. Further  division
  788.            related formats can be given with mw_division ().
  789.  
  790.            opcode MW_LENGTH
  791.            par = page legth in inches
  792.  
  793.            opcode MW_WIDTH
  794.            par = page width in inches
  795.  
  796.            opcode MW_MARGIN_TOP
  797.            par = top margin in inches
  798.  
  799.            opcode MW_MARGIN_BOTTOM
  800.            par = bottom margin in inches
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808. C-WORD manual 1/92  (c) tesuji software                           page 13
  809.  
  810.            opcode MW_MARGIN_LEFT           par = left margin in inches
  811.  
  812.            opcode MW_MARGIN_RIGHT
  813.            par = right margin in inches
  814.  
  815.            opcode MW_HEADER_POS
  816.            par = running-head position from top in inches
  817.  
  818.            opcode MW_FOOTER_POS
  819.            par = running-head position from bottom in inches
  820.  
  821.            opcode MW_COLUMN_SPACE
  822.            par = space between columns in inches
  823.  
  824.            opcode MW_GUTTER_MARGIN
  825.            par = gutter margin in inches
  826.  
  827.            opcode MW_PAGE_NUMBERS_FROM_TOP
  828.            par = top margin for page numbers in inches
  829.  
  830.            opcode MW_PAGE_NUMBERS_FROM_LEFT
  831.            par = left margin for page numbers in inches
  832.  
  833.            opcode MW_LINE_NUMBERS_FROM_TEXT
  834.            par = distance of line numbers from text in inches
  835.  
  836.            
  837.  
  838.            mw_tab (int  opcode, float  position, int  alignment,  char
  839.            fill)
  840.  
  841.            This function sets or clears tab stops.
  842.  
  843.            opcode: MW_SET, MW_CLEAR, MW_RESETALL
  844.  
  845.            position: tab  position in inches als floating point number
  846.              (not used with opcode MW_RESETALL)
  847.  
  848.            alignment:  MW_LEFT,   MW_CENTER,   MW_RIGHT,   MW_DECIMAL,
  849.              MW_VERTICAL (only used with opcode MW_SET)
  850.  
  851.            fill: ' ', '.', '-' oder '_' (fill character only used with
  852.              opcode MW_SET)
  853.  
  854.            
  855.  
  856.            mw_dfv_paragraph (char *code)
  857.  
  858.            This function  selects a paragraph format of the previously
  859.            with mw_sty_open () selected style sheet. You pass the two-
  860.            letter key code as parameter to this function (in uppercase
  861.            !).
  862.  
  863.            
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870. C-WORD manual 1/92  (c) tesuji software                           page 14
  871.  
  872.            mw_dfv_division (char *code)
  873.            This function  selects a  division format of the previously
  874.            with mw_sty_open () selected style sheet. You pass the two-
  875.            letter key code as parameter to this function (in uppercase
  876.            !).
  877.  
  878.            
  879.  
  880.            mw_dfv_open (char *path)
  881.  
  882.            You use  this function to select and open a style sheet for
  883.            the  use  with  mw_sty_char  (),  mw_sty_paragraph  ()  and
  884.            mw_sty_division ().  If the  path parameter doesn't contain
  885.            an extension, ".STY" will be appended.
  886.  
  887.            A return  value different  from zero  indicates  an  error.
  888.            MWE_FILE means  that the  given  file  couldn't  be  found,
  889.            MWE_MEMORY means you are out of memory.
  890.  
  891.            
  892.  
  893.            mw_dfv_char (char *code)
  894.  
  895.            This function  selects a character format of the previously
  896.            with mw_sty_open () selected style sheet. You pass the two-
  897.            letter key code as parameter to this function (in uppercase
  898.            !).
  899.  
  900.            
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932. C-WORD manual 1/92  (c) tesuji software                           page 15
  933.