4D v18

Using commands from the Styled Text theme

Home

 
4D v18
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 COMPUTE EXPRESSIONS
ST FREEZE EXPRESSIONS
ST GET ATTRIBUTES/ST SET ATTRIBUTES
ST Get content typeA new type (6) has been added for the image content type
ST Get expression / ST INSERT EXPRESSIONStarting with 4D v16, expressions are filtered by default in 4D Write Pro documents and must be explicitely allowed. These commands ignore the virtual structure. For more information, refer to the Managing expressions section. Starting with 4D v16 R5, picture expressions can be inserted (see Picture expressions).
ST GET OPTIONS/ST SET OPTIONS
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.



See also 

Managing expressions
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 v18)