XML Europe 2002 Barcelona, May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open Ulrich Laesche President, Ematek Informatik GmbH
XML Europe 2002 Barcelona, May Agenda Background Application Structuring WebCGM Application Structures WebCGM DOM Requirements Development Status Example
XML Europe 2002 Barcelona, May Background CGM (ISO/IEC 8632) –Computer Graphics Metafile - interchange –Robust 2-dimensional graphics language –Stable – 15 years as an ISO standard –Widely supported – technical documentation, CAD/CAM, desktop publishing, etc. –Widely profiled – Air Transport Assn, CALS, AECMA, automotive, telecommunications, etc.
XML Europe 2002 Barcelona, May Background - CGM Version 2 (Am1:1989) CGM Version 1 (1987) Version 3 (Am3:1991) Defect Corrections Republish CGM:1992
XML Europe 2002 Barcelona, May Background - CGM Profiles&Conformance (Am1:1994) CGM Version 3 (1992) Version 4 (Am2:1995) Defect Corrections Republish CGM:1999
XML Europe 2002 Barcelona, May Background CGM Open –Consortium formed in 1998 ( UsersVendorsIndependents Boeing EADS Bombardier US Navy MOD UK Xerox (AECMA) Itedo Sys Dev Inc Larson S/W Auto-trol Ematek Bentley (Corel) NIST Lofton Henderson Bruce Garner
XML Europe 2002 Barcelona, May Background - WebCGM Based on ATA GREXCHANGE Extensions for application structuring Targeted for technical illustrations –2D –Line art –Navigation functionality
XML Europe 2002 Barcelona, May Background - WebCGM WebCGM V1.0 (1999) Defect Corrections Republish WebCGM V1.0 Release 2 (2001)
XML Europe 2002 Barcelona, May Application Structuring Group graphical primitives by type Attach attributes to groups to support: –Linking –Information retrieval –Viewer behavior –Etc.
XML Europe 2002 Barcelona, May WebCGM Application Structure Types Picture Body subpara grobject gdata layer para opt rep cho rep cho gdata – graphical primitives opt – optional rep – repeat cho – choice grobjectgdata rep cho grobject gdata para gdata
XML Europe 2002 Barcelona, May WebCGM Application Structure Attributes layer –id –layer Description –layer Name grobject –id –region –view Context –linkuri –screentip –name para & subpara –id –region –linkuri –screentip –content
XML Europe 2002 Barcelona, May WebCGM What does that buy us? –The ability to navigate through and between illustrations example
XML Europe 2002 Barcelona, May WebCGM Why a DOM? –Control over viewer behavior externally Attributes of primitives (color, weight, font, etc.) Visibility of objects –Remove some (most) of the metadata from the CGM file Context sensitive linking Context sensitive screen tips
XML Europe 2002 Barcelona, May WebCGM DOM requirements Metafile level –Access to: File name URL Metafile version Metafile Description
XML Europe 2002 Barcelona, May WebCGM DOM requirements Picture level –Access to: Picture name VDC extent Parent List of children –Control over: Links between children
XML Europe 2002 Barcelona, May WebCGM DOM requirements Graphical primitives –Control over: Color Intensity Line weight Edge weight
XML Europe 2002 Barcelona, May WebCGM DOM requirements Layer application structure type –Access to: Identifier Layer name Layer description Parent List of children –Control over: Visibility Links between children
XML Europe 2002 Barcelona, May WebCGM DOM requirements Grobject application structure type –Access to: Identifier Name Region View context Parent List of children –Control over: Linkuri Screentip visibility
XML Europe 2002 Barcelona, May WebCGM DOM requirements Para and subpara application structure type –Access to: Identifier Region View context Content Parent List of children –Control over: Linkuri Screentip visibility
XML Europe 2002 Barcelona, May WebCGM DOM requirements Application structure graphical primitives –Control over: Color Intensity Line weight Edge weight Text font Text size Text scale factor
XML Europe 2002 Barcelona, May WebCGM DOM requirements Event handling: –OnClick –OnMouseOver –OnMouseOut –OnLoad –OnUnload
XML Europe 2002 Barcelona, May DOM Work in Progress Watch this space