ToolTalk Reference Guide
  Rechercher uniquement dans ce livre
Télécharger cet ouvrage au format PDF

NAME

ttMedia - introduction to Media Exchange messaging conventions

DESCRIPTION

The Media conventions allow a tool to be a container for arbitrary media, or to be a media player/editor that can be driven from such a container. These conventions allow a container application to compose, display, edit, print, or transform a document of an arbitrary media type, without understanding anything about the format of that media type. ToolTalk routes container requests to the user's preferred tool for the given media type and operation. This includes routing the request to an already-running instance of the tool if that instance is best-positioned to handle the request.

LIST OF MESSAGES

[fil e ] Deposit(     in        me di aType     c ont e nt s ,
                     [in       bufferID      beingDeposited
                     in        messageID commission] );
[ fil e ] Display(    in        me di aType     c ont e nt s ,
                     [in       messageID conterfoil]
                     [in       title         docName] );
[ fil e ] Edit(       [in]out me di aType       c ont e nt s ,
                     [in       messageID counterfoil]
                     [in       title         docName ])
[ fil e ] Mail(       in        me di aType     c ont e nt s );
[ fil e ] Mail(       out       me di aType     c ont e nt s
                     [in       title         doc Name ] );
[ fil e ] Mail(       inout     me di aType     c ont e nt s
                     [in       title         doc Name ] );
[ fil e ] Print(      in        me di aType     c ont e nt s ,
                     in        boolean       i nqui s i t i v e ,
                     in        boolean       c ov e r t
[ fil e ] Translate(in          me di aType     c ont e nt s ,
                     out       me di aType     out put ,
                     in        boolean       i nqui s i t i v e ,
                     in        boolean       c ov e r t
                     [in       messageID c ount e r f oi l ] );

DEFINITIONS

document

A vector of bytes with an associated mediaType.

mediaType

The name of a media format. The media type of a document allows messages about that document to be dispatched to the right tool. Standard media types include:
ISO _Latin_1               ISO 8859-1 (+TAB+NEWLINE)           ISO
EU C                       Multi-National Lang. Supplement     AT&T
PostScript                 PostScript Lang. Ref. Manual        Adobe
Sun_Raster                 rasterfile(5)                        Sun
TIFF                       "TIFF Rev. 5" Technical Memo        Aldus
G IF                       Graphics Interchange Format         CompuServe
X PM                       XPM -- The X PixMap Format          Groupe Bull

JPEG                                                           ISO-CCITT
JPEG_M ovie                                                    Parallax
Sun_A udio                 audio_intro(3), audio_hdr(3)        Sun
RFC_822_M essage           RFC 822                             NIC
M IM E_M essage            RFC MIME                            NIC
U N IX _M ail_Folder
RTF                        MS Word Technical Reference         Microsoft
EPS
Sun_CM _A ppointm ent                                          Sun

ERRORS

1300 TT_MEDIA_ERR_SIZE
        Thespecified sizew astoo big ortoo sm all

1301 TT_MEDIA_ERR_FORMAT
Thedatado notconform to theiralleged form at

NOTES

It is possible to extract from the ToolTalk types database a list of the installed media types.