Recommendation T.501 A DOCUMENT APPLICATION PROFILE MM FOR THE INTERCHANGE OF FORMATTED MIXED MODE DOCUMENT CONTENTS 1 Scope 2 Field of application 3 References 4 Definitions 5 Characteristics supported by this document application profile 5.1 Overview 5.2 Logical characteristics 5.3 Layout characteristics 5.4 Document layout features 5.5 Content layout and imaging characteristics 6 Specification of the document application profile 6.1 Summary of the technical specification 6.2 Logical structure 6.3 Layout structure 6.4 Content architectures 6.5 Document profile 6.6 Interchange format Annex A -Format of the values of the attributes "object identifier", "object class identifier", "object class" and "subordinates" 1 Scope 1.1 This Recommendation defines a document application profile conforming to the T.410 Series of Recommendations. Its purpose is to specify an interchange format suitable for the interchange of mixed mode documents such as memoranda, letters and reports that contain characters and raster graphics. Documents are interchanged only in a formatted form which enables the recipient to only display or print the document as intended by the originator. 1.2 The features which can be interchanged using this document application profile fall into the following categories: a) page format features - these concern how the layout of each page of a document will appear when reproduced; b) character content and raster graphics layout and imaging features - these concern how the document content will appear within pages of the reproduced document; c) character repertoire - these concern the character sets and control functions that make up the document character content; d) raster graphics coding - these concern the raster graphics representations and control functions that make up the document raster graphics content. Fascicle VII.7 - Rec. T.501 1 2 Field of application 2.1 This Recommendation defines a document application profile that is in conformance with the T.410 Series of Recommendations and that allows mixed mode documents to be interchanged only in a formatted form, which allows a recipient to reproduce the document as intended by the originator. 2.2 This recommendation defines a document application profile that may be used by any telematic service. 2.3 This document application profile is designed to be independent of the means used to create or to interchange the encoded documents. 2.4 It is assumed that, when negotiation is performed by the service using this document application profile, all non- basic features are subject to negotiation. 3 References The following references are required in order to implement this Recommendation: - T.400 Series of Recommendation: "Document architecture, transfer and manipulation". - Rec. T.6: "Facsimile coding schemes and coding control functions for group 4 facsimile apparatus". - Rec. T.61: "Character repertoire and coded character sets for the international teletex service". - Rec. X.208: "Specification of abstract syntax notation one (ASN.1)". - Rec. X.209: "Specification of basic encoding rules for abstract syntax notation one (ASN.1)". - ISO 6937: "Information processing - coded character sets for text communication". 4 Definitions The definitions in Recommendation T.411 apply to this Recommendation. 5 Characteristics supported by this document application profile 5.1 Overview A mixed mode document is the result of a formatting process and therefore the purpose of this document application profile is to allow transfer of the complete layout of the interchanged document. Furthermore, two categories of content are allowed within the same page, namely: - a character content as used by word processing machines (e.g. basic teletex equipment); - a raster graphics content as used by facsimile group 4 apparatus. This section specifies the functional description of the features supported by this document application profile. 5.2 Logical characteristics Not applicable. 5.3 Layout characteristics 5.3.1 The document layout structure A document is seen as a succession of pages. 2 Fascicle VII.7 - Rec. T.501 The content of a page may be: - character content; or - raster graphics content; or - both of them. When different content types are used within the same page, this page must be composed of several blocks. Each block has a homogeneous content. 5.3.2 Page layout characteristics 5.3.2.1The text area The text area is the area made available for the positioning and display of the document content. The dimensions of the text area must be equal to or smaller than the dimensions of the nominal page corresponding to the paper format used. The possible paper formats are defined in Recommendation T.561. Only the vertical orientation of the page is permitted. 5.3.2.2Block 5.3.2.2.1Position and dimension Each block is positioned in the page and has its own dimensions (independently of the other blocks). Figure 1/T.501 gives an example of a page. w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ 3.3 wFirst application example: THE MIXED MODEw ³ ³ ³ ³ This is the possibility of mixing various coding types (characters, pels, ³ ³geometric primitives, etc.) on the same page of a document. The document ³ ³architecture is thus used to mark out physical areas (blocks) and associates ³ ³contents with it so as to reproduce the initial image of the page. ³ ³ ³ ³ The CCITT has, during its last study period, standardized the "mixed mode" ³ ³application for teletex terminals and group 4 facsimile equipments. This applica-³ ³tion, described in Recommendation T.72 , only allows at present the mixture of ³ ³characters and photographic images (facsimile encoded information). ³ ³ ³ ³ Figure 10 illustrates the mixed mode application in the form of a layout ³ ³tree with which leaves of different natures are associated. It is as yet too ³ ³early to know horticulturists' or agronomists' impressions about this surprising ³ ³property which electronics can now offer!!! ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ FIGURE 1/T.501 An example of a page Fascicle VII.7 - Rec. T.501 3 5.3.2.2.2 Overlay Within a page, blocks may be positioned in such a way that they intersect partially or fully, i.e. they share common areas. All blocks are "transparent", that means that the contents of the intersecting areas are combined. 5.4 Document layout features Not applicable. 5.5 Content layout and imaging characteristics 5.5.1The mixed mode document may contain blocks with characters in teletex format and blocks with raster graphics in facsimile group 4 format. The characteristics of the content of a block, such as the line spacing or the character path, are independent of those of other blocks. All the characteristics cannot be altered anywhere within a block. 5.5.2Character content block 5.5.2.1 General The character content blocks contain graphic characters and control functions. The control functions define format effectors such as space or carriage return. 5.5.2.2 Line spacing This property specifies the distance between successive lines of text. The basic values are: w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ Lines per 25.4 mm ³ ³ SMU ³ (when the scaling ³ ³ ³ factor is one) ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 200 (by default) ³ 6 (by default) ³ ³ ³ ³ ³ 400 ³ 3 ³ ³ ³ ³ ³ 300 ³ 4 ³ ³ ³ ³ ³ 100 ³ 12 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ The negotiable value is 150 SMU which correspond to 8 lines per 25.4 mm when the scaling factor is one. 5.5.2.3 Character spacing This specifies the distance between successive characters on a line of text. The basic value is 120 SMU which correspond to 10 characters per 25.4 mm when the scaling factor is one. The negotiable values are: w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ Characters 25.4 mm ³ ³ SMU ³ (when the scaling ³ ³ ³ factor is one) ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 200 ³ 6 ³ ³ ³ ³ ³ 100 ³ 12 ³ ³ ³ ³ ³ 80 ³ 15 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 4 Fascicle VII.7 - Rec. T.501 5.5.2.4 Character path This specifies that direction of progression of successive characters along a line of characters. The basic values are 0o (by default) and 90o. The negotiable value is 270o. The mentioned values are measured anti-clockwise. 5.5.2.5 Emphasis This specifies the presentation of the characters. Four modes are available: normal rendition (by default), underlined, italicized and bold. 5.5.2.6 First character position The position of the first character, that may be a space, is defined by cartesian coordinates. 5.5.3 Raster graphics content block 5.5.3.1 General The content of blocks of raster graphics is defined by the initial offset (by default, the left top corner) and the dimensions of the array of pixels. 5.5.3.2 Pel transmission density The basic values are: w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ Pels per 25.4 mm ³ ³ SMU ³ (when the scaling ³ ³ ³ factor is one) ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 5 ³ 240 ³ ³ ³ ³ ³ 4 ³ 300 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ The negotiable values are: w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ Pels per 25.4 mm ³ ³ SMU ³ (when the scaling ³ ³ ³ factor is one) ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 6 ³ 200 ³ ³ ³ ³ ³ 3 ³ 400 ³ ³ ³ ³ ³ 2 ³ 600 ³ ³ ³ ³ ³ 1 ³ 1200 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 5.5.4Received document This document application profile, being limited to formatted form, does not support any features to facilitate processing of an interchanged document by a receiver. 6 Specification of the document application profile 6.1 Summary of the technical specification 6.1.1Overview This section contains the technical specification of the document application profile MM.1. This is in accordance with Recommendation T.411. Fascicle VII.7 - Rec. T.501 5 MM.1 allows documents to be represented in the formatted form, which allows a recipient to reproduce the document as intended by the originator. 6.1.2Specification of constituents This section specifies the required and optional constituents used for the representation of documents that conform to MM.1. Also, it specifies the content architectures that may be present in these documents. Constituents specified as "required" must occur in any document that conforms with MM.1. Constituents listed as "optional" may or may not be present in the document depending upon the requirements of the particular document. The document profile indicates which constituents are present in the document. 6.1.2.1 Required constituents - a document profile as specified in  6.5; - layout object descriptions representing a specific layout structure as defined in  6.3.2. 6.1.2.2 Optional constituents - layout object class descriptions representing a "partial" generic layout structure as defined in  6.3.1. 6.1.3Interchange format class The interchange format class used in this document application profile is "A", as defined in Recommendation T.415. 6.1.4Object identifiers The ASN.1 object identifier value to designate the document application profile MM.1 is: {0020 501 0} 6.2 Logical structure Not applicable. 6.3 Layout structure 6.3.1The generic layout structure The generic layout structure is a "partial" structure and its purpose is to provide for factorization. That is, the "partial" generic layout structure provides for predefined attributes values and content portions for objects in the specific layout structure. The generic layout structure may contain three types of object classes, namely the document layout root class, the page class and the block class. All are optional. 6.3.2The specific layout structure The number of hierarchical levels allowed is 3, namely: - document layout root; - page; - block. The three levels are mandatory. If the content portions are not directly associated with each block, then the content portions must be derived from a referenced object class 6 Fascicle VII.7 - Rec. T.501 of type block. Fascicle VII.7 - Rec. T.501 7 6.3.3Attributes of layout components 6.3.3.1 Application and classification of attribute for layout component descriptions The attributes application for MM are defined in Table 1/T.501. The following notation is used in this table: The form .../... represents: object class description/object description where ... is replaced by: --- attribute not applicable to either object class or object description; -- attribute not applicable; m mandatory attribute; nm non-mandatory attribute; d defaultable attribute. Capital letters (M, NM and D) are used for groups of attributes. TABLE 1/T.501 Attributes application and classification w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄ¿ ³ ³ Document ³ ³ ³ ³ Attribute ³ layout ³ Page ³ Block ³ ³ ³ root ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄ´ ³ wShared attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Object type ³ m/m ³ m/m ³ m/m ³ ³ Object identifier ³ --/m ³ --/m ³ --/m ³ ³ Object class identifier ³ m/-- ³ m/-- ³ m/-- ³ ³ Generator for subordinates ³ --- ³ --- ³ --- ³ ³ Object class ³ --/nm ³ --/nm ³ --/nm ³ ³ Subordinates ³ --/m ³ --/m ³ --/-- ³ ³ Resource ³ --- ³ --- ³ --- ³ ³ Presentation style ³ --- ³ --- ³ --- ³ ³ Presentation attributes ³ --- ³ --- ³ nm/d ³ ³ User visible name ³ --- ³ --- ³ --- ³ ³ Bindings ³ --- ³ --- ³ --- ³ ³ Content portions ³ --- ³ --- ³ nm/nm ³ ³ User readable comments ³ nm/d ³ nm/d ³ nm/d ³ ³ Default value lists ³ nm/nm ³ nm/nm³ --- ³ ³ ³ ³ ³ ³ ³ wLayout attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Dimensions ³ --- ³ nm/d ³ nm/d ³ ³ Position ³ --- ³ nm/d ³ nm/d ³ ³ Layout texture ³ --- ³ --- ³ --- ³ ³ Border ³ --- ³ --- ³ --- ³ ³ Balance ³ --- ³ --- ³ --- ³ ³ Layout path ³ --- ³ --- ³ --- ³ ³ Logical source ³ --- ³ --- ³ --- ³ ³ Permitted category ³ --- ³ --- ³ --- ³ ³ Imaging order ³ --- ³ --- ³ --- ³ ³ Page position ³ --- ³ --- ³ --- ³ ³ Medium type ³ --- ³ --- ³ --- ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÙ 8 Fascicle VII.7 - Rec. T.501 6.3.3.2 Specification of attributes for layout object class descriptions (see Table 2/T.501) TABLE 2/T.501 Attribute values for layout object class descriptions w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Basic value ³ Non-basic ³ ³ ³ ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ wShared attributesw ³ ³ ³ ³ ³ ³ ³ ³ Object type ³ document layout ³ none ³ ³ ³ root, page, block ³ ³ ³ ³ ³ ³ ³ Object class ³ as defined in ³ ³ ³ identifier ³ Rec. T.412 (see ³ none ³ ³ ³ also Annex A) ³ ³ ³ ³ ³ ³ ³ Content portions ³ as defined in ³ none ³ ³ ³ Rec. T.412 ³ ³ ³ ³ ³ ³ ³ Default value lists ³ see Table 4/T.501 ³ none ³ ³ ³ ³ ³ ³ Presentation ³ see Table 5/T.501 ³ ³ ³ attributes ³ ³ ³ ³ ³ ³ ³ ³ Dimensions ³ horizontal < 9920 ³ North-American ³ ³ ³ SMU ³ < (10200, 13200)³ ³ ³ vertical < 14030 ³ ISO A3 < (14030,³ ³ ³ SMU ³ 19840) ³ ³ ³ ³ Japanese legal ³ ³ ³ ³ < (12141, 17196)³ ³ ³ ³ Japanese letter ³ ³ ³ ³ < (8598, 12141) ³ ³ ³ ³ ³ ³ Position ³ horizontal = any ³ ³ ³ ³ non-negative ³ ³ ³ ³ integer ³ ³ ³ ³ vertical = any non-³ ³ ³ ³ negative integer ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Fascicle VII.7 - Rec. T.501 9 6.3.3.3 Specification of attributes for layout object class descriptions (see Table 3/T.501) TABLE 3/T.501 Attribute values for layout object descriptions w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄ¿ ³ Attribute ³ Basic value ³ Default ³ Non-basic ³ ³ ³ ³ value ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ wShared attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Object type ³ document layout ³ none ³ none ³ ³ ³ root, page, block ³ ³ ³ ³ ³ ³ ³ ³ ³ Object identifier ³ as defined in ³ ³ ³ ³ ³ Rec. T.412 (see ³ none ³ none ³ ³ ³ also Annex A) ³ ³ ³ ³ ³ ³ ³ ³ ³ Object class ³ as defined in ³ none ³ none ³ ³ ³ Rec. T.412 (see ³ ³ ³ ³ ³ also Annex A) ³ ³ ³ ³ ³ ³ ³ ³ ³ Subordinates ³ as defined in ³ none ³ none ³ ³ ³ Rec. T.412 (see ³ ³ ³ ³ ³ also Annex A) ³ ³ ³ ³ ³ ³ ³ ³ ³ Content portions ³ as defined in ³ none ³ none ³ ³ ³ Rec. T.412 ³ ³ ³ ³ ³ ³ ³ ³ ³ Default value lists ³ see Table 4/T.501 ³ none ³ none ³ ³ ³ ³ ³ ³ ³ Presentation ³ see Table 5/T.501 ³ ³ ³ ³ attributes ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Dimensions ³ horizontal < 9920 ³ as defined in ³ North-American ³ ³ ³ SMU ³ Rec. T.412 ³ < (10200, 13200)³ ³ ³ vertical < 14030 ³ ³ ISO A3 < (14030,³ ³ ³ SMU ³ ³ 19840) ³ ³ ³ ³ ³ Japanese legal ³ ³ ³ ³ ³ < (12141, 17196)³ ³ ³ ³ ³ Japanese letter ³ ³ ³ ³ ³ < (8598, 12141) ³ ³ ³ ³ ³ ³ ³ Position ³ horizontal = any ³ ³ ³ ³ ³ non-negative ³ ³ ³ ³ ³ integer ³ ³ ³ ³ ³ vertical = any non-³ ³ ³ ³ ³ negative integer ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 10 Fascicle VII.7 - Rec. T.501 6.3.4Default value lists for layout component descriptions (see Table 4/T.501) TABLE 4/T.501 Defaultable attributes that may be specified in a default value list w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Object type ³ Defaultable attributes ³ ³ ³ that can be specified ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Page ³ dimensions ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ presentation attributes ³ ³ Block ³ dimensions ³ ³ ³ position ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 6.4 Content architectures 6.4.1Content architecture levels Two content architecture levels are defined in this document application profile, namely: - a formatted character content architecture level; - a formatted raster graphics content architecture level. These are defined in the following subsections in accordance with Recommendation T.411. 6.4.2Type of coding for the formatted character content architecture level The set of graphic elements and the type of coding to be used are defined in Recommenda- tion T.61. 6.4.3Type of coding for the formatted raster graphics content architecture level The type of coding to be used is as defined in Recommendation T.6. The code extension control function may be used, provided its use is agreed by prior negotiation and is indicated in the document profile. This control function is used to invoke uncompressed mode of coding. 6.4.4Presentation attributes Table 5/T.501 specifies the allowable presentation attribute values for MM.1. Fascicle VII.7 - Rec. T.501 11 TABLE 5/T.501 Presentation attributes w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Basic value ³ Default ³ Non-basic ³ ³ ³ ³ value ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Content architecture ³ formatted ³ formatted ³ ³ ³ class ³ character content ³ character content ³ ³ ³ ³ ³ ³ ³ ³ ³ formatted raster ³ ³ ³ ³ ³ graphic content ³ ³ ³ ³ ³ ³ ³ ³ ³ wCharacter attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Character path ³ 0, 90 ³ 0 ³ 270 ³ ³ ³ ³ ³ ³ ³ Line progression ³ 270 ³ 270 ³ none ³ ³ ³ ³ ³ ³ ³ Character orientation ³ 0 ³ 0 ³ 90 ³ ³ ³ ³ ³ ³ ³ Initial offset ³ horizontal offset = ³ see definition ³ none ³ ³ ³ any non-negative ³ of attribute ³ ³ ³ ³ integer ³ "initial offset" ³ ³ ³ ³ ³ in Rec. T.416 ³ ³ ³ ³ vertical offset = ³ ³ ³ ³ ³ any non-negative ³ ³ ³ ³ ³ integer ³ ³ ³ ³ ³ ³ ³ ³ ³ Graphic character ³ basic teletex ³ basic teletex ³ any registered ³ ³ sets ³ graphic character ³ graphic character ³ graphic character ³ ³ ³ set ³ set ³ sets ³ ³ ³ ³ ³ ³ ³ Character spacing ³ 120 SMU ³ 120 SMU ³ 80, 100, 200 SMU ³ ³ ³ ³ ³ ³ ³ Line spacing ³ 100, 200, 300, ³ 200 SMU ³ 150 SMU ³ ³ ³ 400 SMU ³ ³ ³ ³ ³ ³ ³ ³ ³ Alignment ³ left aligned ³ left aligned ³ none ³ ³ ³ ³ ³ ³ ³ Graphic rendition ³ default rendition, ³ default rendition ³ proportional ³ ³ ³ underlined, not ³ ³ spacing, ³ ³ ³ underlined, ³ ³ Constant spacing ³ ³ ³ italicized, not ³ ³ ³ ³ ³ italicized, bold/ ³ ³ ³ ³ ³ not bold ³ ³ ³ ³ ³ ³ ³ ³ ³ wRaster graphicsw ³ ³ ³ ³ ³ wattributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Pel path ³ 0 ³ 0 ³ none ³ ³ ³ ³ ³ ³ ³ Line progression ³ 270 ³ 270 ³ none ³ ³ ³ ³ ³ ³ ³ Pel spacing ³ 4 and 5 SMU ³ none ³ 1, 2, 3, 6 SMU ³ ³ ³ ³ ³ ³ ³ Initial offset ³ horizontal offset ³ see definition ³ none ³ ³ ³ = any integer ³ of the attribute ³ ³ 12 Fascicle VII.7 - Rec. T.501 ³ ³ ³ "initial offset" ³ ³ ³ ³ vertical offset ³ in Rec. T.417 ³ ³ ³ ³ = any integer ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note - All presentation attributes are defaultable except "pel spacing" which is mandatory. Fascicle VII.7 - Rec. T.501 13 6.4.5Control functions Table 6/T.501 defines the allowable values of control function parameters. TABLE 6/T.501 Control functions applicable to the formatted character content architecture level Control function with parameters w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄ¿ ³ Control functions ³ Basic values ³ Default ³ Non-basic ³ ³ ³ ³ values ³ values ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Identify graphic sub- ³ 0 ³ 0 ³ none ³ ³ repertoire (IGS) ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Select character ³ 0 ³ 0 ³ 1, 2, 3 ³ ³ spacing (SHS) ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Select graphic ³ 0, 1, 3, 4, ³ 0 ³ 26, 50 ³ ³ rendition (SGR) ³ 22, 23, 24 ³ ³ ³ ³ ³ ³ ³ ³ ³ Select line ³ 0, 1, 2, 3 ³ 0 ³ 4 ³ ³ spacing (SVS) ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Code extension ³ note ³ none ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Control functions without parameters * backspace (BS) * carriage return (CR) * line feed (LF) * partial line down (PLD) * partial line up (PLU) * space (SP) * substitute (SUB) Note - The values are defined by registration numbers and have to be negotiated. 6.4.6Attributes of content portions Attributes applicable to content portions are defined in Table 7/T.501. 14 Fascicle VII.7 - Rec. T.501 TABLE 7/T.501 Attributes applicable to content portions w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄ¿ ³ Attributes ³ Qual. ³ Basic values ³ Default ³ Non-basic ³ ³ ³ ³ ³ value ³ values ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Content portion ³ m ³ as defined in ³ none ³ none ³ ³ identifier ³ ³ Rec. T.412 ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Type of coding ³ m ³ ISO 2022, Rec. T.6³ none ³ none ³ ³ ³ ³ ³ ³ ³ ³ wCharacter codingw ³ --- ³ none ³ none ³ none ³ ³ wattributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ wRaster graphicsw ³ ³ ³ ³ ³ ³ wcoding attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Number of pels ³ m ³ any ³ none ³ none ³ ³ per line ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Compression ³ d ³ compressed ³ compressed ³ uncompressed ³ ³ ³ ³ ³ ³ ³ ³ Alternative ³ nm ³ string of graphics³ none ³ none ³ ³ representation ³ ³ characters + ³ ³ ³ ³ ³ ³ CarriageRet. and ³ ³ ³ ³ ³ ³ LineFeed (see ³ ³ ³ ³ ³ ³ Note) ³ ³ ³ ³ Content ³ m ³ coded character ³ none ³ none ³ ³ information ³ ³ string, T.6 ³ ³ ³ ³ ³ ³ string ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note - Graphic characters belong to the basic teletex repertoire. 6.5 Document profile The document profile level used in this document application profile is defined in Table 8/T.501. Every document interchanged in accordance with this document application profile must include a document profile. Every non-basic attribute value used in a document must be indicated in the document profile. Fascicle VII.7 - Rec. T.501 15 TABLE 8/T.501 Document profile attributes w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄ¿ ³ Attribute ³ Qual. ³ Permissible value ³ Comments ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Generic layout structure ³ nm ³ partial ³ presence of ³ ³ ³ Note 1 ³ ³ generic layout ³ ³ ³ ³ ³ structure ³ ³ ³ ³ ³ ³ ³ Specific layout structure ³ m ³ present ³ presence of ³ ³ ³ ³ ³ specific layout ³ ³ ³ ³ ³ structure ³ ³ ³ ³ ³ ³ ³ Document characteristics ³ M ³ ³ ³ ³ ³ ³ ³ ³ ³ Document application ³ m ³ mixed mode ³ ³ ³ profile ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Document architecture ³ m ³ FDA ³ formatted ³ ³ class ³ ³ ³ document ³ ³ ³ ³ ³ architecture ³ ³ ³ ³ ³ ³ ³ Content architecture ³ m ³ formatted character ³ ³ ³ classes ³ ³ and raster graphics ³ ³ ³ ³ ³ content architectures ³ ³ ³ ³ ³ ³ ³ ³ Interchange format ³ m ³ A ³ ³ ³ class ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Non-basic document ³ NM ³ ³ ³ ³ character ³ Note 2 ³ ³ ³ ³ ³ ³ ³ ³ ³ Alternative ³ nm ³ basic teletex ³ ³ ³ character sets ³ ³ graphic character set ³ ³ ³ ³ ³ ³ ³ ³ Page dimensions ³ nm ³ NA < (10200, 13200) ³ ³ ³ ³ ³ ISO A3 < (14030, 19840) ³ ³ ³ ³ ³ Japanese legal ³ ³ ³ ³ ³ < (12141, 17196) ³ ³ ³ ³ ³ Japanese letter ³ ³ ³ ³ ³ < (8598, 12141) ³ ³ ³ ³ ³ ³ ³ ³ Raster graphics ³ NM ³ ³ ³ ³ coding attributes ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Compression ³ nm ³ uncompressed ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 16 Fascicle VII.7 - Rec. T.501 TABLE 8/T.501 (cont.) w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄ¿ ³ Attribute ³ Qual. ³ Permissible value ³ Comments ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ wCharacter presentationw ³ NM ³ ³ ³ ³ wattributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Character path ³ nm ³ 270 ³ ³ ³ ³ ³ ³ ³ ³ wCharacterw ³ nm ³ 90 ³ ³ ³ worientationw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Character spacing ³ nm ³ 80, 100, 200 SMU ³ ³ ³ ³ ³ ³ ³ ³ Line spacing ³ nm ³ 150 SMU ³ ³ ³ ³ ³ ³ ³ ³ Graphic rendition ³ nm ³ proportional spacing ³ ³ ³ ³ ³ ³ ³ ³ Graphic character sets ³ nm ³ any registered graphic ³ ³ ³ ³ ³ character sets ³ ³ ³ ³ ³ ³ ³ ³ wRaster graphicsw ³ NM ³ ³ ³ ³ wpresentationw ³ ³ ³ ³ ³ wattributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Pel spacing ³ nm ³ 6, 3, 2 and 1 SMU ³ ³ ³ ³ ³ ³ ³ ³ wNon-basic structurew ³ NM ³ ³ ³ ³ wcharacterw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ wNumber of objectsw ³ nm ³ > 31 blocks/page ³ ³ ³ wper pagew ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note 1 - Present for documents including a partial generic layout structure. Note 2 - Present for documents including non-basic document characteristics. 6.6Interchange format The interchange format class used in this document application profile is "A", as defined in Recommendation T.415. ANNEX A (to Recommendation T.501) Fascicle VII.7 - Rec. T.501 17 Format of the values of the attributes "object identifier", "object class identifier", "object class" and "subordinates" The object identifiers of the specific layout object descriptions are composed of sequences of numbers, each of these numbers representing a particular level of the specific layout structure. 18 Fascicle VII.7 - Rec. T.501 The number assigned to the specific document layout root object description is "1". The subordinate pages have a second number which uniquely identifies a particular page. The delimiter between "1" and this second number is the "space" character. Example: "1 27" corresponding coding: w'31 20 32 37w'H The subordinate block identifiers are composed of the identifier of the page to which they belong extended with an additional number which uniquely identifies a particular block. The delimiter between the prefix derived from the page identifier and this additional number is the "space" character. Example: "1 27 5" corresponding coding: w'31 20 32 37 20 35w'H The generic structure of a document for mixed mode of operation is composed of a set of object class descriptions, some of them being structured. The first number of the object class identifier is always "0". The other number may be allocated as mentioned above for specific object identifiers for object class descriptions which are internally structured. Example: page class description composed of blocks, etc.... For independent object class descriptions, a second number is added to "0" with a "space" character as a delimiter. Examples: a) page class description with two block class descriptions page class description "0 5" coding: w'30 20 35w'H first block class description "0 5 0" coding: w'30 20 35 20 30w'H second block class description "0 5 1" coding: w'30 20 35 20 31w'H b) independent block class description block class description "0 25" coding: w'30 20 32 35w'H For both generic and specific structures, content portion identifiers are composed of the identifier of the object/object class to which the content portion belongs and an additional number which uniquely identifies a particular content portion. Examples: block description "1 27 5" coding: w'312032372035w'H content portion "1 27 5 6" coding: w'3120323720352036w'H associated with the block The value of the attribute "object class" is the complete identifier of the object class description concerned. The value of the attribute "generator for subordinates" is a sequence of complete identifiers of subordinate object class descriptions. The value of the attribute "subordinates" consists of a sequence of numbers, each of which indicates a subordinate object at the next lower level of the hierarchy. Each of these numbers is equal to the last number in the object identifier of the corresponding subordinate object. The value of the attribute "content portion" consists of a sequence of numbers, each of which indicates a content portion of that object. Each of these numbers is equal to Fascicle VII.7 - Rec. T.501 19 the last number in the content portion identifier. 20 Fascicle VII.7 - Rec. T.501