home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _187FBBF1A5C9430F99AD39C77C1DEC8D < prev    next >
Text File  |  2003-03-07  |  34KB  |  1,596 lines

  1. SetDocumentMapping
  2.  
  3. Syntax
  4.  
  5. (MapName: string; Location: enumeration; Filename: string)
  6.  
  7. Description
  8.  
  9. Specify a character map for one-byte characters, as opposed to extended characters, when additional character maps are installed.
  10.  
  11. Parameters
  12.  
  13. MapName: string    The name of the character map.
  14.  
  15. Location: enumeration    MapExternal!
  16.  
  17. MapInternal!
  18.  
  19. Filename: string (optional)    The filename of the character map.
  20.  
  21. SetSelEx
  22.  
  23. Syntax
  24.  
  25. (Start: numeric; End: numeric)
  26.  
  27. Description
  28.  
  29. Lets you set up a selection. This product command enables the user to set the size of the selection in characters.
  30.  
  31. Parameters
  32.  
  33. Start: numeric    The start of the selection
  34.  
  35. End: numeric    The end of the selection.
  36.  
  37. Note
  38.  
  39.   New command
  40.   
  41. SettingsDlg
  42.  
  43. Syntax
  44.  
  45. ()
  46.  
  47. Description
  48.  
  49. Display the Settings dialog box.
  50.  
  51. SetUndoLevels
  52.  
  53. Syntax
  54.  
  55. (Levels: numeric)
  56.  
  57. Description
  58.  
  59. Specify the number of Undo/Redo items to maintain in the document.
  60.  
  61. Parameters
  62.  
  63. Levels: numeric    Value: 0-300.
  64.  
  65. SGMLAddToAttrList
  66.  
  67. Syntax
  68.  
  69. (Name: string; Value: string)
  70.  
  71. Description
  72.  
  73. Append a value to an existing attribute value. The attribute named must be present in the previous start tag. The value in the previous start tag is appended with a space followed by the value. This command is valid only if the WordPerfect SGML program component is installed.
  74.  
  75. Parameters
  76.  
  77. Name: string    The name of the attribute.
  78.  
  79. Value: string    The value to append to the attribute.
  80.  
  81. SGMLBoxAddToAttrList
  82.  
  83. Syntax
  84.  
  85. (Element: string; Name: string; Value: string)
  86.  
  87. Description
  88.  
  89. Append a value to an existing graphics box element attribute value. The element and attribute name must be present in the selected graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  90.  
  91. Parameters
  92.  
  93. Element: string    The name of the element.
  94.  
  95. Name: string    The name of the attribute.
  96.  
  97. Value: string    The value to append to the attribute.
  98.  
  99. SGMLBoxAttribute
  100.  
  101. Syntax
  102.  
  103. (Element: string; Name: string; Value: string)
  104.  
  105. Description
  106.  
  107. Set the attribute value of a graphics box element. The element must be present in the selected graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  108.  
  109. Parameters
  110.  
  111. Element: string    The name of the element.
  112.  
  113. Name: string    The name of the attribute.
  114.  
  115. Value: string    The value to set.
  116.  
  117. SGMLBoxDeleteAttribute
  118.  
  119. Syntax
  120.  
  121. (Element: string; Name: string)
  122.  
  123. Description
  124.  
  125. Delete a graphics box element attribute. The element and named attribute must be present in the selected graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  126.  
  127. Parameters
  128.  
  129. Element: string    The name of the element.
  130.  
  131. Name: string    The name of the attribute.
  132.  
  133. SGMLBoxDeleteMarkup
  134.  
  135. Syntax
  136.  
  137. (Type: enumeration)
  138.  
  139. Description
  140.  
  141. Delete an element of the selected graphics box. This command is valid only if the Corel WordPerfet SGML program component is installed.
  142.  
  143. Parameters
  144.  
  145. Type: enumeration    Box!
  146.  
  147. Caption!
  148.  
  149. Content!
  150.  
  151. SGMLBoxElementDlg
  152.  
  153. Syntax
  154.  
  155. ()
  156.  
  157. Description
  158.  
  159. Select SGML elements for the selected graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  160.  
  161. SGMLBoxMarkup
  162.  
  163. Syntax
  164.  
  165. (Type: enumeration; Name: string)
  166.  
  167. Description
  168.  
  169. Set the element for a graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  170.  
  171. Parameters
  172.  
  173. Type: enumeration    Box!
  174.  
  175. Caption!
  176.  
  177. Content!
  178.  
  179. Name: string    The name of the element.
  180.  
  181. SGMLCDATASection
  182.  
  183. Syntax
  184.  
  185. ()
  186.  
  187. Description
  188.  
  189. Insert an XML CDATA section.
  190.  
  191. Note
  192.  
  193.   New command
  194.   
  195. SGMLCharRef
  196.  
  197. Syntax
  198.  
  199. (Character: string[; Type: enumeration])
  200.  
  201. Description
  202.  
  203. Insert a character reference. The character needs to be mapped as an 8-bit ASCII character in the document type. This command is valid only if the WordPerfect SGML program component is installed.
  204.  
  205. Parameters
  206.  
  207. Character: string    The character to use.
  208.  
  209. Type: enumeration (optional)    Decimal!
  210.  
  211. Hexadecimal!
  212.  
  213. SGMLContentModelDlg
  214.  
  215. Syntax
  216.  
  217. (Element: string)
  218.  
  219. Description
  220.  
  221. Display the Element Content dialog box, which allows you to view an element's content model. This command is valid only if the WordPerfect SGML program component is installed.
  222.  
  223. Parameters
  224.  
  225. Element: string (optional)    The name of the element.
  226.  
  227. SGMLCreateDocType
  228.  
  229. Syntax
  230.  
  231. (DocTypeName: string; LogicFile: string; LayoutFile: string; AliasFile: string; OptFile1: string; OptFile2: string; OptFile3: string; OptFile4: string; OptFile5: string; OptFile6: string; OptFile7: string; OptFile8: string; OptFile9: string; OptFile10: string)
  232.  
  233. Description
  234.  
  235. Create a document-type entry. You must include at least a document-type name and a logic filename. This command is valid only if the WordPerfect SGML program component is installed.
  236.  
  237. Parameters
  238.  
  239. DocTypeName: string    The name for the document type.
  240.  
  241. LogicFile: string    The filename of the logic file.
  242.  
  243. LayoutFile: string (optional)    The filename of the layout file.
  244.  
  245. AliasFile: string (optional)    The filename of the alias file.
  246.  
  247. OptFile1: string (optional)    The filename of an optional file.
  248.  
  249. OptFile2: string (optional)    The filename of an optional file.
  250.  
  251. OptFile3: string (optional)    The filename of an optional file.
  252.  
  253. OptFile4: string (optional)    The filename of an optional file.
  254.  
  255. OptFile5: string (optional)    The filename of an optional file.
  256.  
  257. OptFile6: string (optional)    The filename of an optional file.
  258.  
  259. OptFile7: string (optional)    The filename of an optional file.
  260.  
  261. OptFile8: string (optional)    The filename of an optional file.
  262.  
  263. OptFile9: string (optional)    The filename of an optional file.
  264.  
  265. OptFile10: string (optional)    The filename of an optional file.
  266.  
  267. SGMLDeleteAttribute
  268.  
  269. Syntax
  270.  
  271. (Name: string)
  272.  
  273. Description
  274.  
  275. Delete an attribute. The attribute must be present in the previous start tag. This command is valid only if the WordPerfect SGML program component is installed.
  276.  
  277. Parameters
  278.  
  279. Name: string    The name of the attribute to delete.
  280.  
  281. SGMLDeleteDocType
  282.  
  283. Syntax
  284.  
  285. (DocTypeName: string)
  286.  
  287. Description
  288.  
  289. Delete a document-type entry. This command is valid only if the WordPerfect SGML program component is installed.
  290.  
  291. Parameters
  292.  
  293. DocTypeName: string    The name of the document type to delete.
  294.  
  295. SGMLDocTypeDlg
  296.  
  297. Syntax
  298.  
  299. ()
  300.  
  301. Description
  302.  
  303. Display the Document Types dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  304.  
  305. SGMLEditAttributeDlg
  306.  
  307. Syntax
  308.  
  309. (Name: string)
  310.  
  311. Description
  312.  
  313. Display the Edit Attribute dialog box. This command differs from SGMLEditAttributesDlg in that it allows you to edit a specific attribute of an element. This command is valid only if the WordPerfect SGML program component is installed.
  314.  
  315. Parameters
  316.  
  317. Name: string    The name of the attribute to edit.
  318.  
  319. SGMLEditAttributesDlg
  320.  
  321. Syntax
  322.  
  323. ()
  324.  
  325. Description
  326.  
  327. Display the Edit Attributes dialog box. This command differs from SGMLEditAttributeDlg in that it allows you to edit all the attributes of an element. This command is valid only if the WordPerfect SGML program component is installed.
  328.  
  329. SGMLEditBoxAttributeDlg
  330.  
  331. Syntax
  332.  
  333. (Element: string; Name: string)
  334.  
  335. Description
  336.  
  337. Display the Edit Attribute dialog box. This command differs from SGMLEditBoxAttributesDlg in that it allows you to edit a specific attribute of an element of the selected graphics box. This command is valid only if the WordPerfect SGML program component is installed.
  338.  
  339. Parameters
  340.  
  341. Element: string    The name of the element.
  342.  
  343. Name: string    The name of the attribute to edit.
  344.  
  345. SGMLEditBoxAttributesDlg
  346.  
  347. Syntax
  348.  
  349. (Element: string)
  350.  
  351. Description
  352.  
  353. Edit the attributes of a box element.
  354.  
  355. Parameters
  356.  
  357. Element: string    The name of the element to edit.
  358.  
  359. SGMLEditLayout
  360.  
  361. Syntax
  362.  
  363. ([Name: string][; CreateGenericLayout: enumeration])
  364.  
  365. Description
  366.  
  367. Lets you edit Layout from XML Project Template.
  368.  
  369. Parameters
  370.  
  371. Name: string (optional)    The name of the layout
  372.  
  373. CreateGenericLayout: enumeration (optional)    No!
  374.  
  375. Yes!
  376.  
  377. Note
  378.  
  379.   New command
  380.   
  381. SGMLElementDlg
  382.  
  383. Syntax
  384.  
  385. ()
  386.  
  387. Description
  388.  
  389. Lets you insert an XML element.
  390.  
  391. Note
  392.  
  393.   New command
  394.   
  395. SGMLElementEditDlg
  396.  
  397. Syntax
  398.  
  399. ()
  400.  
  401. Description
  402.  
  403. Lets you edit an XML element.
  404.  
  405. Note
  406.  
  407.   New command
  408.   
  409. SGMLElementList
  410.  
  411. Syntax
  412.  
  413. SGMLElementList()
  414.  
  415. Description
  416.  
  417. Lets you display valid elements in an XML document.
  418.  
  419. SGMLElementsDlg
  420.  
  421. Syntax
  422.  
  423. ()
  424.  
  425. Description
  426.  
  427. Display the SGML Elements dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  428.  
  429. SGMLEndElement
  430.  
  431. Syntax
  432.  
  433. ()
  434.  
  435. Description
  436.  
  437. Lets you end the current XML element.
  438.  
  439. Note
  440.  
  441.   New command
  442.   
  443. SGMLEntityRef
  444.  
  445. Syntax
  446.  
  447. (Name: string)
  448.  
  449. Description
  450.  
  451. Insert an entity reference. For text references, entity references must be declared in the document type. For file references, entity references must be user declared or declared in the document type. This command is valid only if the WordPerfect SGML program component is installed.
  452.  
  453. Parameters
  454.  
  455. Name: string    The name of the entity.
  456.  
  457. SGMLExportImport
  458.  
  459. Syntax
  460.  
  461. (Name: string; DocType: string)
  462.  
  463. Description
  464.  
  465. Lets you export or import XML files.
  466.  
  467. Parameters
  468.  
  469. Name: string    The name of the XML file.
  470.  
  471. DocType: string (optional)    
  472.  
  473. SGMLFileRefDataType
  474.  
  475. Syntax
  476.  
  477. (FileRefName: string; DataType: enumeration)
  478.  
  479. Description
  480.  
  481. Specify the data type of a file reference. Can be used only with user-declared file references. This command is valid only if the WordPerfect SGML program component is installed.
  482.  
  483. Parameters
  484.  
  485. FileRefName: string    The filename of the reference file.
  486.  
  487. DataType: enumeration    CDATA!
  488.  
  489. NDATA!
  490.  
  491. None!
  492.  
  493. SDATA!
  494.  
  495. SUBDOC!
  496.  
  497. SGMLFileRefDelAttribute
  498.  
  499. Syntax
  500.  
  501. (FileRefName: string; Name: string)
  502.  
  503. Description
  504.  
  505. Delete a file reference notation attribute. Can be used only if a user-declared file reference exists for the specified FileRefName. An attribute of the specified Name must already exist for the file reference. This command is valid only if the WordPerfect SGML program component is installed.
  506.  
  507. Parameters
  508.  
  509. FileRefName: string    The filename of the reference file.
  510.  
  511. Name: string    The file reference notation attribute to delete.
  512.  
  513. SGMLFileRefDelete
  514.  
  515. Syntax
  516.  
  517. (Name: string)
  518.  
  519. Description
  520.  
  521. Delete a file reference declaration and all entity references that use the file reference declaration. Only user-declared file references can be deleted. This command is valid only if the WordPerfect SGML program component is installed.
  522.  
  523. Parameters
  524.  
  525. Name: string    The file reference declaration to delete.
  526.  
  527. SGMLFileRefDlg
  528.  
  529. Syntax
  530.  
  531. ()
  532.  
  533. Description
  534.  
  535. Display the File References dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  536.  
  537. SGMLFileRefFilePath
  538.  
  539. Syntax
  540.  
  541. (FileRefName: string; FilePath: string)
  542.  
  543. Description
  544.  
  545. Specify the file path of a file reference. Can be used only with user-declared file references. This command is valid only if the WordPerfect SGML program component is installed.
  546.  
  547. Parameters
  548.  
  549. FileRefName: string    The filename of the reference file.
  550.  
  551. FilePath: string    The path of the reference file.
  552.  
  553. SGMLFileRefNew
  554.  
  555. Syntax
  556.  
  557. (Name: string; PublicID: string; FilePath: string; DataType: enumeration; NotationName: string)
  558.  
  559. Description
  560.  
  561. Create a file reference declaration. A file reference of the Name cannot already exist. This command is valid only if the WordPerfect SGML program component is installed.
  562.  
  563. Parameters
  564.  
  565. Name: string    The name of the reference file.
  566.  
  567. PublicID: string    The ID of the reference file.
  568.  
  569. FilePath: string (optional)    The path of the reference file.
  570.  
  571. DataType: enumeration (optional)    CDATA!
  572.  
  573. NDATA!
  574.  
  575. None!
  576.  
  577. SDATA!
  578.  
  579. SUBDOC!
  580.  
  581. NotationName: string (optional)    The name of the reference file notation.
  582.  
  583. SGMLFileRefNewAttribute
  584.  
  585. Syntax
  586.  
  587. (FileRefName: string; Name: string; Value: string)
  588.  
  589. Description
  590.  
  591. Create a file reference notation attribute. Can be used only if a user-declared file reference exists for the specified FileRefName. An attribute of the specified Name cannot already exist for the file reference. This command is valid only if the WordPerfect SGML program component is installed.
  592.  
  593. Parameters
  594.  
  595. FileRefName: string    The name of the reference file.
  596.  
  597. Name: string    The name of the file reference notation.
  598.  
  599. Value: string    The value of the file reference notation.
  600.  
  601. SGMLFileRefNotation
  602.  
  603. Syntax
  604.  
  605. (FileRefName: string; Notation: string)
  606.  
  607. Description
  608.  
  609. Specify the notation for a file reference. Can be used only with user-declared file references. This command is valid only if the WordPerfect SGML program component is installed.
  610.  
  611. Parameters
  612.  
  613. FileRefName: string    The name of the reference file.
  614.  
  615. Notation: string    The file reference notation.
  616.  
  617. SGMLFileRefPubID
  618.  
  619. Syntax
  620.  
  621. (FileRefName: string; PublicID: string)
  622.  
  623. Description
  624.  
  625. Specify the public identifier for a file reference. Can be used only with user-declared file references. This command is valid only if the WordPerfect SGML program component is installed.
  626.  
  627. Parameters
  628.  
  629. FileRefName: string    The name of the reference file.
  630.  
  631. PublicID: string    The ID of the file reference.
  632.  
  633. SGMLFileRefRename
  634.  
  635. Syntax
  636.  
  637. (OldName: string; NewName: string)
  638.  
  639. Description
  640.  
  641. Change the name of a file reference. Can be used only with user-declared file references. This command is valid only if the WordPerfect SGML program component is installed.
  642.  
  643. Parameters
  644.  
  645. OldName: string    The original name of the file reference.
  646.  
  647. NewName: string    The new name of the file reference.
  648.  
  649. SGMLFindElementEnd
  650.  
  651. Syntax
  652.  
  653. ()
  654.  
  655. Description
  656.  
  657. Position the insertion point after the current element's end tag. If the element is defined by the layout file to be a WordPerfect type (for example, a header, footer, or image), and the element's end is located at the end of the WordPerfect type, the type is also exited. This command is valid only if the WordPerfect SGML program component is installed.
  658.  
  659. SGMLFindElementStart
  660.  
  661. Syntax
  662.  
  663. (CursorPos: enumeration)
  664.  
  665. Description
  666.  
  667. Position the insertion point at the beginning of the current element. This command is valid only if the WordPerfect SGML program component is installed.
  668.  
  669. Parameters
  670.  
  671. CursorPos: enumeration (optional)    After!
  672.  
  673. Before!
  674.  
  675. SGMLFindNextTable
  676.  
  677. Syntax
  678.  
  679. ()
  680.  
  681. Description
  682.  
  683. Position the insertion point in the next table. Can be used only with a document type that allows table tagging. This command is valid only if the WordPerfect SGML program component is installed.
  684.  
  685. SGMLFindStartTag
  686.  
  687. Syntax
  688.  
  689. (Name: string; Direction: enumeration; AttributeEditFind: enumeration)
  690.  
  691. Description
  692.  
  693. Find the start of an element. This command is valid only if the WordPerfect SGML program component is installed.
  694.  
  695. Parameters
  696.  
  697. Name: string (optional)    The name of the element.
  698.  
  699. Direction: enumeration (optional)    Either! Searches backward first, then forward for the start tag.
  700.  
  701. Next!
  702.  
  703. Previous!
  704.  
  705. AttributeEditFind: enumeration (optional)    No!
  706.  
  707. Yes! Limits the find to start tags with attributes present, or start tags with attributes declared in the document type.
  708.  
  709. SGMLGetAttributeData
  710.  
  711. Syntax
  712.  
  713. (Variable: variable; Item: enumeration; Type: enumeration; Element: enumeration; ItemNum: numeric)
  714.  
  715. Description
  716.  
  717. Assign information to a variable about the attributes of the current element. The macro uses the variable with other commands to retrieve information, or to determine whether to perform specified actions. This command is valid only if the WordPerfect SGML program component is installed.
  718.  
  719. Parameters
  720.  
  721. Variable: variable    The name of the variable.
  722.  
  723. Item: enumeration    Count! Returns a count of all the attributes of a given type.
  724.  
  725. DefaultValue! Returns the default value for the attribute specified in the document type. The string returned can be CONREF, CURRENT, IMPLIED, REQUIRED, or a string up to 1000 characters.
  726.  
  727. ErrorType! Returns one of the following values, representing the type of error for the attribute:
  728.  
  729.  0 No error
  730.  
  731.  1 Unknown attribute
  732.  
  733.  2 Invalid character in NAME attribute
  734.  
  735.  3 Invalid character in NMTOKEN attribute
  736.  
  737.  4 Invalid character in NUMBER attribute
  738.  
  739.  5 Invalid character in NUTOKEN attribute
  740.  
  741.  6 An attribute value exceeds NAMELEN
  742.  
  743.  7 Only one value is allowed
  744.  
  745.  8 Attribute length exceeds LITLEN
  746.  
  747.  9 No mapping for an attribute extended character
  748.  
  749.  10 Attribute has no value assigned
  750.  
  751.  11 Entity open (&...) in the attribute is not validated
  752.  
  753.  12 Char Ref (&#...) in the attribute is not validated
  754.  
  755.  13 An attribute value is not in the declared list
  756.  
  757.  14 Attribute is not the declared FIXED value
  758.  
  759.  15 Attribute is not a declared entity
  760.  
  761.  16 Attribute is not a data or SUBDOC entity
  762.  
  763.  17 More than one attribute has the same name
  764.  
  765. Name! Returns the name of the attribute specified by ItemNum.
  766.  
  767. Status! Returns one of the following values, representing the statue of the attribute:
  768.  
  769.  0 Does not have a value currently specified
  770.  
  771.  1 Has a value
  772.  
  773.  2 Has a value but is in error
  774.  
  775. Type! Returns one of the following values:
  776.  
  777.  0 Unknown
  778.  
  779.  1 FIXED
  780.  
  781.  2 The declared type was a list
  782.  
  783.  3 CDATA
  784.  
  785.  4 ENTITIES
  786.  
  787.  5 ENTITY
  788.  
  789.  6 ID
  790.  
  791.  7 IDREF
  792.  
  793.  8 IDREFS
  794.  
  795.  9 NAME
  796.  
  797.  10 NAMES
  798.  
  799.  11 NMTOKEN
  800.  
  801.  12 NMTOKENS
  802.  
  803.  13 NOTATION
  804.  
  805.  14 NUMBER
  806.  
  807.  15 NUMBERS
  808.  
  809.  16 NUTOKEN
  810.  
  811.  17 NUTOKENS
  812.  
  813. Value! Returns the value of an attribute specified in the tag. (Value! always returns an error if the attribute has not been given a value.)
  814.  
  815. Type: enumeration    Specify the type of attribute a variable belongs to.
  816.  
  817. All! Returns information about all attributes available in the open or previous element, relative to the insertion point.
  818.  
  819. InTag! Returns information about the attributes that have been given a value in the open or previous element, relative to the insertion point.
  820.  
  821. Invalid! Returns information about the attributes that have been given an invalid value in the open or previous element, relative to the insertion point.
  822.  
  823. NotInTag! Returns information about the attributes that have not been given a value in the open or previous element, relative to the insertion point.
  824.  
  825. Element: enumeration    Specify which element to act on. Previous elements are used for empty elements.
  826.  
  827. Open!
  828.  
  829. Previous!
  830.  
  831. ItemNum: numeric (optional)    Specify the number of the item from which the Item parameter extracts information.
  832.  
  833. SGMLGetElementData
  834.  
  835. Syntax
  836.  
  837. (Variable: variable; Item: enumeration; Type: enumeration; ItemNum: numeric)
  838.  
  839. Description
  840.  
  841. Assign information to a variable about the elements available in a WordPerfect document. The macro uses the variable with other commands to retrieve information or to determine whether to perform specified actions. This command is valid only if the WordPerfect SGML program component is installed.
  842.  
  843. Parameters
  844.  
  845. Variable: variable    The name of the variable.
  846.  
  847. Item: enumeration    Count! Returns a count of all the elements of a given type.
  848.  
  849. LSIType! Returns one of the following values:
  850.  
  851.  0 Watermark B
  852.  
  853.  1 Endnote
  854.  
  855.  2 Header A
  856.  
  857.  3 Header B
  858.  
  859.  4 Footer A
  860.  
  861.  5 Footer B
  862.  
  863.  6 Footnote
  864.  
  865.  7 Image Box
  866.  
  867.  8 Watermark A
  868.  
  869.  9 Table
  870.  
  871.  10 Text Box
  872.  
  873.  11 Equation Box
  874.  
  875.  12 Normal (unspecified)
  876.  
  877. Name! Returns the name of the element specified by ItemNum.
  878.  
  879. Type: enumeration    All! Returns information about all elements available in the document.
  880.  
  881. Open! Returns information about all elements that are open at the insertion point.
  882.  
  883. Previous!
  884.  
  885. Valid! Returns information about elements that are valid to insert at the insertion point (with the exception of inclusions).
  886.  
  887. ItemNum: numeric (optional)    Specify the number of the item from which the Item parameter extracts information.
  888.  
  889. SGMLGetFileRefData
  890.  
  891. Syntax
  892.  
  893. (Variable: variable; Item: enumeration; Type: enumeration; ItemNum: numeric)
  894.  
  895. Description
  896.  
  897. Assign information to a variable about the external file references available in a WordPerfect document. The macro uses the variable with other commands to retrieve information or to determine whether to perform specified actions. This command is valid only if the WordPerfect SGML program component is installed.
  898.  
  899. Parameters
  900.  
  901. Variable: variable    The name of the variable.
  902.  
  903. Item: enumeration    Count! Returns a count of all the file references of a given type.
  904.  
  905. DataType! Returns one of the following values:
  906.  
  907.  0 None
  908.  
  909.  1 CDATA
  910.  
  911.  2 NDATA
  912.  
  913.  3 SDATA
  914.  
  915.  4 SUBDOC
  916.  
  917. FilePath! Returns the file path of the file reference.
  918.  
  919. Name! Returns the name of the file reference.
  920.  
  921. Notation! Returns the notation type of the file reference.
  922.  
  923. PublicID! Returns the public identifier of the file reference.
  924.  
  925. Type: enumeration    DTD! Returns information about all file references declared in the document type.
  926.  
  927. User! Returns information about all file references the user has defined in the document.
  928.  
  929. ItemNum: numeric (optional)    Specify the number of the item from which the Item parameter extracts information.
  930.  
  931. SGMLIDIDREFListDlg
  932.  
  933. Syntax
  934.  
  935. ()
  936.  
  937. Description
  938.  
  939. Display the list of ID and IDREF attributes. This command is valid only if the WordPerfect SGML program component is installed.
  940.  
  941. SGMLIgnore
  942.  
  943. Syntax
  944.  
  945. ()
  946.  
  947. Description
  948.  
  949. Insert SGML IGNORE codes. If you insert IGNORE codes around selected text that includes start and end tags, other SGML IGNORE codes, or subdocument marker codes, be sure the selection includes both the beginning and end tag or code. This command is valid only if the WordPerfect SGML program component is installed.
  950.  
  951. SGMLInsertElement
  952.  
  953. Syntax
  954.  
  955. (Name: string[; Options: enumeration][; Attribute: string][; Value: string])
  956.  
  957. Description
  958.  
  959. Insert an element. If you insert an element around selected text that includes start and end tags, SGML IGNORE codes, or subdocument marker codes, be sure the selection includes both the beginning and end tag or code. This command is valid only if the WordPerfect SGML program component is installed.
  960.  
  961. Parameters
  962.  
  963. Name: string    The name of the element.
  964.  
  965. Options: enumeration (optional)    None!
  966.  
  967. Spawn!
  968.  
  969. Empty!
  970.  
  971. Attribute: string (optional)    The attribute of the element.
  972.  
  973. Value: string (optional)    The value of the element.
  974.  
  975. SGMLLoadDocType
  976.  
  977. Syntax
  978.  
  979. (DocTypeName: string)
  980.  
  981. Description
  982.  
  983. Select a document type for the current document. The document-type includes at least a document type name and logic file (.LGC), but may also include a layout file (.LSI), and an alias file (.LNM). This command is valid only if the WordPerfect program component is installed.
  984.  
  985. Parameters
  986.  
  987. DocTypeName: string    The document type.
  988.  
  989. SGMLLogicErrorDlg
  990.  
  991. Syntax
  992.  
  993. ()
  994.  
  995. Description
  996.  
  997. Display the Logic Errors dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  998.  
  999. SGMLMarkedSecParamEntity
  1000.  
  1001. Syntax
  1002.  
  1003. (Name: string[; Keyword: enumeration])
  1004.  
  1005. Description
  1006.  
  1007. Lets you create or replace a marked section parameter entity declaration.
  1008.  
  1009. Parameters
  1010.  
  1011. Name: string    The name of the marked section parameter entity declaration.
  1012.  
  1013. Keyword: enumeration (optional)    None!
  1014.  
  1015. CDATA!
  1016.  
  1017. RCDATA!
  1018.  
  1019. IGNORE!
  1020.  
  1021. INCLUDE!
  1022.  
  1023. TEMP!
  1024.  
  1025. Note
  1026.  
  1027.   New command
  1028.   
  1029. SGMLMarkedSection
  1030.  
  1031. Syntax
  1032.  
  1033. ([Keyword: enumeration][; Name: string])
  1034.  
  1035. Description
  1036.  
  1037. Lets you insert a marked section.
  1038.  
  1039. Parameters
  1040.  
  1041. Keyword: enumeration (optional)    The keyword
  1042.  
  1043. Name: string (optional)    The name
  1044.  
  1045. SGMLMarkedSectionDlg
  1046.  
  1047. Syntax
  1048.  
  1049. ()
  1050.  
  1051. Description
  1052.  
  1053. Lets you insert a marked section.
  1054.  
  1055. Note
  1056.  
  1057.   New command
  1058.   
  1059. SGMLMrkSecPEDelete
  1060.  
  1061. Syntax
  1062.  
  1063. (Name: string)
  1064.  
  1065. Description
  1066.  
  1067. Lets you delete a marked section parameter entity declaration.
  1068.  
  1069. Parameter
  1070.  
  1071. Name: string    The marked section parameter entity declaration
  1072.  
  1073. Note
  1074.  
  1075.   New command
  1076.   
  1077. SGMLMrkSecPERename
  1078.  
  1079. Syntax
  1080.  
  1081. (Name: string; Value: string)
  1082.  
  1083. Description
  1084.  
  1085. Lets you create an attribute.
  1086.  
  1087. Parameters
  1088.  
  1089. Name: string    The name
  1090.  
  1091. Value: string    The value
  1092.  
  1093. Note
  1094.  
  1095.   New command
  1096.   
  1097. SGMLNewAttribute
  1098.  
  1099. Syntax
  1100.  
  1101. (Name: string; Value: string)
  1102.  
  1103. Description
  1104.  
  1105. Create an attribute value. The name of the attribute must be different from any attribute in the previous start tag. This command is valid only if the WordPerfect SGML program component is installed.
  1106.  
  1107. Parameters
  1108.  
  1109. Name: string    The name of the attribute.
  1110.  
  1111. Value: string    The value of the attribute.
  1112.  
  1113. SGMLOpenFileDlg
  1114.  
  1115. Syntax
  1116.  
  1117. ()
  1118.  
  1119. Description
  1120.  
  1121. Display the Open SGML File dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1122.  
  1123. SGMLOpenFileOptions
  1124.  
  1125. Syntax
  1126.  
  1127. (WhiteSpaceConvert: enumeration; OmitTags: enumeration; DocTypeName: string)
  1128.  
  1129. Description
  1130.  
  1131. Specify the document type and options for retrieving an SGML document. This command is valid only if the WordPerfect SGML program component is installed.
  1132.  
  1133. Parameters
  1134.  
  1135. WhiteSpaceConvert: enumeration (optional)    This parameter is obsolete, but it has been left in the program for compatibility with previous versions of WordPerfect.
  1136.  
  1137. No!
  1138.  
  1139. Yes!
  1140.  
  1141. OmitTags: enumeration    No!
  1142.  
  1143. Yes!
  1144.  
  1145. DocTypeName: string    The document type.
  1146.  
  1147. SGMLPrefDlg
  1148.  
  1149. Syntax
  1150.  
  1151. ()
  1152.  
  1153. Description
  1154.  
  1155. Display the SGML Preferences dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1156.  
  1157. SGMLPreferences
  1158.  
  1159. Syntax
  1160.  
  1161. ([DocTypeDir: string][; Show: enumeration][; RevealCode: enumeration][; Red: numeric][; Green: numeric][; Blue: numeric][; FontSize: measurement][; HTMLImport: enumeration][; ImportPrompt: enumeration][; OmitTagsImport: enumeration][; DefaultSaveAsXML: enumeration][; TemplateFolder: string][; ProjBaseTemplate: string][; GraphicsFolder: string][; CatalogFile: string])
  1162.  
  1163. Description
  1164.  
  1165. Specify a default directory for the document-type files and the display preferences for tags in the document and in Reveal Codes. This command is valid only if the WordPerfect SGML program component is installed.
  1166.  
  1167. Parameters
  1168.  
  1169. DocTypeDir: string (optional)    The directory for the document type files.
  1170.  
  1171. Show: enumeration (optional)    Hide!
  1172.  
  1173. Show!
  1174.  
  1175. ShowAsMarkers!
  1176.  
  1177. RevealCode: enumeration (optional)    ShowLayout!
  1178.  
  1179. ShowAttributes!
  1180.  
  1181. Red: numeric (optional)    Value: 0-255.
  1182.  
  1183. Green: numeric (optional)    Value: 0-255.
  1184.  
  1185. Blue: numeric (optional)    Value: 0-255.
  1186.  
  1187. FontSize: measurement (optional)    The size of the font.
  1188.  
  1189. HTMLImport: enumeration (optional)    No!
  1190.  
  1191. Yes!
  1192.  
  1193. ImportPrompt: enumeration (optional)    No!
  1194.  
  1195. Yes!
  1196.  
  1197. OmitTagsImport: enumeration (optional)    No!
  1198.  
  1199. Yes!
  1200.  
  1201. DefaultSaveAsXML: enumeration (optional)    No!
  1202.  
  1203. Yes!
  1204.  
  1205. TemplateFolder: string (optional)    The template folder.
  1206.  
  1207. ProjBaseTemplate: string (optional)    
  1208.  
  1209. GraphicsFolder: string (optional)    The graphics folder.
  1210.  
  1211. SGMLProcessingInstruction
  1212.  
  1213. Syntax
  1214.  
  1215. ([Name: string])
  1216.  
  1217. Description
  1218.  
  1219. Lets you insert an XML processing instruction.
  1220.  
  1221. Parameter
  1222.  
  1223. Name: string (optional)    The name of the instruction
  1224.  
  1225. Note
  1226.  
  1227.   New command
  1228.   
  1229. SGMLProcessingInstructionDlg
  1230.  
  1231. Syntax
  1232.  
  1233. ()
  1234.  
  1235. Description
  1236.  
  1237. Lets you insert an XML processing instruction.
  1238.  
  1239. Note
  1240.  
  1241.   New command
  1242.   
  1243. SGMLProcessTarget
  1244.  
  1245. Syntax
  1246.  
  1247. (Name: string[; PublicID: string][; FilePath: string])
  1248.  
  1249. Description
  1250.  
  1251. Lets you create a process target declaration.
  1252.  
  1253. Parameters
  1254.  
  1255. Name: string    The name of the target
  1256.  
  1257. PublicID: string (optional)    The ID
  1258.  
  1259. FilePath: string (optional)    The file path
  1260.  
  1261. Note
  1262.  
  1263.   New command
  1264.   
  1265. SGMLProcessTargetDelete
  1266.  
  1267. Syntax
  1268.  
  1269. (Name: string)
  1270.  
  1271. Description
  1272.  
  1273. Lets you delete a process target.
  1274.  
  1275. Parameter
  1276.  
  1277. Name: string    The name of the target
  1278.  
  1279. Note
  1280.  
  1281.   New command
  1282.   
  1283. SGMLProcessTargetFilePath
  1284.  
  1285. Syntax
  1286.  
  1287. (TargetName: string; FilePath: string)
  1288.  
  1289. Description
  1290.  
  1291. Lets you set the file path of a process target.
  1292.  
  1293. Parameters
  1294.  
  1295. TargetName: string    The name of the target
  1296.  
  1297. FilePath: string    The file path
  1298.  
  1299. Note
  1300.  
  1301.   New command
  1302.   
  1303. SGMLProcessTargetPubID
  1304.  
  1305. Syntax
  1306.  
  1307. (TargetName: string; FilePath: string)
  1308.  
  1309. Description
  1310.  
  1311. Lets you change the public ID of a process target
  1312.  
  1313. Parameters
  1314.  
  1315. TargetName: string    The name of the target
  1316.  
  1317. FilePath: string    The file path
  1318.  
  1319. Note
  1320.  
  1321.   New command
  1322.   
  1323. SGMLProcessTargetRename
  1324.  
  1325. Syntax
  1326.  
  1327. (OldName: string; NewName: string)
  1328.  
  1329. Description
  1330.  
  1331. Lets you change the name of a process target.
  1332.  
  1333. Parameters
  1334.  
  1335. OldName: string    The old name
  1336.  
  1337. NewName: string    The new name
  1338.  
  1339. Note
  1340.  
  1341.   New command
  1342.   
  1343. SGMLRenameElement
  1344.  
  1345. Syntax
  1346.  
  1347. (Name: string)
  1348.  
  1349. Description
  1350.  
  1351. Rename the element previous to the insertion point. Does not change the element attributes. This command is valid only if the WordPerfect SGML program component is installed. Not recordable.
  1352.  
  1353. Parameters
  1354.  
  1355. Name: string    The new name for the element.
  1356.  
  1357. SGMLReplaceAttribute
  1358.  
  1359. Syntax
  1360.  
  1361. (Name: string; Value: string)
  1362.  
  1363. Description
  1364.  
  1365. Replace the current attribute value. The attribute must be present in the previous start tag. This command is valid only if the WordPerfect SGML program component is installed.
  1366.  
  1367. Parameters
  1368.  
  1369. Name: string    The name of the attribute.
  1370.  
  1371. Value: string    The value of the attribute.
  1372.  
  1373. SGMLRootElement
  1374.  
  1375. Syntax
  1376.  
  1377. (Element: string)
  1378.  
  1379. Description
  1380.  
  1381. Change the root element of the current document type. This command is valid only if the WordPerfect SGML program component is installed.
  1382.  
  1383. Parameters
  1384.  
  1385. Element: string    The name of the root element.
  1386.  
  1387. SGMLRootElementDlg
  1388.  
  1389. Syntax
  1390.  
  1391. ()
  1392.  
  1393. Description
  1394.  
  1395. Display the Select Root Element dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1396.  
  1397. SGMLSaveAsOptions
  1398.  
  1399. Syntax
  1400.  
  1401. (DocTypeDeclaration: enumeration; SGMLDeclaration: enumeration; ConvertSRT: enumeration)
  1402.  
  1403. Description
  1404.  
  1405. Set options for saving a document in SGML format. This command is valid only if the WordPerfect SGML program component is installed.
  1406.  
  1407. Parameters
  1408.  
  1409. DocTypeDeclaration: enumeration    Include the Document Type Declaration in the saved SGML document. Default: Yes!
  1410.  
  1411. No!
  1412.  
  1413. Yes!
  1414.  
  1415. SGMLDeclaration: enumeration (optional)    Include the SGML declaration at the beginning of the file. Default: No!
  1416.  
  1417. No!
  1418.  
  1419. Yes!
  1420.  
  1421. ConvertSRT: enumeration (optional)    Convert soft returns in the document to hard returns in the saved SGML document. This command is obsolete in version 8; it has been left in the program for backwards compatibility.
  1422.  
  1423. No!
  1424.  
  1425. Yes!
  1426.  
  1427. SGMLSelectElement
  1428.  
  1429. Syntax
  1430.  
  1431. ()
  1432.  
  1433. Description
  1434.  
  1435. Select the open element at the insertion point. This command is valid only if the WordPerfect SGML program component is installed.
  1436.  
  1437. SGMLSelectLayout
  1438.  
  1439. Syntax
  1440.  
  1441. (LayoutFile: string)
  1442.  
  1443. Description
  1444.  
  1445. Change the layout of the SGML elements. This command is valid only if the WordPerfect SGML program component is installed.
  1446.  
  1447. Parameters
  1448.  
  1449. LayoutFile: string (optional)    The filename of the layout file.
  1450.  
  1451. SGMLSelectLayoutDlg
  1452.  
  1453. Syntax
  1454.  
  1455. ()
  1456.  
  1457. Description
  1458.  
  1459. Display the Select Layouts dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1460.  
  1461. SGMLSetValidation
  1462.  
  1463. Syntax
  1464.  
  1465. ({Options: enumeration})
  1466.  
  1467. Description
  1468.  
  1469. Specify the types of errors to find during validation. This command is valid only if the WordPerfect SGML program component is installed.
  1470.  
  1471. Parameters
  1472.  
  1473. Options: enumeration (optional)    CharMap!
  1474.  
  1475. Entity!
  1476.  
  1477. EntityDecl!
  1478.  
  1479. IdIdref!
  1480.  
  1481. Logic!
  1482.  
  1483. TextSeq!
  1484.  
  1485. SGMLSplitElement
  1486.  
  1487. Syntax
  1488.  
  1489. ()
  1490.  
  1491. Description
  1492.  
  1493. Split the current SGML element into two separate elements of the same type. The attribute values will be duplicated for each element created. This command is valid only if the WordPerfect SGML program component is installed.
  1494.  
  1495. SGMLTagAllTables
  1496.  
  1497. Syntax
  1498.  
  1499. ()
  1500.  
  1501. Description
  1502.  
  1503. Tag all tables in a document. Can be used only with a document type that allows table tagging. This command is valid only if the WordPerfect SGML program component is installed.
  1504.  
  1505. SGMLTagBox
  1506.  
  1507. Syntax
  1508.  
  1509. ()
  1510.  
  1511. Description
  1512.  
  1513. Tag the selected box based on the mappings specified in the layout (.LSI) file. This command is valid only if the WordPerfect SGML program component is installed.
  1514.  
  1515. SGMLTagCurrentTable
  1516.  
  1517. Syntax
  1518.  
  1519. ()
  1520.  
  1521. Description
  1522.  
  1523. Tag the current table. Your document type must use one of the table methods supported by the SGML edition of WordPerfect. For more information about the supported table methods, see Tag Tables in the main Help file. Any elements that are not part of the basic table structure (see below) must start and end within a single table cell. Any elements that are part of the basic table structure must start within the table.
  1524.  
  1525. Basic Table Structure:
  1526.  
  1527. For CALS: colspec, entry, row, spanspec, table, tbody, tgroup, thead, and title.
  1528.  
  1529. For AAP: ctbf, ctbl, ctby, ctc, cte, cth, cthd, cthr, ctr, ctsb1, ctsb2, ctsb3, ctsb4, and ctsh.
  1530.  
  1531. For HTML: table, tr, td, th.
  1532.  
  1533. For WP6: table, cell, colinf, and row.
  1534.  
  1535. For WP6MIN: table, cell, and row.
  1536.  
  1537. For WP: wpcell, wprow, and wptable.
  1538.  
  1539. This command is valid only if the WordPerfect SGML program component is installed.
  1540.  
  1541. SGMLTagTablesDlg
  1542.  
  1543. Syntax
  1544.  
  1545. ()
  1546.  
  1547. Description
  1548.  
  1549. Display the Tag Tables dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1550.  
  1551. SGMLTextRefDlg
  1552.  
  1553. Syntax
  1554.  
  1555. ()
  1556.  
  1557. Description
  1558.  
  1559. Display the Text References dialog box. This command is valid only if the WordPerfect SGML program component is installed. Not recordable.
  1560.  
  1561. SGMLUnloadDocType
  1562.  
  1563. Syntax
  1564.  
  1565. ()
  1566.  
  1567. Description
  1568.  
  1569. Deselect a document type for the current document. The document type includes at least a document type name and logic file (.LGC), but may also include a layout file (.LSI) and an alias file (.LNM). This command is valid only if the WordPerfect SGML program component is installed.
  1570.  
  1571. SGMLValidate
  1572.  
  1573. Syntax
  1574.  
  1575. ()
  1576.  
  1577. Description
  1578.  
  1579. Find the next validation error. This command is valid only if the WordPerfect SGML program component is installed.
  1580.  
  1581. SGMLValidationDlg
  1582.  
  1583. Syntax
  1584.  
  1585. ()
  1586.  
  1587. Description
  1588.  
  1589. Display the Validation dialog box. This command is valid only if the WordPerfect SGML program component is installed.
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.