PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docElementFormula variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The docElementFormula type is used to define the characteristics of a Formula element found in a docElement variable.
The characteristics of this formula can be defined and modified by several WLanguage properties.
CAUTION: This type cannot be used directly. It must be used via the docElement type.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.This type of variable is available from version 220059U (module dated 05/17/2017).
Example
// Load the document
MyDoc is Document = "c:\temp\doc.docx"
elt is docElement
elt..Type = typeDocElementFormula
elt..Formula..Instruction = "DATE  \@ ""dddd d MMMM yyyy"""
DocAdd(MyDoc, elt)
Remarks

Properties specific to the description of docElementFormula variables

The following properties can be used to handle a Formula element:
Property nameType usedEffect
InstructionCharacter stringFormula code.
FormattingdocFormatting variableFormatting of formula result (color, font, ...).
ResultArray of docElement variablesResult of formula calculation. This result can correspond to several elements.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment