home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
ACROREAD
/
SUITE
/
DW10_S2.LSS
< prev
next >
Wrap
Text File
|
1996-10-20
|
2KB
|
44 lines
Option Public
%include "wpbitmsk.lss"
Sub MarkupOptions
Dim CrntEditor As String
CrntEditor = .Preferences.UserName
' Section 1 - Specify markup options for the current editor.
With .ActiveDocument.EditorManager
' Set font and attributes for inserted text by first
' making sure the text reverts to its original style
' then changing the color of the text to purple
.Editors(CrntEditor).InsertFont.FontColor.Red = 255
.Editors(CrntEditor).InsertFont.FontColor.Blue = 255
.Editors(CrntEditor).InsertFont.FontColor.Green = 0
.Editors(CrntEditor).InsertFont.FontColor.Override = $LwpColorOverrideRgb
.Editors(CrntEditor).InsertFont.DoubleUnderline = False
.Editors(CrntEditor).InsertFont.Underline = False
.Editors(CrntEditor).InsertFont.Bold = False
.Editors(CrntEditor).InsertFont.Italic = True
' Section 2 - Specify font and attributes for deleted text.
.Editors(CrntEditor).DeleteFont.FontColor.Red = 128
.Editors(CrntEditor).DeleteFont.FontColor.Blue = 0
.Editors(CrntEditor).DeleteFont.FontColor.Green = 0
.Editors(CrntEditor).DeleteFont.FontColor.Override = $LwpColorOverrideRgb
.Editors(CrntEditor).DeleteFont.Overstrike = True
' Section 3 - Specify a color for highlighting text.
.Editors(CrntEditor).HiLiteColor.Red = 128
.Editors(CrntEditor).HiLiteColor.Blue = 128
.Editors(CrntEditor).HiLiteColor.Green = 255
.Editors(CrntEditor).HiLiteColor.Override = $LwpColorOverrideRgb
' Section 4 - Specify access rights so the current
' editor has unlimited access.
.Editors(CrntEditor).Abilities = $LwpEditAbilEditCurrentOrNewVer
.Editors(CrntEditor).Locks = LwpEditLocksNoLocks
.Editors(CrntEditor).Suggestions = LwpEditSuggNoSuggestions
End With
End Sub