|
|
|
|
|
- Properties specific to docAutoReplace variables
docAutoReplace (Variable type) In french: docRemplacementAutomatique
The docAutoReplace type is used to define all the advanced characteristics of a string used to automatically replace another string as the user types in a Word Processing control . You can define and change the characteristics of this automatic correction using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. c is docAutoReplace
c.NewString = "10 fois plus vite"
TT_MondocCommercial.CorrectionAutomatique.Remplacement["10f"] = c
TT_MondocCommercial.CorrectionAutomatique.Remplacement["20f"] = "20 fois plus vite"
d is Document
DocInsert(d, 1, "Bonjour")
TT_MondocCommercial.CorrectionAutomatique.Remplacement["bb"] = d
d2 is Document
d2 <- TT_MondocCommercial..AutoCorrect.Remplacement["bb"]..NewFormattedString
Properties Properties specific to docAutoReplace variables The following properties can be used to handle docAutoReplace variables: | | | Property name | Type used | Effect |
---|
NewChain | Character string | String containing the correction. Note: The New String property takes precedence over the New Formatted String property (if it exists). | NewFormattedString | Document | New string, as a document that can contain formatting. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|