Understanding and Customizing the Dynamic HTML Standard Edition Template

prevnext

Understanding paragraph styles


The various paragraph style definitions in Publisher insert the class attribute using the BPBlockAttributes building block. For example, the Body tag looks like this:

 <p $BPBlockAttributes;>
   <a name="$AUTOTAG;"> </a>\
 $BPNumberAndData;
 </p>

Except for the BPBlockAttributes building block, this definition is the same as the Body definition for Portable HTML Standard Edition. The BPBlockAttributes building block is defined as:

 class="$STYLENAME;"

The $STYLENAME macro produces the name of the current Publisher style definition (for example, Body). So, the result would be:

 <p class=Body>
   <a name="123456"> </a>\
 Some interesting content here.
 </p>

prevnext



Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com