2017-02-12 13:21:08 +01:00
|
|
|
# <test>
|
|
|
|
|
# <name>t3.2.ot</name>
|
|
|
|
|
# <content-description>A single cell with several text object</content-description>
|
|
|
|
|
# <test-intention>Geometrical objects reader capabilities</test-intention>
|
|
|
|
|
# <test-intention>TEXT record reading</test-intention>
|
|
|
|
|
# <test-intention>Text string specification by ID</test-intention>
|
|
|
|
|
# <test-intention>Explicit assignment for text string ID</test-intention>
|
|
|
|
|
# <test-intention>Text string backward references</test-intention>
|
|
|
|
|
# <test-intention>Modal variables for text objects</test-intention>
|
|
|
|
|
# <test-intention>Various repetition types for text objects</test-intention>
|
|
|
|
|
# <content>
|
|
|
|
|
# begin_lib 0.001
|
|
|
|
|
# begin_cell {ABC}
|
|
|
|
|
# text 1 2 0 0 {100 -200} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {200 -400} {B}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {300 -400} {B}
|
|
|
|
|
# text 2 1 0 0 {300 -300} {B}
|
|
|
|
|
# text 2 1 0 0 {300 -500} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -500} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -500} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -488} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -488} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -488} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -476} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -476} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -476} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -464} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -464} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -464} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -700} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -700} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -700} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -688} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -688} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -688} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -676} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -676} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -676} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -664} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -664} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -664} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -900} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -900} {A}
|
|
|
|
|
# text 2 1 0 0 {320 -900} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1100} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1088} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1076} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1064} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1300} {A}
|
|
|
|
|
# text 2 1 0 0 {312 -1300} {A}
|
|
|
|
|
# text 2 1 0 0 {325 -1300} {A}
|
|
|
|
|
# text 2 1 0 0 {339 -1300} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1500} {A}
|
|
|
|
|
# text 2 1 0 0 {312 -1500} {A}
|
|
|
|
|
# text 2 1 0 0 {327 -1500} {A}
|
|
|
|
|
# text 2 1 0 0 {345 -1500} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1700} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1690} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1679} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {300 -1900} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {300 -1890} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -1875} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {300 -2100} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -2100} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {320 -2100} {A}
|
|
|
|
|
# text 2 1 0 0 {289 -2112} {A}
|
|
|
|
|
# text 2 1 0 0 {299 -2112} {A}
|
|
|
|
|
# text 2 1 0 0 {309 -2112} {A}
|
|
|
|
|
# text 2 1 0 0 {278 -2124} {A}
|
|
|
|
|
# text 2 1 0 0 {288 -2124} {A}
|
|
|
|
|
# text 2 1 0 0 {298 -2124} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {267 -2136} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {277 -2136} {A}
|
|
|
|
|
# text 2 1 0 0 {287 -2136} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -2300} {A}
|
|
|
|
|
# text 2 1 0 0 {311 -2288} {A}
|
|
|
|
|
# text 2 1 0 0 {322 -2276} {A}
|
|
|
|
|
# text 2 1 0 0 {290 -2290} {A}
|
|
|
|
|
# text 2 1 0 0 {301 -2278} {A}
|
|
|
|
|
# text 2 1 0 0 {312 -2266} {A}
|
|
|
|
|
# text 2 1 0 0 {280 -2280} {A}
|
|
|
|
|
# text 2 1 0 0 {291 -2268} {A}
|
|
|
|
|
# text 2 1 0 0 {302 -2256} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {270 -2270} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {281 -2258} {A}
|
|
|
|
|
# text 2 1 0 0 {292 -2246} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -2500} {A}
|
|
|
|
|
# text 2 1 0 0 {311 -2488} {A}
|
|
|
|
|
# text 2 1 0 0 {322 -2476} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -2700} {A}
|
|
|
|
|
# text 2 1 0 0 {290 -2690} {A}
|
|
|
|
|
# text 2 1 0 0 {280 -2680} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {270 -2670} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {300 -2900} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -2900} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -2890} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -2890} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {300 -2930} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -2920} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -2910} {A}
|
|
|
|
|
# text 2 1 0 0 {290 -2920} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -2940} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {300 -3100} {A}
|
|
|
|
|
# text 2 1 0 0 {289 -3088} {A}
|
|
|
|
|
# text 2 1 0 0 {299 -3098} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -3300} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -3300} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -3290} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -3290} {A}
|
2017-07-28 00:19:39 +02:00
|
|
|
# text 2 1 0 0 {300 -3330} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -3320} {A}
|
|
|
|
|
# text 2 1 0 0 {300 -3310} {A}
|
|
|
|
|
# text 2 1 0 0 {290 -3320} {A}
|
|
|
|
|
# text 2 1 0 0 {310 -3340} {A}
|
2017-02-12 13:21:08 +01:00
|
|
|
# text 2 1 0 0 {300 -3500} {A}
|
|
|
|
|
# text 2 1 0 0 {288 -3488} {A}
|
|
|
|
|
# text 2 1 0 0 {297 -3497} {A}
|
|
|
|
|
# end_cell
|
|
|
|
|
# end_lib
|
|
|
|
|
# </content>
|
|
|
|
|
# </test>
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
header
|
2017-02-12 13:21:08 +01:00
|
|
|
real 0 1000.0
|
|
|
|
|
uint 0 ;# offset table is in start record
|
|
|
|
|
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
|
|
|
|
|
|
|
|
|
|
# Text definition
|
|
|
|
|
record TEXTSTRING_ID
|
|
|
|
|
str A
|
|
|
|
|
uint 1
|
2021-08-11 07:33:43 +02:00
|
|
|
|
2017-02-12 13:21:08 +01:00
|
|
|
# Text definition
|
|
|
|
|
record TEXTSTRING_ID
|
|
|
|
|
str B
|
|
|
|
|
uint 2
|
|
|
|
|
|
|
|
|
|
# Cell ABC
|
|
|
|
|
record CELL_STR
|
2021-08-11 07:33:43 +02:00
|
|
|
str ABC
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 01111011 ;# 0CNXYRTL
|
|
|
|
|
uint 1 ;# text-id
|
|
|
|
|
uint 1 ;# text-layer
|
|
|
|
|
uint 2 ;# text-datatype
|
|
|
|
|
int 100 ;# text-x (abs)
|
|
|
|
|
int -200 ;# text-y (abs)
|
|
|
|
|
|
|
|
|
|
record XYRELATIVE
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 01111011 ;# 0CNXYRTL
|
|
|
|
|
uint 2 ;# text-id
|
|
|
|
|
uint 2 ;# text-layer
|
|
|
|
|
uint 1 ;# text-datatype
|
|
|
|
|
int 100 ;# text-x (relative)
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
|
|
|
|
|
record XYABSOLUTE
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00010000 ;# 0CNXYRTL
|
|
|
|
|
int 300 ;# text-x (abs)
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001000 ;# 0CNXYRTL
|
|
|
|
|
int -300 ;# text-y (abs)
|
|
|
|
|
|
|
|
|
|
record XYRELATIVE
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 01101100 ;# 0CNXYRTL
|
|
|
|
|
uint 1 ;# text-id
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 1 ;# repetition (3x4 matrix)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 2
|
|
|
|
|
uint 10
|
|
|
|
|
uint 12
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 0 ;# repetition (reuse matrix)
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 2 ;# repetition (3 columns)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 10
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 3 ;# repetition (4 columns)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 2
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 12
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 4 ;# repetition (4 columns, arbitrary spacing)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 2
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 12
|
|
|
|
|
uint 13
|
|
|
|
|
uint 14
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 5 ;# repetition (4 columns, arbitrary spacing, grid 3)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 2
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 3
|
|
|
|
|
uint 4
|
|
|
|
|
uint 5
|
|
|
|
|
uint 6
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 6 ;# repetition (3 columns, arbitrary spacing)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 10
|
|
|
|
|
uint 11
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 7 ;# repetition (3 columns, arbitrary spacing, grid 5)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 5
|
|
|
|
|
uint 2
|
|
|
|
|
uint 3
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
2019-03-31 16:50:53 +02:00
|
|
|
uint 8 ;# repetition (3x4 matrix, arbitrary displacement vectors)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1 ;# n-dimension
|
|
|
|
|
uint 2 ;# m-dimension
|
2017-02-12 13:21:08 +01:00
|
|
|
uint [ expr 16*10 ] ;# n-displacement (g-delta: 10-east=10,0)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint [ expr 4*11+3 ] ;# m-displacement (g-delta: -11,-12)
|
2017-02-12 13:21:08 +01:00
|
|
|
int -12
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
2019-03-31 16:50:53 +02:00
|
|
|
uint 8 ;# repetition (3x4 matrix, arbitrary displacement vectors)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1 ;# n-dimension
|
|
|
|
|
uint 2 ;# m-dimension
|
|
|
|
|
uint [ expr 4*11+1 ] ;# n-displacement (g-delta: 11,12)
|
2017-02-12 13:21:08 +01:00
|
|
|
int 12
|
|
|
|
|
uint [ expr 16*10+10 ] ;# n-displacement (g-delta: 10-northwest=-10,10)
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
2019-03-31 16:50:53 +02:00
|
|
|
uint 9 ;# repetition (3 times, arbitrary displacement vectors)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1 ;# dimension
|
|
|
|
|
uint [ expr 4*11+1 ] ;# n-displacement (g-delta: 11,12)
|
2017-02-12 13:21:08 +01:00
|
|
|
int 12
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
2019-03-31 16:50:53 +02:00
|
|
|
uint 9 ;# repetition (4 times, arbitrary displacement vectors)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 2 ;# dimension
|
2017-02-12 13:21:08 +01:00
|
|
|
uint [ expr 16*10+10 ] ;# n-displacement (g-delta: 10-northwest=-10,10)
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 10 ;# repetition (9 times, once in the middle, others displaced)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 7 ;# dimension
|
2017-02-12 13:21:08 +01:00
|
|
|
uint [ expr 16*10+0 ] ;# n-displacement (g-delta: 10-east=10,0)
|
|
|
|
|
uint [ expr 16*10+2 ] ;# n-displacement (g-delta: 10-north=0,10)
|
|
|
|
|
uint [ expr 16*10+4 ] ;# n-displacement (g-delta: 10-west=-10,0)
|
2017-07-28 00:19:39 +02:00
|
|
|
uint [ expr 16*40+6 ] ;# n-displacement (g-delta: 10-south=0,-40)
|
2017-02-12 13:21:08 +01:00
|
|
|
uint [ expr 16*10+8 ] ;# n-displacement (g-delta: 10-northeast=10,10)
|
|
|
|
|
uint [ expr 16*10+10 ] ;# n-displacement (g-delta: 10-northwest=-10,10)
|
|
|
|
|
uint [ expr 16*10+12 ] ;# n-displacement (g-delta: 10-southwest=-10,-10)
|
2017-07-28 00:19:39 +02:00
|
|
|
uint [ expr 16*20+14 ] ;# n-displacement (g-delta: 10-southeast=20,-20)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 10 ;# repetition (3 times, once in the middle, two displaced)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1 ;# dimension
|
|
|
|
|
uint [ expr 4*11+3 ] ;# n-displacement (g-delta: -11,12)
|
2017-02-12 13:21:08 +01:00
|
|
|
int 12
|
|
|
|
|
uint [ expr 16*10+14 ] ;# n-displacement (g-delta: 10-southeast=10,-10)
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 11 ;# repetition (9 times, grid 2, once in the middle, others displaced)
|
|
|
|
|
uint 7 ;# dimension (9)
|
|
|
|
|
uint 2 ;# grid
|
|
|
|
|
uint [ expr 16*5+0 ] ;# n-displacement (g-delta: 10-east=10,0)
|
|
|
|
|
uint [ expr 16*5+2 ] ;# n-displacement (g-delta: 10-north=0,10)
|
|
|
|
|
uint [ expr 16*5+4 ] ;# n-displacement (g-delta: 10-west=-10,0)
|
2017-07-28 00:19:39 +02:00
|
|
|
uint [ expr 16*20+6 ] ;# n-displacement (g-delta: 10-south=0,-40)
|
2017-02-12 13:21:08 +01:00
|
|
|
uint [ expr 16*5+8 ] ;# n-displacement (g-delta: 10-northeast=10,10)
|
|
|
|
|
uint [ expr 16*5+10 ] ;# n-displacement (g-delta: 10-northwest=-10,10)
|
|
|
|
|
uint [ expr 16*5+12 ] ;# n-displacement (g-delta: 10-southwest=-10,-10)
|
2017-07-28 00:19:39 +02:00
|
|
|
uint [ expr 16*10+14 ] ;# n-displacement (g-delta: 10-southeast=20,-20)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00001100 ;# 0CNXYRTL
|
|
|
|
|
int -200 ;# text-y (relative)
|
|
|
|
|
uint 11 ;# repetition (3 times, once in the middle, two displaced)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 1 ;# dimension
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 3 ;# grid (3)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint [ expr 4*4+3 ] ;# n-displacement (g-delta: -12,12)
|
2017-02-12 13:21:08 +01:00
|
|
|
int 4
|
|
|
|
|
uint [ expr 16*3+14 ] ;# n-displacement (g-delta: 10-southeast=12,-12)
|
|
|
|
|
|
|
|
|
|
tail
|
|
|
|
|
|