DX command description
Description: This command defines the style sheets and text elements to be placed in the "BlockRef" block. During text export, the program uses this table to rebuild a Datox coded file. The program generates the logical tag (for example, "TI") using the style sheet assigned to the text element.
Syntax: [ DX =
StoryRef
;
BlockType
;
LogicName
;
StyleName
;
BulletString
]
StoryRef
Integer
|
•
|
Story reference |
| |
|
|
BlockType
Integer
|
•
|
Type of the block according to the following list. This type helps to find the block in the selected story.
#define kNone [tb] 0
#define kTitle [tb] 2
#define kHeader [tb] 3
#define kText1 [tb] 5
#define kText2 [tb] 6
#define kText3 [tb] 7
#define kText4 [tb] 8
#define kText5 [tb] 9
#define kText6 [tb] 10
#define kSubtitle [tb] 12
#define kSignature [tb] 13
#define kUptitle [tb] 14
#define kTopic [tb] 15
#define kCommon [tb] 16
#define kAd [tb] 18
#define kFA [tb] 19
#define kImage1 [tb] 21
#define kLegend1 [tb] 22
#define kCredit1 [tb] 23
#define kImage2 [tb] 25
#define kLegend2 [tb] 26
#define kCredit2 [tb] 27
#define kImage3 [tb] 29
#define kLegend3 [tb] 30
#define kCredit3 [tb] 31
#define kImage4 [tb] 33
#define kLegend4 [tb] 34
#define kCredit4 [tb] 35
#define kBorder1 [tb] 37
#define kBorder2 [tb] 38 |
| |
|
|
LogicName
String
|
•
|
Name of the tag as it appears in the text file which will be imported later. This name is the name of the DATOX tag. |
| |
|
|
StyleName
String
|
•
|
Name of the QuarkXPress style sheet which will be assigned when the logical tag will be met in the imported text. |
| |
|
|
BulletString
String
|
•
|
String to insert after assignment of the style sheet (30 char. maximum). This string will be applied only when the the style sheet will be assigned. |
| |
|
|
Note: This command must be called only when the block used as reference as already be created. The third and forth parameters may be repeated for all the pairs logical tag/style sheet. The maximum number of pairs per block is 20.
Example: [dx= 2; 2; "TI"; "Title 3 cols"; "ST"; "UpTitle 3 cols"]
Define block #2 as a block of type 2 (Title). The logical tags "TI" found in the text will be converted in style sheet "Title 3 cols" and tags "ST" wil be converted in style sheet "UpTitle 3 cols"
See also:
The • sign indicates a mandatory parameter
©1993-2008 Trias.
All rights reserved.

|