Recommendation T.503 A DOCUMENT APPLICATION PROFILE FOR THE INTERCHANGE OF GROUP 4 FACSIMILE DOCUMENTS 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 Content characteristics 6 Definition of the document application profile 6.1 Overview 6.2 Definition of document structure 6.3 Definition of attribute values 6.4 Content architectures Annex A - Format of the values of the attributes "object identifier". Fascicle VII.7 - Rec. T.503 1 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 group 4 facsimile documents that contain only raster graphics. Documents are interchanged in a formatted form, which enables the recipient to display or print the document as intended by the originator. 1.2 This Recommendation, together with designated parts of T.563, defines a document application profile that may be used by any telematic service. 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 group 4 facsimile 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 document application profile is designed to be independent of the means used to create or to interchange the encoded documents. 2.3 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) raster graphics layout and imaging features - these concern how the document content will appear within pages of the reproduced document; c) raster graphics coding - these concern the raster graphics representations and control functions that make up the document raster graphics content; 2.4 It is assumed that, when negotiation is performed by the service using this document applica- tion profile, all non- basic features are subject to negotiation. 3 References The following references are required in order to implement this Recommendation: - T.410 Series Recommendations: Open document architecture (ODA) and interchange format - Rec. T.6: Facsimile coding schemes and coding control functions for Group 4 facsimile apparatus - 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) 2 Fascicle VII.7 - Rec. T.503 - Rec. T.417: Open document architecture (ODA) and interchange format - raster graphics content architectures - Rec. T.563: Terminal characteristics for group 4 facsimile apparatus Fascicle VII.7 - Rec. T.503 3 4 Definitions The definitions in Recommendation T.411 apply to this Recommendation. 5 Characteristics supported by this document application profile 5.1 Overview A group 4 facsimile 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 document. Only one category of content is allowed within the same page, namely: raster graphics content (per Recommendation T.417) 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 Layout document structure A document is seen as a succession of pages. The content of a page is: raster graphics content architecture. 5.3.2 Document structure elements 5.3.2.1Page format 5.3.2.1.1The document is imaged in a text area which must be within the assured reproduction area. 5.3.2.1.2The dimensions of the assured reproduction area depend on the paper used. 5.3.2.1.3The possible paper formats are defined in Recommendation T.563. 5.3.2.1.4Only the vertical orientation of the page is permitted. 5.3.2.2Block Not applicable (the content is directly related to the page). 5.4 Content characteristics The group 4 facsimile document contains raster graphics in facsimile group 4 format. 5.4.1 Raster graphics content 5.4.1.1Raster graphics imaging The content of raster graphics is defined by the dimensions of the page and the number of pels per line, in accordance with Table 2/T.563. 5.4.1.2Pel spacing, line spacing and pel transmission density This property defines the distance between successive pels on a line and between successive line of pels. The basic value is 6 BMU, corresponding to 200 pels per 25.4 mm. It is also the default value. The non-basic values are 3, 4 and 5 BMU respectively, corresponding to 400, 300 and 240 pels per 25.4 mm. 5.4.2 Received 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. 4 Fascicle VII.7 - Rec. T.503 6 Definition of the document application profile 6.1 Overview 6.1.1 Document architecture level This document profile makes use of document architecture class FDA, as defined in Recommendation T.412. A document according to this document architecture profile includes a specific layout structure only. The document architecture level is defined in Tables 2/T.503, 3/T.503 and 4/T.503. The specific layout structure is always present in any document conforming to this document application profile. 6.1.2 Content architecture level The content architecture level that may be used in documents conforming to this document application profile is as follows: raster graphics formatted content architecture level, defined in Tables 5/T.503 and 6/T.503. The coding method to be used is that defined by Recommendation T.6. In addition, any non-basic features defined in Recommendation T.6 may be used, provided that they are indicated in the document profile. 6.1.3 Document profile level The document profile level used in this document application profile is defined in Table 1/T.503. 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. 6.1.4 Interchange format class The interchange format class used in this document application profile is "B", as defined in Recommendation T.415. 6.2 Definition of document structure 6.2.1 Specific layout structure The number of hierarchical levels is 2, namely: - document layout root; - page. The document layout root and page levels are mandatory. Only one content portion must be associated with each page. 6.2.2 Generic layout structure Not applicable. 6.3 Definition of attribute values The attributes applicable to layout components are defined in Table 2/T.503. The following notation is used in this table: --- attribute not application to object description m mandatory attribute nm non-mandatory attribute d defaultable attribute Capital letters (M, NM and D) are used for groups of attributes. The allowable attribute values for object descriptions are defined in Table 3/T.503. Fascicle VII.7 - Rec. T.503 5 TABLE 1/T.503 Document profile attributes w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Class ³ Permissible value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Document profile descriptor ³ M ³ ³ ³ ³ ³ ³ ³ Specific layout structure ³ m ³ Present ³ ³ ³ ³ ³ ³ Document characteristics ³ M ³ ³ ³ ³ ³ ³ ³ Document application ³ m ³ Group 4 fax ³ ³ profile ³ ³ ³ ³ ³ ³ ³ ³ Document architecture ³ m ³ Formatted ³ ³ class ³ ³ ³ ³ ³ ³ ³ ³ Non-basic document ³ ³ ³ ³ characteristics ³ NM ³ ³ ³ ³ ³ ³ ³ Page dimensions ³ nm ³ North American = (10200, 13200 fixed ³ ³ (see Note 1) ³ ³ or variable) ³ ³ ³ ³ ISO B4 = (11811, 16677 fixed or variable) ³ ³ ³ ³ ISO A3 = (14030, 19840 fixed or variable) ³ ³ ³ ³ Japanese legal = (12141, 17196 fixed or ³ ³ ³ ³ variable) ³ ³ ³ ³ Japanese letter = (8598, 12141 fixed or ³ ³ ³ ³ variable) (see Note 2) ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Raster graphics coding ³ NM ³ ³ ³ attributes ³ ³ ³ ³ ³ ³ ³ ³ Compression ³ nm ³ Uncompressed ³ ³ ³ ³ ³ ³ Raster graphics ³ NM ³ ³ ³ presentation attributes ³ ³ ³ ³ ³ ³ ³ ³ Pel transmission ³ ³ ³ ³ density ³ nm ³ 5 BMU (240 pels/25.4 mm) ³ ³ ³ ³ 4 BMU (300 pels/25.4 mm) ³ ³ ³ ³ 3 BMU (400 pels/25.4 mm) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note 1 - This dimension attribute is represented as a data element which consists of two integers. The two integers specify width and height of a page in basic measurement units (BMUs). Note 2 - An indefinite page length is represented by a variable measure in the vertical dimension. The value of this data is then arbitrary and should be the nominal page length. 6 Fascicle VII.7 - Rec. T.503 TABLE 2/T.503 Attributes applicable to layout components w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Document ³ Page ³ ³ ³ layout root ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ wShared attributesw ³ ³ ³ ³ ³ ³ ³ ³ Object type ³ m ³ m ³ ³ ³ ³ ³ ³ Object identifier ³ nm ³ nm ³ ³ ³ ³ ³ ³ Content portions ³ --- ³ nm ³ ³ ³ ³ ³ ³ Default value lists ³ nm ³ --- ³ ³ ³ ³ ³ ³ wLayout attributesw ³ ³ ³ ³ ³ ³ ³ ³ Presentation attributes ³ --- ³ d ³ ³ ³ ³ ³ ³ Dimensions ³ --- ³ d ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÙ TABLE 3/T.503 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 ³ ³ ³ ³ ³ ³ ³ ³ ³ Object identifier ³ As defined in ³ ³ ³ ³ ³ Rec. T.412 ³ None ³ None ³ ³ ³ (see also Annex A) ³ ³ ³ ³ ³ ³ ³ ³ ³ Content portions ³ As defined in ³ None ³ None ³ ³ ³ Rec. T.412 ³ ³ ³ ³ ³ ³ ³ ³ ³ Default value lists ³ See Table 4/T.503 ³ None ³ None ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ wLayout attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Presentation ³ See Table 5/T.503 ³ ³ ³ ³ attributes ³ ³ ³ ³ ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Fascicle VII.7 - Rec. T.503 7 TABLE 3/T.503 (end) w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Basic value ³ Default ³ Non-basic ³ ³ ³ ³ value ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Dimensions ³ Horizontal = 9920 BMU³ Horizontal ³ North American ³ ³ (see Note 1) ³ ³ = 9920 ³ = (10200, 13200) ³ ³ ³ ³ ³ ³ ³ ³ Vertical = 14030 BMU ³ Vertical = 14030³ ISO B4 = (11811, 16677)³ ³ ³ (see Note 2) ³ BMU (see Note 3)³ ISO A3 = (14030, 19840)³ ³ ³ ³ ³ Japanese legal ³ ³ ³ ³ ³ = (12141, 17196) ³ ³ ³ ³ ³ Japanese letter ³ ³ ³ ³ ³ = (8598, 12141) ³ ³ ³ ³ ³ (see Note 2) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Note 1 - This dimension attribute is represented as a data element which consists of two integers. The Two integers specify width and height of a page in basic measurement units (BMUs). Note 2 - Width is indicated by fixed measure, and at the same time height is indicated by either fixed or variable measure. The use of variable measure for height indication depends on each application, for example, real time scanning, fixed printing paper, etc. Therefore, for example, when a transmitting terminal requests to use variable measure for height indication, a receiving terminal will accept variable measure for height indication even though the receiving terminal adopts cut sheet paper (fixed size paper) for printing. Note 3 - Both width and height are indicted by fixed measures. TABLE 4/T.503 Defaultable attributes that may be specified in a default value list of the document layout root w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Object type ³ Defaultable attributes ³ ³ ³ that can be specified ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Page ³ Presentation attributes ³ ³ ³ Dimensions ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 6.4 Content architectures 8 Fascicle VII.7 - Rec. T.503 The following raster graphics content architecture level is used in this document application profile. Fascicle VII.7 - Rec. T.503 9 6.4.1Raster 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. The presentation attributes that may be used are defined in Table 5/T.503. TABLE 5/T.503 Presentation attributes w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Basic value ³ Default ³ Non-basic ³ ³ ³ ³ value ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Content type ³ Formatted raster ³ Formatted raster³ None ³ ³ ³ graphics content ³ graphics content³ ³ ³ ³ architecture ³ architecture ³ ³ ³ ³ ³ ³ ³ ³ wRaster graphicsw ³ ³ ³ ³ ³ wattributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Pel path ³ 0ø ³ 0ø ³ None ³ ³ ³ ³ ³ ³ ³ Line progression ³ 270ø ³ 270ø ³ None ³ ³ ³ ³ ³ ³ ³ Pel transmission ³ ³ ³ ³ ³ density ³ 6 BMU ³ 6 BMU ³ 5 BMU (240 pels/25.4 mm) ³ ³ ³ (200 pels/25.4 mm) ³ ³ 4 BMU (300 pels/25.4 mm) ³ ³ ³ ³ ³ 3 BMU (400 pels/25.4 mm) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 6.4.2Coding attributes Attributes applicable to content portions are defined in Table 6/T.503. TABLE 6/T.503 Attributes applicable to content portions w ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄ¿ ³ Attribute ³ Qualifier ³ Basic value ³ Default ³ Non-basic ³ ³ ³ ³ ³ value ³ value ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Content identifier ³ nm ³ As defined in ³ None ³ None ³ ³ layout ³ ³ Rec. T.412 ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Type of coding ³ d ³ T.6 ³ T.6 ³ None ³ ³ ³ ³ ³ ³ ³ ³ wRaster graphicsw ³ ³ ³ ³ ³ ³ wcoding attributesw ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ Number of pels ³ d ³ As defined in ³ As defined in ³ None ³ ³ per line ³ ³ Table 3/T.563 ³ Table 3/T.563 ³ ³ ³ ³ ³ ³ ³ ³ ³ Compression ³ d ³ Compressed ³ Compressed ³ Uncompressed ³ 10 Fascicle VII.7 - Rec. T.503 ³ ³ ³ ³ ³ ³ ³ Number of ³ d ³ As defined in ³ As defined in ³ None ³ ³ discarded pels ³ ³ Table 3/T.563 ³ Table 3/T.563 ³ ³ ³ ³ ³ ³ ³ ³ ³ Content information ³ m ³ T.6 string ³ None ³ None ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Fascicle VII.7 - Rec. T.503 11 ANNEX A (to Recommendation T.503) Format of the values of the attributes "object identifier" 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. 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. Examples: "1 27" corresponding coding: w'31 20 32 37w'H where character w'1w' is coded 03/01 or 31 in hexadecimal where character w'spacew' is coded 02/00 or 20 in hexadecimal where character w'2w' is coded 03/02 or 32 in hexadecimal and where character w'7w' is coded 03/07 or 37 in hexadecimal Content portion identifiers are composed of the identifier of the page to which the content portion belongs and an additional number which identifies the content portion. Examples: page description "1 27" coding:w'31203237w'H content portion associated with the page "1 27 1" coding:w'312032372031w'H (optional) The value of the attribute "content portions" consists of a single number, which indicates the content portion of that object. This number is equal to the last number in the content portion identifier. 12 Fascicle VII.7 - Rec. T.503