EXTEND (set document formatting)

Top  Previous  Next

 

EXTEND( [attributelist [,attributelist...]] )

EXTEND

Specifies the attributes needed for a particular document type.

attributelist

A string constant, variable, or EQUATE containing an optional type of output document and its associated attributes as described below:

type

A string constant that specifies which output format receives the attribute list

attribute

A string constant containing the valid formatting required for the designated document type.

The EXTEND attribute is a multi purpose storage tag, used to store information in the generated report WMF file. The information is later parsed and extracted form the WMF and passed to appropriate processing code.

Each attributelist may designate an optional document type, and associated attributes for that document type, using the following syntax:

[type](attribute [|attribute...])

Current possible values for type are HTML, XML, TXT, PDF, or ALL. The EXTEND attribute (PROP:EXTEND) specifies a valid string of attributes that are assigned to a designated REPORT control for a given document type.

The contents of attribute are dependent on the target type. If a vertical bar ( | ) or parentheses

( ")" ) is needed to appear in the attribute, then the attribute needs to be surrounded by single quotes (' ').

Examples:

ALL(HIDE=1|HW=412|HH=172),PDF(SKIP=3),TXT(SKIP=3),HTML(SKIP=3),XML(TagType=1

|Tag Name=Header)

 

ALL(HIDE=1|HW=412|HH=172),PDF(SKIP=3),TXT(SKIP=3),HTML(SKIP=3)

 

XML(TagType=1|TagParentName=Header|TagName=Street|ValueFromText=1)

 

ALL(HIDE=1|HW=302|HH=172),PDF(SKIP=33),TXT(SKIP=33),HTML(SKIP=33),XML(TagPro

cess Once=33|TagType=1|NameFromText=1|TagValue=)

 

XML(TagType=1|TagName=Street|ValueFromText=1|TagParentName= Ship to )

 

ALL(HIDE=1|HW=238|HH=172),PDF(SKIP=34),TXT(SKIP=34),HTML(SKIP=34),XML(TagTyp

e=1|NameFromText=1|TagValue=|TagParentName=Lines)