home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / FERRAMEN / QD_HELP / PARA.QDH < prev    next >
Encoding:
Text File  |  1994-03-28  |  10.2 KB  |  409 lines

  1. //
  2. // para command
  3. //
  4.  
  5. /topic PARA_COMMAND,WIN31
  6.  
  7.     /title The /para command
  8.     /keywords /para;commands
  9.     /browse commands,AUTO
  10.  
  11.     /para \sa300
  12.     /text \b\i\fs40,The /para command
  13.     /endpara
  14.  
  15.     /para \sa150
  16.       The /para command has the following syntax:
  17.     /endpara
  18.  
  19.     /para
  20.       /text \b\f3,/para 
  21.       /link PARA_FORMAT_STRINGS,paragraph specific format strings
  22.     /endpara
  23.     /para
  24.       ...text strings...
  25.     /endpara
  26.     /para \sa150
  27.       /text \b\f3,/endpara
  28.     /endpara
  29.  
  30.     /para \sa150
  31.       The /para command is used to let the QDHELP system
  32.       know that this is the start of a new paragraph. Inside
  33.       of the /para command there are a number of commands that
  34.       can be used to set up hyperlinks and popuplinks to 
  35.       other parts of the help system.
  36.     /endpara
  37.  
  38.     /para \sa150
  39.       /text \b,Command Placement
  40.     /endpara
  41.  
  42.     /para \sa150
  43.       This command must be placed after the /topic,/title,/keyword,/browse
  44.       commands.
  45.     /endpara
  46.  
  47.     /para \sa150
  48.       /text \b,Commands used inside /para /endpara pair.
  49.     /endpara
  50.  
  51.     /para \sa150
  52.       Internal to the /para command there are a number of commands that
  53.       can be used to create links to other parts of the help system.
  54.       These commands are listed below.
  55.     /endpara
  56.  
  57.     /para
  58.       /link TEXT_COMMAND,/text command,line
  59.       /link LINK_COMMAND,/link command,line
  60.       /link POPUP_COMMAND,/popup command,line
  61.       /link BITMAPLINK_COMMAND,/bitmaplink command,line
  62.       /link BITMAP_COMMAND,/bitmap command,line
  63.       /link MACROLINK_COMMAND,/macrolink command,line
  64.     /endpara
  65.     
  66. /endtopic
  67.  
  68. //
  69. // para format strings
  70. //
  71.  
  72. /topic PARA_FORMAT_STRINGS,WIN31
  73.  
  74.     /title Paragraph format strings
  75.     /keywords rtf;format
  76.  
  77.     /para \sa300
  78.       /text \b\i\fs40,Paragraph format strings
  79.     /endpara
  80.  
  81.     /para \sa150 \box \brdrsh
  82.       Here you will find a list of formatting commands
  83.       that can be placed after the /para command. If the
  84.       reader is familiar with the rich text format, they
  85.       may find the look of these commands very similar.
  86.       This is because these are RTF commands!
  87.     /endpara
  88.  
  89.     /para 
  90.  
  91.       /text \b,Paragraph Justification. \line\line
  92.       \\ql left justified paragraph     \line
  93.       \\qr right justified paragraph \line
  94.       \\qj justified paragraph \line
  95.       \\qc centered paragraph \line
  96.  
  97.       /link PARAGRAPH_JUSTIFY_EXAMPLES,Paragraph Justify Examples 
  98.  
  99.       \line\line
  100.       /text \b,Paragraph Indentation \line\line
  101.       \\fi000    first line of paragraph indent. \line
  102.       \\li000 left indent. \line 
  103.       \\ri000 right indent \line
  104.  
  105.       /link PARAGRAPH_INDENT_EXAMPLES,Paragraph Indent Examples 
  106.  
  107.       \line\line
  108.       /text \b,Paragraph Spacing \line\line
  109.       \\sb000 space before paragraph. \line
  110.       \\sa000 space after paragraph. \line
  111.       \\sl000 space between lines. \line
  112.  
  113.       /link PARAGRAPH_SPACING_EXAMPLES,Paragraph Spacing Examples
  114.       \line\line
  115.  
  116.       /text \b,Paragraph Border Placement \line\line
  117.       \\brdrt border on top of paragraph. \line
  118.       \\brdrb border on bottom of paragraph. \line
  119.       \\brdrl border on left of paragraph. \line
  120.       \\brdrr border on right of paragraph \line
  121.       \\box border around entire paragraph \line
  122.  
  123.       /link BORDER_PLACEMENT_EXAMPLES,Border Placement Examples
  124.       \line\line
  125.  
  126.       /text \b,Paragraph Border Style \line\line
  127.       \\brdrs single thick border \line
  128.       \\brdrth thick border \line
  129.       \\brdrsh shadow border \line
  130.       \\brdrdb double border \line
  131.  
  132.       /link BORDER_STYLE_EXAMPLES,Border Style Examples
  133.       \line\line
  134.  
  135.       /text \b,Paragraph Text Wrap/Scroll Control \line\line
  136.       \\keep non scrolling region (Win 3.1) \line
  137.       \\keep non word wraping region (Win 3.1)\line
  138.       /link SCROLL_WRAP_EXAMPLES,Scroll Wrap Examples (Win 3.1)
  139.  
  140.     /endpara
  141.     
  142. /endtopic    
  143.  
  144. //
  145. // paragraph justify examples
  146. //
  147.  
  148. /topic PARAGRAPH_JUSTIFY_EXAMPLES
  149.  
  150.     /browse examples,AUTO
  151.  
  152.     /para \sa300
  153.       /text \b,Paragraph Justification Examples.
  154.     /endpara
  155.  
  156.     /para \ql\sa150 \brdrth \box
  157.       This paragraph is left justified. This is just some
  158.       text so that you can see that it is left justified!
  159.       It was generated with the command
  160.       /text \b,/para \\ql
  161.     /endpara
  162.  
  163.     /para \qr\sa150 \brdrth \box
  164.       This paragraph is right justified. This is just some
  165.       text so that you can see that it is right justified!
  166.       It was generated with the command
  167.       /text \b,/para \\qr
  168.     /endpara
  169.  
  170.     /para \qj\sa150 \brdrth \box
  171.       This paragraph is justified. This is just some
  172.       text so that you can see that it is justified!
  173.       It was generated with the command
  174.       /text \b,/para \\qj
  175.     /endpara
  176.  
  177.     /para \qc\sa150 \brdrth \box
  178.       This paragraph is centered. This is just some
  179.       text so that you can see that it is centered!
  180.       It was generated with the command
  181.       /text \b,/para \\qc
  182.     /endpara
  183.  
  184. /endtopic
  185.  
  186. //
  187. // paragraph indent examples
  188. //
  189.  
  190. /topic PARAGRAPH_INDENT_EXAMPLES
  191.  
  192.     /browse examples,AUTO
  193.  
  194.     /para \sa300
  195.       /text \b,Paragraph Indentation Examples
  196.     /endpara
  197.  
  198.     /para \fi300\sa150 \brdrth \box
  199.       This is a paragraph where the first line is indented.
  200.       It was generated using the command
  201.       /text \b,/para \\fi300
  202.       where 300 is the number of 
  203.       /popuplink TWIPS,twips
  204.       to indent the first line.
  205.     /endpara
  206.  
  207.     /para \li300\sa150 \brdrth \box
  208.       This is a paragraph that is indented on the left.
  209.       It was generated using the command
  210.       /text \b,/para \\li300
  211.       where 300 is the number of
  212.       /popuplink TWIPS,twips
  213.       to indent the entire paragraph.
  214.     /endpara
  215.  
  216.     /para \ri300\sa150 \brdrth \box
  217.       This is a paragraph that is indented on the right.
  218.       It was generated using the command
  219.       /text \b,/para \\ri300
  220.       where 300 is the number of
  221.       /popuplink TWIPS,twips
  222.       to indent the entire paragraph
  223.     /endpara
  224.  
  225. /endtopic
  226.  
  227. //
  228. // paragraph spacing examples
  229. //
  230.  
  231. /topic PARAGRAPH_SPACING_EXAMPLES
  232.  
  233.     /browse examples,AUTO
  234.  
  235.     /para \sb300
  236.       /text \b,Paragraph Spacing Examples
  237.     /endpara
  238.  
  239.     /para \sb500 \brdrth \box
  240.       This is a paragraph with a lot of space before it.
  241.       It was generated with the command
  242.       /text \b,/para \\sb500
  243.       where 500 is the number of 
  244.       /popuplink TWIPS,twips
  245.       between the previous paragraph and this paragraph.
  246.     /endpara
  247.  
  248.     /para \sa500 \brdrth \box
  249.       This is a paragraph with a lot of space after it.
  250.       It was generated with the command
  251.       /text \b,/para \\sa500
  252.       where 500 is the number of 
  253.       /popuplink TWIPS,twips
  254.       between the previous paragraph and this paragraph.
  255.     /endpara
  256.  
  257.     /para \sl450 \brdrth \box
  258.       This is a paragraph with alot of space between the
  259.       lines. If you only have one line resize the help
  260.       window to a smaller size to cause more than one line
  261.       to be used.
  262.       This paragraph was generated with the command
  263.       /text \b,/para \\sl450
  264.       where 450 is the number of 
  265.       /popuplink TWIPS,twips
  266.       between the lines.
  267.     /endpara
  268.  
  269. /endtopic
  270.  
  271. //
  272. // border placement examples
  273. //
  274.  
  275. /topic BORDER_PLACEMENT_EXAMPLES
  276.  
  277.     /browse examples,AUTO
  278.  
  279.     /para \sa300,\b,Paragraph Border Placement Examples
  280.     /endpara
  281.  
  282.     /para \brdrt\sa150 
  283.       This is a paragraph with the border placed only on top of 
  284.       it.
  285.       It was generated with the command
  286.       /text \b,/para \\brdrt
  287.     /endpara
  288.  
  289.     /para \brdrb\sa150 
  290.       This is a paragraph with the border placed only on the
  291.       bottom of it.
  292.       It was generated with the command
  293.       /text \b,/para \\brdrb
  294.     /endpara
  295.  
  296.     /para \brdrl\sa150 
  297.       This is a paragraph with the border placed only on 
  298.       the left of it.
  299.       It was generated with the command
  300.       /text \b,/para \\brdrl
  301.     /endpara
  302.  
  303.     /para \brdrr\sa150 
  304.       This is a paragraph with the border placed only on the
  305.       right of it.
  306.       It was generated with the command
  307.       /text \b,/para \\brdrr
  308.     /endpara
  309.  
  310.     /para \box\sa150 
  311.       This is a paragraph with the border placed 
  312.       all the way around it.
  313.       It was generated with the command
  314.       /text \b,/para \\box
  315.     /endpara
  316.  
  317. /endtopic
  318.  
  319. //
  320. // border style examples
  321. //
  322.  
  323. /topic BORDER_STYLE_EXAMPLES
  324.  
  325.     /browse examples,AUTO
  326.  
  327.     /para \sa300,\b,Paragraph Border Style Examples
  328.     /endpara
  329.  
  330.     /para \box\brdrs\sa150
  331.       This is a paragraph with a border of single thickness
  332.       around it. It was generated with the command 
  333.       /text \b,/para \\box\\brdrs.
  334.     /endpara
  335.  
  336.     /para \box\brdrth\sa150
  337.       This is a paragraph with a thick border around it. 
  338.       It was generated with the command 
  339.       /text \b,/para \\box\\brdrth.
  340.     /endpara
  341.  
  342.     /para \box\brdrsh\sa150
  343.       This is a paragraph with a shadow border around it. 
  344.       It was generated with the command 
  345.       /text \b,/para \\box\\brdrsh.
  346.     /endpara
  347.  
  348.     /para \box\brdrdb\sa150
  349.       This is a paragraph with a double border around it. 
  350.       It was generated with the command 
  351.       /text \b,/para \\box\\brdrdb.
  352.     /endpara
  353.  
  354. /endtopic
  355.  
  356. //
  357. // scroll wrap examples
  358. //
  359.  
  360. /topic SCROLL_WRAP_EXAMPLES,WIN31
  361.  
  362.     /browse examples,AUTO
  363.  
  364.     /para \keepn\sa300,\b,Paragraph Scroll Wrap Examples
  365.       This text is non scrolling!
  366.     /endpara
  367.  
  368.     /para \keep
  369.       This text does not word wrap no matter how small you make the window. \line
  370.       It just stays the way it is. \line
  371.     /endpara
  372.     
  373.     /para
  374.       This is just some text to scroll so you can see that the top part
  375.       of the window does not scroll \line
  376.       1 \line
  377.       2 \line
  378.       3 \line
  379.       4 \line
  380.       5 \line
  381.       6 \line
  382.       7 \line
  383.       8 \line
  384.       9 \line
  385.       10 \line
  386.       11 \line
  387.       12 \line
  388.       13 \line
  389.       14 \line
  390.       15 \line
  391.       16 \line
  392.       17 \line
  393.       18 \line
  394.       19 \line
  395.       20 \line
  396.       21 \line
  397.       22 \line
  398.       23 \line
  399.       24 \line
  400.       25 \line
  401.       26 \line
  402.       27 \line
  403.       28 \line
  404.       29 \line
  405.       30 \line
  406.     /endpara
  407.  
  408. /endtopic
  409.