database publishing GASSENHUBER DATAform DBP  
 
   
First page  <<  >> Last page
First page  <<  >> Last page
III. Functional objects 94 Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de The same example as in the DATAform 4D interface: DX_Write (0)   `initialisation DX_Array{5}:="101" `*T101 Import DX_Array{40}:="1" `*M1 Mode dialogue $0:=DX_Write (1) `close object and pass it to the interface `Here follow the box objects that should be imported, `each one is closed with DX_Write (1) DX_Write (2)    `end of export Functional objects have priority Functional objects overwrite the menu functions. If a text with DATAformTags containing the functional object *T101 is imported with the menu command “Update contents”, the boxes will still be imported; the functional object *T101 has priority over the calling method. Or vice versa: If the text with DATAformTags contains the functional object *T102 for updat- ing, the following text causes an update procedure even if it is called by the menu command “Import boxes”. In a text with DATAformTags a functional object is valid only until the next functional object. You may switch at will between IMPORT, DELETE and UPDATE. Demonstration - Place the picture “DATAform.EPS” into your QuarkXPress folder. - Set the DATAform preferences in QuarkXPress to import by dialogue. - Import text with DATAformTags “DATAformShow.QXP”. Boxes will be imported, changed, deleted, newly created etc. The demonstration shows the possibilities of the functional objects IMPORT, DELETE and UPDATE like in a movie, but uses DATAformXTension only.