This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Using commands from the Styled Text theme

Using commands from the Styled Text theme  


 

 

The following commands support 4D Write Pro areas. You can use them either with a 4D Write Pro form object name (string) or a 4D Write Pro document reference (a variable of the Object type):

CommandComments
ST GET ATTRIBUTES / ST SET ATTRIBUTES
ST Get content typeA new type (6) has been added for the image content type
ST GET OPTIONS / ST SET OPTIONSYou can use WP Get view properties and WP SET VIEW PROPERTIES
ST Get plain text / ST SET PLAIN TEXTStarting with 4D v17, you can get/set plain text in 4D Write Pro documents with the WP Get text and WP SET TEXT commands.
ST Get text / ST SET TEXT
ST GET URL / ST INSERT URLStarting with 4D v16 R4, you can directly handle editable URLs in any 4D Write Pro range (including pictures and cells) using the WP SET ATTRIBUTES and WP GET ATTRIBUTES commands through the wk link url attribute.
ST Get expression / ST INSERT EXPRESSIONSupported but deprecated as of 4D v18 R2 - use WP Get formulas / WP INSERT FORMULA
ST COMPUTE EXPRESSIONSSupported but deprecated as of 4D v18 R2 - use WP COMPUTE FORMULAS
ST FREEZE EXPRESSIONSSupported but deprecated as of 4D v18 R2 - use WP FREEZE FORMULAS



See also 

Managing formulas
Using commands from the Objects (Forms) theme

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro Language

 
PAGE CONTENTS 
 
HISTORY 

Modified: 4D v16
Modified: 4D v16 R5

 
ARTICLE USAGE

4D Write Pro Reference ( 4D v20 R7)