Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP ToolTalk Programmer's Guide > Chapter 20 ToolTalk Message Sets

Media Exchange Definitions and Conventions

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

Media exchange messages are sent and received by tools that display or edit some kind of media. Specific to the media exchange messages are values associated with fields. The parts of a Media Exchange message are defined as follows:

<document>

A vector of bytes with an associated mediaType.

<mediaType>

The name of a media format. The mediaType allows messages about that document to be dispatched to the right editor. Standard mediaTypes include those listed in Table 20-7.

NOTE: The mediaType list will be extended as required. You can extract a list of the installed mediaTypes from the ToolTalk Types Database.

Table 20-7 Standard Media Types

Name of FormatDescriptionCompany
ISO_Latin_1ISO 8859-1 (+TAB+NEWLINE)ISO
EUCMulti-National Lang. SupplementAT&T
PostScriptPostScript Lang. Ref. ManualAdobe
TIFF"TIFF Rev. 5" Technical MemoAldus/Microsoft
GIFGraphics Interchange FormatCompuServe
XPMXPM -- The X PixMap FormatGroupe Bull
JPEG ISO/CCITT
JPEG_Movie Parallax
RFC_822_MessageRFC 822NIC
MIME_MessageRFC MIMENIC
UNIX_Mail_Folder  
RTFMS Word Technical ReferenceMicrosoft
EPS  
DT_APPOINTMENT HP, Sun, IBM, Novell
Sun_CM_Appointment Sun

 

abstract mediaType

A family of similar mediaTypes, such as flat text or structured graphics.

vector

A string vtype describing a distance and a direction in a document. The syntax of vectors varies by abstract mediaType.

locator

A string describing a location in a document. The syntax of locators varies by abstract mediaType, but should usually be a superset of vector syntax.

flat text

A family of mediaTypes (such as ISO_Latin_1) that consist of a sequence of characters from some character set.

Legal vectors for flat text are:

lineVec 	::= Line:[-][0-9]+
charVec ::= Character:[-][0-9]+
vector ::= <lineVec>
vector ::= [<lineVec>,]<charVec>

Legal locators for flat text are vectors.

time-based media

A family of media types that consist of time-structured data.

Legal vectors for time-based media include:

vector	::= uSeconds:[-][0-9]+
vector ::= Samples:[-][0-9]+

Legal locators for time-based media are vectors.

Errors

These definitions are common to all Document and Media Exchange messages. Any differences or additions will be noted in the man pages.

1700 TT_MEDIA_ERR_SIZE

The specified size was too big or too small.

1701 TT_MEDIA_ERR_FORMAT

The data does not conform to the specified format.

Table 20-8 lists each of the messages that constitute the ToolTalk Document and Media Exchange Message Set. For details see the Section 4 man pages.

Table 20-8 ToolTalk Document and Media Exchange Message Set

MessageDescription
Deposit (Request)Saves the document to its backing store.
Display (Request)Displays a document.
Display, Edit (Request)Loads an X11 selection for display or edit.
Edit (Request)Edits or composes a document.
Print (Request)Prints a document.
Translate (Request)Translates a document from one media type to another media type.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.