4D Write v14

WR GET STYLESHEET INFO

Home

 
4D Write v14
WR GET STYLESHEET INFO

WR GET STYLESHEET INFO 


 

WR GET STYLESHEET INFO ( area ; stylesheetNumber ; name ; applyTo ; protected ; shortcut ) 
Parameter Type   Description
area  Longint in 4D Write area
stylesheetNumber  Longint in Stylesheet number
name  String in Stylesheet name
applyTo  Integer in 0=characters, 1=paragraphs
protected  Integer in 0= non protected, 1= protected
shortcut  String in One character or "" if no shortcut

The WR GET STYLESHEET INFO command allows you to retrieve information about the style sheet whose number is passed in styleSheetNumber and which is contained in the 4D Write area referenced by area.

name returns the title of the style sheet.

applyTo
:
  • If applyTo is equal to 0, the style sheet will only apply to characters.
  • If applyTo is equal to 1, the style sheet will only apply to paragraphs.
protected:
  • If protected is equal to 0, the style sheet is not protected, thus it is not a system style sheet.
  • If protected is equal to 1, the style sheet is protected, it is therefore a system style sheet and it cannot be deleted.

shortcut returns the shortcut assigned to the style sheet, if any. It consists of only one character. When using that shortcut you will need to hold down the Ctrl key (on Windows) or the Command key (on Mac OS) while pressing the shortcut key.

If shortcut is an empty string, no shortcut is assigned to styleSheetNumber.

Example  

 
PROPERTIES 

Product: 4D Write
Theme: WR Style Sheet
Number: 89467

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR SET STYLESHEET INFO

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)