Macro Language Reference > PIs > Block > <?blockcellattrib>
  
<?blockcellattrib>
Description
Allows you to pass attributes to the reference defined by <?blockcellpararef>. These attributes can then modify the behavior of your reference, by inheriting alternative properties for the block etc. This is particularly useful if your markup defines text properties for the block.
 
Example 351. Pass text and cell attributes to a body style for a block
As an example, a block contains the markup <BLOCK HEIGHT="8pt" TEXTCOLOR="RED">. If you specified <?blockcellpararef="body"> and <?blockcellattrib HEIGHT="8pt" TEXTCOLOR="RED">, the body style can now be written to handle the attributes it will inherit, i.e. each new block cell will now start with <body HEIGHT="8pt" TEXTCOLOR="RED">.
Syntax
<?blockcellattrib '+' attribute:s+>
+
The optional "+" character is used to add the new attributes to any existing ones allocated to the style.
 
Attributes with the same name as existing ones in the style will overwrite the existing ones.
attribute
A string contained the attribute to be passed, plus its parameters.
Related Links