database publishing GASSENHUBER DATAform DBP  
 
   
First page  <<  >> Last page
First page  <<  >> Last page
III. Functional objects 102 Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de *T107 DOCUMENT PARAMETER <= ¶*T107*e[ … ]*$¶ Every export command exports a *T107 object providing information about the QuarkXPress project (formerly document) from which it has been exported. The object *T107 is always the first object exported. Your database tests *T for 107 or the DX_Array{5} for "107" and skips the object or receives the document information. Demonstration - Choose points as the measuring units in the QuarkXPress preferences with all windows closed; all measurements are exported by DATAform as points and can be compared easily with this setting. - Create this new document: - Write “hello” in the created automatic text box and choose the DATAform command “Export all”. This text with DATAformTags will be exported: DfXT+2.0¶*T107*e["Project1";841.89;595.276;55.555;56.666;57.777;58.888;1;3;9.999;0]* $¶*#0*G0*T3*p1*@1*x57.777*y55.555*X536.388*Y785.224*W0*S0*C3*c9.999*i0*I0* j0*J0*f0*H0*h0*D0*d0*B"White"*b1*F1*1"Helvetica"*20*312*41*5"Black"*61*70*80* 90*L128*l0*M"Black"*m1*R1*r1*w0*s0*|0*»0*«0*§0*N0*-1*+"1"*g"222222"*$Hello¶ After *e[ – or in the 4D interface with DX_Read(1) in DX_Array {69} – you receive eleven values, separated by semi-colons (the decimal point may in general be a point or comma in DATAformTags): "Document1"   Name of the QuarkXPress project; resp. full path if saved already 841.89 Height of the layout in pt 841.89 / 72 = 11.693" see above illustration 841.89 / 2.834646 = 297 mm, i.e. DIN A4 letter height 595.276 Width of layout in pt 595.276 / 72 = 8.268" see above illustration 595.276 / 2.834646 = 210 mm, i.e. DIN A4 letter width 55.555 Margin guide top in pt 56.666 Margin guide bottom in pt 57.777 Margin guide inside/left in pt 58.888 Margin guide outside/right in pt