ShadowCursorOptions([State As _ShadowCursorOptions_State_enum], [Snap As _ShadowCursorOptions_Snap_enum], [Shape As _ShadowCursorOptions_Shape_enum], [ColorRed As Integer], [ColorGreen As Integer], [ColorBlue As Integer])
Description
Set the shape, type, and color of the shadow cursor.
Parameters
State: enumeration (optional) Text!
TextAndWhiteSpace!
WhiteSpace!
Snap: enumeration (optional) Indents!
Margins!
Spaces!
Tabs!
Shape: enumeration (optional) Arrows!
BottomArrow!
BrokenCaret!
Caret!
DottedCaret!
IBeam!
ColorRed: numeric (optional) Value 0 - 250.
ColorGreen: numeric (optional) Value 0 - 250.
ColorBlue: numeric (optional) Value 0 - 250.
ShadowCursorShow
Syntax
ShadowCursorShow([State As _ShadowCursorShow_State_enum]) As Boolean
Description
Turn the shadow cursor on or off. Omitting the parameter toggles the state. This method also changes the display preferences for the shadow cursor.
Parameters
State: enumeration (optional) Off!
On!
ShiftTabKey
Syntax
ShiftTabKey()
Description
Insert a [Hd Back Tab] code at the insertion point. If the insertion point is in a table, it will go to the previous table cell. If the insertion point is in an outline, it will go to the previous outline level.
ShowBoxes
Syntax
ShowBoxes(State As _ShowBoxes_State_enum)
Description
Display graphics boxes.
Parameters
State: enumeration Off!
On!
ShowGraphics
Syntax
ShowGraphics()
Description
Toggle Graphics.
ShowGraphics
Syntax
ShowGraphics()
Description
Toggle Hidden Text.
ShowMarginIcons
Syntax
ShowMarginIcons([State As _ShowMarginIcons_State_enum]) As Boolean
Description
Lets you toggle whether the visibility of margin icons is off or on.
Parameter
State: enumeration (optional) Off!
On!
ShowSGMLTree
Syntax
ShowSGMLTree([State As _ShowSGMLTree_State_enum])
Description
Display or hide the SGML Tree. The tree will be displayed only if an SGML document is being edited. Switching to a non-SGML document does not close the tree. As soon as all SGML documents are closed, the tree will be hidden. This method is valid only if the WordPerfect SGML program component is installed.
Parameters
State: enumeration (optional) Off!
On!
ShowSymbols
Syntax
ShowSymbols()
Description
Toggle display of document symbols for codes such as [HRt], [Indent], and [Tab].
SingleSmartQuote
Syntax
SingleSmartQuote([State As _SingleSmartQuote_State_enum], [OpenSingleQuote As Integer], [CloseSingleQuote As Integer])
Description
Turn Single SmartQuotes on or off and specify a quote character.
Parameters
State: enumeration (optional) Off!
On!
OpenSingleQuote: numeric (optional) The numeric equivalent of the quote character.
CloseSingleQuote: numeric (optional) The numeric equivalent of the quote character.
SingleSpaceInSentence
Syntax
SingleSpaceInSentence(State As _SingleSpaceInSentence_State_enum)
Description
Change double spaces in a sentence to single spaces.
Parameters
State: enumeration Off!
On!
SoftHyphen
Syntax
SoftHyphen()
Description
Insert a soft hyphen at the insertion point. If the word needs to be hyphenated, it will break at the soft hyphen.
SoftSpace
Syntax
SoftSpace()
Description
Insert a space at the insertion point.
Sort
Syntax
Sort([InFile As String], [OutFile As String], [State As _Sort_State_enum])
Description
Specify a file to sort and a file to which the changes are written.
Parameters
InFile: string (optional) Default: current document.
OutFile: string (optional) Default: current document.
State: enumeration (optional) NoUndo!
Undo!
SortAction
Syntax
SortAction(SortAction As _SortAction_SortAction_enum)
Description
Sort a file or selected records.
Parameters
SortAction: enumeration SelectOnly!
Sort!
SortCaseOrder
Syntax
SortCaseOrder(Case As _SortCaseOrder_Case_enum)
Description
Specify the case priority in a sort.
Parameters
Case: enumeration LowercaseFirst!
UppercaseFirst!
SortDlg
Syntax
SortDlg()
Description
Display the Sort (Source and Destination) dialog box.
Add another reference to a sound clip already in the document.
Parameters
Description: string The sound clip name.
SoundClipCreate
Syntax
SoundClipCreate(Description As String, Filename As String, SoundFileType As _SoundClipCreate_SoundFileType_enum, ClipType As _SoundClipCreate_ClipType_enum, LeftVolume As Integer, RightVolume As Integer)
Description
Insert a sound clip from a file into the Sound Clips in the Document dialog box.
Parameters
Description: string The description for the sound file.
Filename: string The filename of the sound file.
SoundFileType: enumeration InDoc!
OnDisk!
ClipType: enumeration DigitalAudio!
MIDI!
LeftVolume: numeric Amount of left-speaker volume.
RightVolume: numeric Amount of right-speaker volume.
SoundClipDelete
Syntax
SoundClipDelete(Description As String)
Description
Delete a sound clip.
Parameters
Description: string The description of the sound file.
SoundClipDlg
Syntax
SoundClipDlg()
Description
Display the Sound Clips dialog box.
SoundClipPlayNext
Syntax
SoundClipPlayNext([Description As String], [StartPos As Integer], [EndPos As Integer])
Description
Play the next sound clip in the document.
Parameters
Description: string (optional) The description of the sound clip.
StartPos: numeric (optional) The sound clip starting point in seconds.
EndPos: numeric (optional) The sound clip ending point in seconds.
SoundClipSetAttributes
Syntax
SoundClipSetAttributes(Description As String, Type As _SoundClipSetAttributes_Type_enum, [LeftVolume As Integer], [RightVolume As Integer])
Description
Specify sound clip attributes.
Parameters
Description: string The description of the sound file.
Type: enumeration DigitalAudio!
MIDI!
LeftVolume: numeric (optional) The amount of left-speaker volume.
RightVolume: numeric (optional) The amount of right-speaker volume.
SoundClipSetDescription
Syntax
SoundClipSetDescription(OldDescription As String, NewDescription As String)
Description
Assign a new description to a sound clip.
Parameters
OldDescription: string The original description of the sound file.
NewDescription: string The new description for the sound file.
Change a sound clip to point to a different sound file on disk.
Parameters
Description: string The description of the sound file.
Filename: string The filename of the sound file.
Location: enumeration InDoc!
OnDisk!
SpecificDeleteStringBegin
Syntax
SpecificDeleteStringBegin()
Description
Delete specific codes. Follow with a method that specifies the specific code to delete, then SpecificStringEnd(). Use with methods such as ReplaceBackward() and ReplaceForward().
SpecificReplaceStringBegin
Syntax
SpecificReplaceStringBegin()
Description
Specify a specific code replacement. Follow with a method corresponding to a specific replacement code. Use with methods such as ReplaceBackward(), ReplaceForward(), SpecificSearchStringBegin(), and SpecificStringEnd().
SpecificSearchStringBegin
Syntax
SpecificSearchStringBegin()
Description
Find a specific code. Follow with the macro method corresponding to the specific code to be found. Use with SpecificStringEnd().
SpecificStringEnd
Syntax
SpecificStringEnd()
Description
End a specific code search. Precede with SpecificSearchStringBegin(), SpecificReplaceStringBegin(), or SpecificDeleteStringBegin(), and a method which specifies the specific code to search.
SpellAsYouGo
Syntax
SpellAsYouGo([State As _SpellAsYouGo_State_enum]) As Boolean
Description
Turn or toggle Spell-As-You-Go on or off, and return the original state. If the macro toolbar is active in the current document, this method causes a run-time error.
Return Value
Returns True if Spell-As-You-Go is on, False if not. If the State parameter is omitted, its current value is returned, then the value is toggled. If the State parameter is included, the current value is returned, then the new value is set.
Parameters
State: enumeration (optional) Omitting this parameter toggles Spell-As-You-Go on or off.
Off!
On!
SpreadsheetShowLinkCode
Syntax
SpreadsheetShowLinkCode(State As _SpreadsheetShowLinkCode_State_enum)
Description
Display or hide spreadsheet link codes.
Parameters
State: enumeration No!
Yes!
SpreadsheetUpdateOnRetrieve
Syntax
SpreadsheetUpdateOnRetrieve(State As _SpreadsheetUpdateOnRetrieve_State_enum)
Description
Turn the Update on retrieve option on or off for spreadsheet/database links.
Parameters
State: enumeration No!
Yes!
StatusBarShow
Syntax
StatusBarShow([State As _StatusBarShow_State_enum])
Description
Display or hide the Application Bar.
Parameters
State: enumeration (optional) Default: toggle.
Off!
On!
StyleCodes
Syntax
StyleCodes([State As _StyleCodes_State_enum], [Library As _StyleCodes_Library_enum])
Description
Edit style codes. Use with methods such as StyleEditBegin(), StyleEditEnd(), and SubstructureExit().
Parameters
State: enumeration (optional) Include codes that take effect when the style is off.
WithOffCodes!
WithoutOffCodes!
Library: enumeration (optional) The styles codes location.
CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleCopy
Syntax
StyleCopy(Style, [FromLibrary As _StyleCopy_FromLibrary_enum], [ToLibrary As _StyleCopy_ToLibrary_enum], [NewName As String])
Description
Copy a style between the current document, the personal library, and the shared library. You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.
NormalStyle![0]
FootnoteNumberInDocumentStyle![16]
EndnoteNumberInDocumentStyle![17]
FigureNumberStyle![18]
TableBoxNumberStyle![19]
TextBoxNumberStyle![20]
UserBoxNumberStyle![21]
EquationNumberStyle![22]
HypertextStyle![23]
ToC1Style![24]
ToC2Style![25]
ToC3Style![26]
ToC4Style![27]
ToC5Style![28]
Index1Style![29]
Index2Style![30]
ListStyle![31]
ToAStyle![32]
DocStyle![33]
BoxTextStyle![34]
CaptionStyle![35]
FootnoteStyle![36]
EndnoteStyle![37]
CommentStyle![38]
HeaderAStyle![39]
HeaderBStyle![40]
FooterAStyle![41]
FooterBStyle![42]
WatermarkAStyle![43]
WatermarkBStyle![44]
ParagraphOutlnStyle![45]
OutlineStyle![46]
LegalOutlnStyle![47]
BulletsOutlnStyle![48]
HeadingsOutlnStyle![49]
Legal_2OutlnStyle![50]
NumbersOutlnStyle![51]
Level1Style![52]
Level2Style![53]
Level3Style![54]
Level4Style![55]
Level5Style![56]
Level6Style![57]
Level7Style![58]
Level8Style![59]
Legal1Style![60]
Legal2Style![61]
Legal3Style![62]
Legal4Style![63]
Legal5Style![64]
Legal6Style![65]
Legal7Style![66]
Legal8Style![67]
Heading1Style![68]
Heading2Style![69]
Heading3Style![70]
Heading4Style![71]
Heading5Style![72]
Heading6Style![73]
Heading7Style![74]
Heading8Style![75]
MonospacedStyle![76]
CustomHTMLStyle![77]
PreformattedStyle![78]
AddressStyle![79]
QuotationsOutlnStyle![80]
DefinitionsOutlnStyle![81]
Quotation1Style![82]
Quotation2Style![83]
Quotation3Style![84]
Quotation4Style![85]
Quotation5Style![86]
Quotation6Style![87]
Quotation7Style![88]
Quotation8Style![89]
Definition1Style![90]
Definition2Style![91]
Definition3Style![92]
Definition4Style![93]
Definition5Style![94]
Definition6Style![95]
Definition7Style![96]
Definition8Style![97]
Level9Style![111]
Legal9Style![112]
Heading9Style![113]
Quotation9Style![114]
Definition9Style![115]
FromLibrary: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
ToLibrary: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
NewName: string (optional) The new style name.
StyleCreate
Syntax
StyleCreate(Name As String, Type As _StyleCreate_Type_enum, [CreateFlag As _StyleCreate_CreateFlag_enum], [Library As _StyleCreate_Library_enum])
Description
Create a style.
Parameters
Name: string The name of the style.
Type: enumeration AutoCharacterStyle!
AutoParagraphStyle!
CharacterStyle!
NewBulletStyle!
OpenStyle!
ParagraphStyle!
CreateFlag: enumeration (optional) The pattern to base a style on.
CreateBulletStyle!
CreateFromCurrent!
CreateFromCurrentHS!
CreateNumberStyle!
CreateOutlineStyle!
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleDelete
Syntax
StyleDelete(Style, Codes As _StyleDelete_Codes_enum, [Library As _StyleDelete_Library_enum])
Description
Delete a style. You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.
NormalStyle![0]
FootnoteNumberInDocumentStyle![16]
EndnoteNumberInDocumentStyle![17]
FigureNumberStyle![18]
TableBoxNumberStyle![19]
TextBoxNumberStyle![20]
UserBoxNumberStyle![21]
EquationNumberStyle![22]
HypertextStyle![23]
ToC1Style![24]
ToC2Style![25]
ToC3Style![26]
ToC4Style![27]
ToC5Style![28]
Index1Style![29]
Index2Style![30]
ListStyle![31]
ToAStyle![32]
DocStyle![33]
BoxTextStyle![34]
CaptionStyle![35]
FootnoteStyle![36]
EndnoteStyle![37]
CommentStyle![38]
HeaderAStyle![39]
HeaderBStyle![40]
FooterAStyle![41]
FooterBStyle![42]
WatermarkAStyle![43]
WatermarkBStyle![44]
ParagraphOutlnStyle![45]
OutlineStyle![46]
LegalOutlnStyle![47]
BulletsOutlnStyle![48]
HeadingsOutlnStyle![49]
Legal_2OutlnStyle![50]
NumbersOutlnStyle![51]
Level1Style![52]
Level2Style![53]
Level3Style![54]
Level4Style![55]
Level5Style![56]
Level6Style![57]
Level7Style![58]
Level8Style![59]
Legal1Style![60]
Legal2Style![61]
Legal3Style![62]
Legal4Style![63]
Legal5Style![64]
Legal6Style![65]
Legal7Style![66]
Legal8Style![67]
Heading1Style![68]
Heading2Style![69]
Heading3Style![70]
Heading4Style![71]
Heading5Style![72]
Heading6Style![73]
Heading7Style![74]
Heading8Style![75]
MonospacedStyle![76]
CustomHTMLStyle![77]
PreformattedStyle![78]
AddressStyle![79]
QuotationsOutlnStyle![80]
DefinitionsOutlnStyle![81]
Quotation1Style![82]
Quotation2Style![83]
Quotation3Style![84]
Quotation4Style![85]
Quotation5Style![86]
Quotation6Style![87]
Quotation7Style![88]
Quotation8Style![89]
Definition1Style![90]
Definition2Style![91]
Definition3Style![92]
Definition4Style![93]
Definition5Style![94]
Definition6Style![95]
Definition7Style![96]
Definition8Style![97]
Level9Style![111]
Legal9Style![112]
Heading9Style![113]
Quotation9Style![114]
Definition9Style![115]
Codes: enumeration Delete or leave style codes.
IncludingCodes!
LeavingCodes!
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleDescription
Syntax
StyleDescription(Description As String)
Description
Change a style description. Use with methods such as StyleEditBegin() and StyleEditEnd().
Parameters
Description: string The description of the style.
StyleEditBegin
Syntax
StyleEditBegin(Style, [Library As _StyleEditBegin_Library_enum])
Description
Begin editing a style. End with StyleEditEnd. Use with StyleCodes. You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.
NormalStyle![0]
FootnoteNumberInDocumentStyle![16]
EndnoteNumberInDocumentStyle![17]
FigureNumberStyle![18]
TableBoxNumberStyle![19]
TextBoxNumberStyle![20]
UserBoxNumberStyle![21]
EquationNumberStyle![22]
HypertextStyle![23]
ToC1Style![24]
ToC2Style![25]
ToC3Style![26]
ToC4Style![27]
ToC5Style![28]
Index1Style![29]
Index2Style![30]
ListStyle![31]
ToAStyle![32]
DocStyle![33]
BoxTextStyle![34]
CaptionStyle![35]
FootnoteStyle![36]
EndnoteStyle![37]
CommentStyle![38]
HeaderAStyle![39]
HeaderBStyle![40]
FooterAStyle![41]
FooterBStyle![42]
WatermarkAStyle![43]
WatermarkBStyle![44]
ParagraphOutlnStyle![45]
OutlineStyle![46]
LegalOutlnStyle![47]
BulletsOutlnStyle![48]
HeadingsOutlnStyle![49]
Legal_2OutlnStyle![50]
NumbersOutlnStyle![51]
Level1Style![52]
Level2Style![53]
Level3Style![54]
Level4Style![55]
Level5Style![56]
Level6Style![57]
Level7Style![58]
Level8Style![59]
Legal1Style![60]
Legal2Style![61]
Legal3Style![62]
Legal4Style![63]
Legal5Style![64]
Legal6Style![65]
Legal7Style![66]
Legal8Style![67]
Heading1Style![68]
Heading2Style![69]
Heading3Style![70]
Heading4Style![71]
Heading5Style![72]
Heading6Style![73]
Heading7Style![74]
Heading8Style![75]
MonospacedStyle![76]
CustomHTMLStyle![77]
PreformattedStyle![78]
AddressStyle![79]
QuotationsOutlnStyle![80]
DefinitionsOutlnStyle![81]
Quotation1Style![82]
Quotation2Style![83]
Quotation3Style![84]
Quotation4Style![85]
Quotation5Style![86]
Quotation6Style![87]
Quotation7Style![88]
Quotation8Style![89]
Definition1Style![90]
Definition2Style![91]
Definition3Style![92]
Definition4Style![93]
Definition5Style![94]
Definition6Style![95]
Definition7Style![96]
Definition8Style![97]
Level9Style![111]
Legal9Style![112]
Heading9Style![113]
Quotation9Style![114]
Definition9Style![115]
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleEditEnd
Syntax
(State: enumeration)
Description
Save or cancel style changes. Use with StyleEditBegin() and StyleCodes().
Parameters
State: enumeration Cancel!
Save!
StyleEnterKeySetting
Syntax
StyleEnterKeySetting(Action As _StyleEnterKeySetting_Action_enum)
Description
Specify the effect of pressing Enter when a style is on. Use with methods such as StyleEditBegin() and StyleEditEnd().
Parameters
Action: enumeration HardReturn!
StyleOff!
StyleOffOn!
StyleLinkTo
Syntax
StyleLinkTo(Style)
Description
Specify a style to turn on when Enter is pressed. Use with methods such as StyleEditBegin() and StyleEditEnd(). You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.
NormalStyle![0]
FootnoteNumberInDocumentStyle![16]
EndnoteNumberInDocumentStyle![17]
FigureNumberStyle![18]
TableBoxNumberStyle![19]
TextBoxNumberStyle![20]
UserBoxNumberStyle![21]
EquationNumberStyle![22]
HypertextStyle![23]
ToC1Style![24]
ToC2Style![25]
ToC3Style![26]
ToC4Style![27]
ToC5Style![28]
Index1Style![29]
Index2Style![30]
ListStyle![31]
ToAStyle![32]
DocStyle![33]
BoxTextStyle![34]
CaptionStyle![35]
FootnoteStyle![36]
EndnoteStyle![37]
CommentStyle![38]
HeaderAStyle![39]
HeaderBStyle![40]
FooterAStyle![41]
FooterBStyle![42]
WatermarkAStyle![43]
WatermarkBStyle![44]
ParagraphOutlnStyle![45]
OutlineStyle![46]
LegalOutlnStyle![47]
BulletsOutlnStyle![48]
HeadingsOutlnStyle![49]
Legal_2OutlnStyle![50]
NumbersOutlnStyle![51]
Level1Style![52]
Level2Style![53]
Level3Style![54]
Level4Style![55]
Level5Style![56]
Level6Style![57]
Level7Style![58]
Level8Style![59]
Legal1Style![60]
Legal2Style![61]
Legal3Style![62]
Legal4Style![63]
Legal5Style![64]
Legal6Style![65]
Legal7Style![66]
Legal8Style![67]
Heading1Style![68]
Heading2Style![69]
Heading3Style![70]
Heading4Style![71]
Heading5Style![72]
Heading6Style![73]
Heading7Style![74]
Heading8Style![75]
MonospacedStyle![76]
CustomHTMLStyle![77]
PreformattedStyle![78]
AddressStyle![79]
QuotationsOutlnStyle![80]
DefinitionsOutlnStyle![81]
Quotation1Style![82]
Quotation2Style![83]
Quotation3Style![84]
Quotation4Style![85]
Quotation5Style![86]
Quotation6Style![87]
Quotation7Style![88]
Quotation8Style![89]
Definition1Style![90]
Definition2Style![91]
Definition3Style![92]
Definition4Style![93]
Definition5Style![94]
Definition6Style![95]
Definition7Style![96]
Definition8Style![97]
Level9Style![111]
Legal9Style![112]
Heading9Style![113]
Quotation9Style![114]
Definition9Style![115]
StyleOff
Syntax
StyleOff([Style])
Description
Turn off a style. Begin with StyleOn(). You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.
NormalStyle![0]
FootnoteNumberInDocumentStyle![16]
EndnoteNumberInDocumentStyle![17]
FigureNumberStyle![18]
TableBoxNumberStyle![19]
TextBoxNumberStyle![20]
UserBoxNumberStyle![21]
EquationNumberStyle![22]
HypertextStyle![23]
ToC1Style![24]
ToC2Style![25]
ToC3Style![26]
ToC4Style![27]
ToC5Style![28]
Index1Style![29]
Index2Style![30]
ListStyle![31]
ToAStyle![32]
DocStyle![33]
BoxTextStyle![34]
CaptionStyle![35]
FootnoteStyle![36]
EndnoteStyle![37]
CommentStyle![38]
HeaderAStyle![39]
HeaderBStyle![40]
FooterAStyle![41]
FooterBStyle![42]
WatermarkAStyle![43]
WatermarkBStyle![44]
ParagraphOutlnStyle![45]
OutlineStyle![46]
LegalOutlnStyle![47]
BulletsOutlnStyle![48]
HeadingsOutlnStyle![49]
Legal_2OutlnStyle![50]
NumbersOutlnStyle![51]
Level1Style![52]
Level2Style![53]
Level3Style![54]
Level4Style![55]
Level5Style![56]
Level6Style![57]
Level7Style![58]
Level8Style![59]
Legal1Style![60]
Legal2Style![61]
Legal3Style![62]
Legal4Style![63]
Legal5Style![64]
Legal6Style![65]
Legal7Style![66]
Legal8Style![67]
Heading1Style![68]
Heading2Style![69]
Heading3Style![70]
Heading4Style![71]
Heading5Style![72]
Heading6Style![73]
Heading7Style![74]
Heading8Style![75]
MonospacedStyle![76]
CustomHTMLStyle![77]
PreformattedStyle![78]
AddressStyle![79]
QuotationsOutlnStyle![80]
DefinitionsOutlnStyle![81]
Quotation1Style![82]
Quotation2Style![83]
Quotation3Style![84]
Quotation4Style![85]
Quotation5Style![86]
Quotation6Style![87]
Quotation7Style![88]
Quotation8Style![89]
Definition1Style![90]
Definition2Style![91]
Definition3Style![92]
Definition4Style![93]
Definition5Style![94]
Definition6Style![95]
Definition7Style![96]
Definition8Style![97]
Level9Style![111]
Legal9Style![112]
Heading9Style![113]
Quotation9Style![114]
Definition9Style![115]
StyleOn
Syntax
StyleOn(Style, [Action As _StyleOn_Action_enum])
Description
Turn on a style. You must pass the numeric value of the style. .
Parameters
Style: any Use a string to specify a user-defined style.
Specify a DOS Personal Library style file for the current document. Included for DOS compatibility. Use StyleSave() or StyleCopy() to place a style in a style file.
Parameters
Filename: string The filename of the Personal Library file.
StyleRename
Syntax
(Name: string)
Description
Rename a style. Use with methods such StyleEditBegin() and StyleEditEnd().
Parameters
Name: string The new name.
StyleRetrieve
Syntax
StyleRetrieve(File As String, Styles As _StyleRetrieve_Styles_enum, [Library As _StyleRetrieve_Library_enum])
Description
Retrieve the styles in a style file.
Parameters
File: string The filename of the style to retrieve.
Styles: enumeration AllStyles!
SystemStyles!
UserStyles!
Library: enumeration (optional) The destination library.
CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleSave
Syntax
StyleSave(Filename As String, StyleType As _StyleSave_StyleType_enum, [Library As _StyleSave_Library_enum])
Description
Save styles from a library to a style file.
Parameters
Filename: string The filename of the style.
StyleType: enumeration AllStyles!
SystemStyles!
UserStyles!
Library: enumeration (optional) CurrentDoc!
PersonalLibrary!
SharedLibrary!
StyleSharedLibrary
Syntax
StyleSharedLibrary(Filename As String)
Description
Specify a DOS shared library style file for the current document. Included for DOS compatibility. StyleSave() or StyleCopy() places a style in a style file.
Parameters
Filename: string The filename of the shared library style file.
StylesListDlg
Syntax
StylesListDlg()
Description
Display the Style List dialog box.
StyleSystemOn
Syntax
StyleSystemOn(Style, [Action As _StyleSystemOn_Action_enum])
Description
Turn on a WordPerfect or user-defined style. You must pass the numeric value of the style.
Parameters
Style: any Use a string to specify a user-defined style.