WPC 2%.Bpz W"S^11>bbu"::Dg1:11bbbbbbbbbb11gggbuuuk1Xubuukuuuk111Rb:bbXbb1bb''X'bbbb:X1bXXXX;.;g:=::m:::mmmmm::::::mm:k1mubububububXubububub11111111bbbbbbbbbuXubbkbuXmmmmumububXXXXbububububbmbbbbbb:k:k::=kmmX:uXb'b:b:b:b'bmbbbb:::uXuXuXuXk:k:k:mbbbmbuXkXkXKQmmmm^b:kbbbbmbA@mmbmmbmmmmmmm:b:mmmbbmmmmmmmmmmmmXXmmmmmmmmmmmmmmmmmmcm`m`mm`m:mmmmmm}}}mjjmmmmmmmmmmmmmmm0mm}mmmmmmmmmmmmmmmmmmmmmmm}Mmmmmmmmmmmmmjmmmtmmmmmmmmm`'mmm`mmjmlWmmmmmmmmmmmmmmmmmmmW`mmmmjmM#|xaHelveticaCourierCourier Bold4PkCQMS PS Jet Plus /800 II QPJPII.PRSPl`D4PkCg2W _a.s|x-HelveticaCourierHelveticaCourierCourier BoldHelvetica BoldmQrrr r  @C2M.IzPw@ ,`H1`D4PkCmQrrr r  @CmQrrrr  `C"S^1:Sbb1::Dg1:11bbbbbbbbbb::gggkuk1bkuukuuuk:1:gb1bkbkb:kk11b1kkkkDb:kbbbXD1Dg:=::r:::rrrrr::::::rr:k1rbbbbbbubububub11111111kkkkkkkkkubbkkkubrrrrrbbbbbbkububububkrkkkkkk:k:k::=krrb:bk1k:k:k:k1krkkkkDDDububububk:k:k:rkkkrkubkXkXKQrrrrbb:kbbbbrbA@rrbrrbrrrrrrrXb::rrbbrrrrrrrrrrrrkkrrrrrrrrrrrrrrrrrrcr`r`rr`r:rrrrrr}}}rjjrrrrrrrrrrrrrrr0rr}rrrrrrrrrrrrrrrrrrrrrrr}Mrrrrrrrrrrrrjrrrtrrrrrrrrr`'rrr`rrjrlWrrrrrrrrrrrrrrrrrrrW`rrrrjrM@ ,`H1`D4PkCmQrrr r  @CmQrrrr  `C@,dK1dD4p}wC2.'  x"S^"55U@ %8 55555555558885a@@EE@;KE0@5PEK@KE@;E@[@@;-5 55055550P5555 050E000  8 " m mmmmm mm ;m@5@5@5@5@5`UE0@5@5@5@5E5K5K5K5K5E5E5E5E5@0@5E5K;K5@0mmmmmm@5@5E0E0E0E0E5@5@5@5@5K5mmK5K5K5K5E5E5 ; ; ";mm0 @055 5 5 5E5mmE5E5K5K5`[E E E @0@0@0@0; ; ; mmE5E5E5mmE5[E@0;0;0K,mmmm45 ;5555m5$#mm5mmLL5mmmmmmm 5` mmm55Ummmmmmmmmmmm00`mmmmmmmmmmmmmmmmmm`cm5m5mm5m mmmmmJmDDDm::mdmmmmmmmmmmmmmmmmDmmmmmmmmmmmm__mmdmmmmmmmmmD*Ommmmmmmmmmmm:mmm?mmmmmmmmm5'mmm5mm:m;/mmmmmmmmmmmmmmmmmmm/H5Jmmmm:m*@ ,`H1`D4PkCmQrrr r  @CmQrrrr  `C@,dK1dD4p}wC@H4': 4D4PkC@ ,`H1`D4PkCmQrrr r  @CmQrrrr  `C@,dK1dD4p}wC@H4': 4D4PkC;,>>> >  @C2  X` hp x (#%'HP ,x--h.    3'3'Standard6'6'StandardC6QMS $=R- y:(  x|@   Fascicle VII.6 Rec. T.417 y:- x|@  Fascicle VII.6 Rec. T.417    Recommendation T.417  OPEN DOCUMENT ARCHITECTURE (ODA) AND INTERCHANGE FORMAT ă *  RASTER GRAPHICS CONTENT ARCHITECTURES 1)ă &CONTENTS 1HScope 2HNormative references 3HDefinitions 4HGeneral principles H4.1  Content architectures H4.2  Content H4.3  Presentation attributes H4.4  Content portion attributes H4.5  Coding of content information H4.6  Picture element (pel) array 5HPrinciples of positioning pels H5.1  Basic concepts H5.2  Pel image model H5.3  Positioning of pels H5.4  Positioning of pels in a basic layout object 6HDefinition of raster graphics presentation attributes H6.1  Shared presentation attributes H6.2  Layout presentation attributes H6.3  Logical presentation attributes H6.4  Content architecture class attributes 7HDefinition of raster graphics content portion attributes H7.1  Common coding attributes H7.2  Coding attributes H7.3  Content information attributes H7.4  Interactions with document architecture attributes  8HFormal definitions of raster graphics content architecture dependent data types H8.1  Introduction H8.2  Representation of presentation attributes H8.3  Representation of coding attributes H8.4  Representation of nonbasic features and nonstandard defaults 9HCoding schemes H9.1  Group 4 facsimile encoding scheme H9.2  Group 3 facsimile encoding scheme H9.3  Bitmap encoding scheme   HH1)HThis text is aligned with the final text of the corresponding International Standard ISO86137.'H ) 10HContent layout process H10.1  Introduction H10.2  Notation H10.3  The fixed dimension content layout method H10.4  The scalable dimension content layout method 11HContent imaging process H11.1  Introduction H11.2  Content imaging process for formatted form H11.3  Content imaging process for formatted processable form 12HDefinition of raster graphics content architecture classes H12.1  Summary of raster graphic presentation attributes H12.2  Summary of raster graphic content portion attributes AnnexA HSummary of raster graphic content architecture classes  HHX HAnnexB HRecommendations for the development of raster graphics content architecture levels in document application profiles' 1 H Scope  1.1HThe purpose of the T.410Series of Recommendations is to facilitate the interchange of documents.  HIn the context of the T.410Series, documents are considered to be items such as memoranda, letters, invoices, forms and reports, which may include pictures and tabular material. The content elements used within the documents may include graphic characters, geometric graphic elements and raster graphic elements, all potentially within one document.  HNote The T.410Series of Recommendations is designed to allow for extensions, including typographical features, colour, spreadsheets and additional types of content such as sound.  1.2HThe T.410Series applies to the interchange of documents by means of data communications or the exchange of storage media.  HThe T.410Series provides for the interchange of documents for either or both of the following purposes: H to allow presentation as intended by the originator; H to allow processing such as editing and reformatting. HThe composition of a document in interchange can take several forms: H formatted form, allowing presentation of the document; H processable form, allowing processing of the document; H formatted processable form, allowing both presentation and processing.  HThe T.410Series also provides for the interchange of ODA information structures used for the processing of interchanged documents.  HFurthermore, the T.410Series allows for the interchange of documents containing one or more different types of content such as character text, images graphics and sound. 1.3HThis Recommendation defines:  H the raster graphics content architectures that can be used in conjunction with the document architecture defined in Recommendation T.412;'  H the internal structure of content portions that are structured according to a raster graphics content architecture;'  H those aspects of positioning and imaging applicable to the presentation of raster graphics contents in a basic layout object;' )  H a content layout process which, together with the document layout process defined in Recommendation T.412, specifies the method for determining the dimensions of basic layout objects for raster graphics content portions;'  H the presentation and content portion attributes applicable to raster graphics content architectures.' 2 H Normative references  HThe following Recommendations and International Standards contain provisions which, through references in this text, constitute provisions of the T.410Series of Recommendations. At the time of publication the editions indicated were valid. All standards are subject to revision, and parties to agreements based upon the T.410Series of Recommendations are encouraged to investigate the possibility of applying the most recent editions of the standards listed below. Members of ISO and IEC maintain registers of currently valid International Standards.  H Rec. T.4 (1988): Standardization of group 3 facsimile apparatus for document transmission.'  HH©X Rec. T.6 (1988): Facsimile coding schemes and coding control functions for group 4 facsimile apparatus.' H Rec. X.208 (1988): Specification of abstract syntax notation one (ASN.1).' 3 H Definitions  HFor the purpose of this Recommendation, the definitions given in Recommendation T.411 apply. 4 H General principles 4.1HContent architectures  HThis Recommendation defines two classes of raster graphics content architectures:  H formatted raster graphics content architecture class, which allows for document content to be presented as intended by the originator. Formatted form content can only be associated with basic components;'  H formatted processable raster graphics content architecture class, which allows for document content to be processed and also to be presented as intended by the originator. Formatted processable content can be associated with any basic logical component.' 4.1.1HFormatted content architecture class  HFormatted raster graphics content is intended to be laid out, or imaged by the recipient in accordance with the originatorw's intent. It is not intended to be reformatted. This form of content may only be used in formatted form documents.  HFor this form of content, all the necessary information for positioning of pels has been specified. The method of positioning is specified in Section 5.  HA particular feature of this form of content is that the position of the pel array can be offset relative to the position of the basic layout object. As a result, it is possible that not all of the area of the basic layout object is utilized for positioning pels. Also a portion of the pel array may be positioned such that it is outside the basic layout object. Such a portion, if any, is not imaged. % 4.1.2HFormatted processable content architecture class  HFormatted processable raster graphics content is intended to be laid out, reformatted or imaged by the recipient in accordance with the originatorw's intent. This form of content may be used in formatted processable and formatted processable form documents.  HThe originator may, when using this form of content, specify the precise requirements for the layout and imaging of the pel array. Alternatively, the originator may specify various constraints concerning the intended layout and imaging of the pel array, i.e. the precise requirements are not specified and the layout is determined by the content layout process performed by the recipient.  HWhen the precise requirements for the layout are specified, the fixed dimension layout method is used to layout and image the content. Otherwise, the content is laid out and imaged using the scalable dimension layout method. These layout methods are defined in Section 10.  HA particular feature of these layout methods is that in both cases the content is laid out such that the entire basic layout object is utilized. In addition it is possible to specify that only a portion of the pel array is to be laid out. 4.2HContent  HThe content of a basic component that conforms to a raster graphics content architecture represents a twodimensional pictorial image in the form of a rectangular twodimensional array of picture elements (pels).  HEach element of a pel array comprises data used to determine the image of the corresponding pel. HEach basic component contains exactly one content portion.  HThe data which determines the image of a pel specifies one of two states, named "set" and "unset". The set state is used to identify the foreground colour and the unset to identify the background colour. The representation of foreground and background within an image is not defined by this Recommendation.  HNote1For reproduction on paper, the background colour will normally be the colour of the paper, for instance white, and the foreground colour a contrasting colour, for instance black.  HNote2A future version of this Recommendation may allow specification of more information for each pel, enabling the representation of multicolour images. 4.3HPresentation attributes  HPresentation attributes are applicable to basic components and specify information for laying out and imaging the content of the basic component, and are defined in Section 6. This information cannot be modified within the content of the basic component to which it applies. 4.4HContent portion attributes  HContent attributes are applicable to content portions and specify information related to the identification and coding of the content. They are also used in laying out and imaging the content of the content portion. Content portion attributes are defined in Section 7. 4.5HCoding of content information  HThe methods of encoding the pel array in a content portion structured according to a raster graphics content architecture are specified in Section 9. 4.6HPicture element (pel) array  HThe picture elements in an array have a defined order. The array consists of an ordered sequence of rows of picture elements. Each row in the array contains the same number of picture elements and consists of an ordered sequence of picture elements that represents a line of the image.  ' 5 H Principles of positioning pels  HThe methods of positioning pels within a basic layout object are described in this section. One of these applies to content portions which pertain to the formatted form content architecture. The other applies to content portions which pertain to the formatted processable form content architecture.  HThe general principles of positioning that apply to both these methods are described in 5.4.1, 5.4.2 and 5.4.3 then describes the specific principles that apply to the formatted and formatted processable forms of content.  HA basic logical component with a formatted processable form content architecture class must undergo the content layout process before it can be positioned and imaged. The content layout process (defined in Section 10) determines the block size into which the content portion is to be imaged. The content is then positioned in accordance with the positioning rules for content pertaining to the formatted processable form content architecture class.  HAny parts of a raster graphics content portion which extend beyond the boundaries of the basic layout object are not imaged. 5.1HBasic concepts 5.1.1HMeasurement units and directions  HFor raster graphics content, the unit for positioning pels is the Scaled Measurement Unit (SMU).  HThe SMU is derived from the Basic Measurement Unit (BMU) by multiplying the BMU with a factor which is specified by the attribute "unit scaling" (defined in Recommendation T.414). The BMU and SMU are defined in Recommendation T.412 (3.3.4.1 and 3.3.4.2 respectively).  HAll directions are expressed as counter clockwise angles of rotation relative to some specified reference direction (as illustrated in Figure 1/T.417). #FIGURE 1/T.417 *  Example of direction ă 5.1.2HCoordinate systems HTwo rectangular coordinate systems are used in the positioning of pels.  HOne system is a dimensionless coordinate system used to identify the pels that constitute a clipped pel array (defined in 5.3.1). In this system, the origin of the coordinate system is positioned at the first pel in the pel array. One axis is in the direction of the pels in each row of pels. The second axis is in the direction of the columns of pels. This system uses nonnegative dimensionless integer values and coordinate pairs are denoted using upper case letters.   HThe second system is used for the positioning of pels associated with basic layout objects. In this system, one axis is parallel to the horizontal axis of the page coordinate system (defined in Recommendation T.412) and the other axis is in a direction 270 degrees relative to the horizontal axis. This system uses rational values in scaled measurements units (SMUs) to identify points or specify lengths within a basic layout object. Coordinate pairs are indicated in lower case letters. 5.2HPel image model  HEach pel is associated with a reference area. The side of the reference are along the direction of the pel path equals the pel spacing and the side along the direction of line progression equals the line spacing.  HEach reference area has a reference point, which is used for positioning the pel. The reference point is defined as the corner of the reference area situated in the opposite direction of both pel path and line progression. The position of a pel in a basic layout object is defined as the position of reference point of the reference area of that pel.  HNote The position of the image of the pel relative to the reference area is implementation dependent, but it is the intention that the main part of the image of pel is positioned within the reference area. 5.3HPositioning of pels  HIn general, when positioning (and subsequently imaging) the content of a content portion in relation to a basic layout object, only part of the content is considered. Two methods of selecting the required part of the content are provided: H specification of a clipped pel array; H discarding of pels. 5.3.1HThe clipped pel array  HThe clipped pel array is a rectangular array of pels defined by two coordinate pairs in the dimensionless coordinate system. The diagonally opposite pairs of the clipped pel array are identified by the coordinate pairs (XI, Y1) and (X2, Y2) where X1 <= X2 and Y1 <= Y2. Figure 2/T.417 illustrates the clipping of a content portion. #FIGURE 2/T.417 *  Example of clipping a content portion ă  5.3.2HDiscarded pels  HIn the formatted raster graphics content architecture class, the number of pels to be discarded at the beginning and the end of each line of pels can be specified by a coding attribute. 5.4HPositioning of pels in a basic layout object 5.4.1HPositioning parameters  HThe positioning of pels within a basic layout object is determined by the following parameters (illustrated in Figure 3/T.417): H initial point; H pel path; H line progression; H pel spacing; H line spacing.  HThe values of these parameters remain constant within the content associated with a particular basic layout object.  HThe general use of these parameters when positioning pels is described below and illustrated in Figure 3/T.417. The particular applicability of these parameters to formatted and formatted processable form content is described in 5.4.2 and 5.4.3 respectively. #FIGURE 3/T.417  Positioning of pels of the clipped pel ă  array within a basic layout object ă HNoteIn the following text, various subsection titles have been omitted.  HThe initial point is the point relative to which all pels are positioned within a basic layout object.  HThe value of the initial point is a coordinate pair (x, y), where x and y are the horizontal and vertical distances respectively, of the initial point from the reference point of the basic layout object.   HThe pel path is the direction of progression of successive pels along a line and is expressed as a direction relative to the horizontal axis of the page coordinate system (as defined in Recommendation T.412).  HLine progression is the direction of progression of successive lines and is expressed as a direction relative to the pel path.  HLines of pels are positioned such that the first pel to be positioned on each line falls on an imaginary line through the initial point in the direction of line progression.  HThe pel spacing is the distance between two adjacent pels along a line, in the direction of pel path.  HThe line spacing is the distance between two adjacent lines of pels. The line spacing may be less than, greater than or equal to the pel spacing.  HThe spacing ratio is defined as the ratio of the line spacing to pel spacing.  HThe aspect ratio of a clipped pel array that has been positioned in a basic layout object is defined as the ratio of the dimension of the pel array in the direction of pel path to the dimension in the direction of line progression. HThe first pel of the clipped pel array is positioned at the initial point.  HEach pel on first line is positioned along a line through the initial point in the direction of the pel path.  HThe first pel of each line is positioned along a line through the initial point in the direction of line progression. 5.4.2HPositioning rules for formatted form content  HFor this form of content, the positioning parameters are explicitly specified by applicable presentation attributes (see Section 6).  HIt is not possible to define a clipped pel array when using this form of content. However, a coding attribute can be used to indicate that a specified number of pels are to be discarded at the beginning and end of each line of the content portion. In this case, only the remaining pels in the content position are considered for positioning.  HThe line spacing and pel spacing are both specified by the same presentation attribute, and take the same value form the limited set of values specified in 6.2.2.  HThe initial point can be positioned anywhere inside or outside of the basic layout object. Its default position (see 6.2.1) is the corner of the basic layout object in the direction opposite of both pel path and line progression.  HAll the pels within a content portion are to be considered for positioning (apart from any pels that are to be discarded). However, pels that would be positioned outside of the basic layout object are not to be imaged by the imaging process. 5.4.3HPositioning rules for formatted processable content  HFor this form of content, the positioning parameters are determined from information specified in presentation and coding attributes and from the dimensions of the basic layout object.  HThe clipped pel array is specified by a presentation attribute, which selects the portion of the content portion to be positioned.  HThe pel path and line progression are explicitly specified by separate presentation attributes. The initial point is determined from the pel path and line progression specified, such that it is situated in the corner of the basic layout object in the opposite direction of both pel path and line progression (see 6.2.1); other values for the initial point cannot be specified. %  HThe pel spacing is set to be equal to the dimensions of the basic layout object in the direction of the pel path divided by the number of pels per line in the clipped pel array. Similarly, the line spacing is set to be equal to the dimensions of the basic layout object in the direction of line progression divided by the number of lines in the clipped pel array.  HThus the clipped pel array is positioned within the basic layout object such that the reference areas of all the pels completely fill the basic layout object. None of the pels in the clipped pel array can be positioned outside of the basic layout object. 6 H Definition of raster graphics presentation attributes  HPresentation attributes specify the initial conditions relating to the layout and imaging of the content of a basic component. They may be specified for basic logical and layout components and for presentation styles. HThere are three categories of raster graphics presentation attributes:  H logical presentation attributes which take effect during the content layout process, but are ignored during the content imaging process;'  H layout presentation attributes which take effect during the content imaging process. Their values are generated either by the content layout process, or by a process that creates or edits the content;'  H shared presentation attributes which take effect during either or both the content layout and imaging process.' HThese attributes are listed in Table 1/T.417.  HFor each presentation attribute a default value is defined. This value is used in the defaulting mechanism as defined in Recommendation T.412.  HThis section also defines values for the content architecture attributes specific to raster graphics content architectures. These attributes are defined in Recommendation T.412. $TABLE 1/T.417 *  Raster graphics presentation attributes ă   x|@ w      Shared attributes  Layout attributes     Pel path  Pel transmission density        Line progression  Initial offset        Clipping         Logical attributes                Pel spacing         Spacing ratio         Image dimensions         X*   HP ,x--h.Xp $%%p&6.1XShared presentation attributes 6.1.1X clipping XCATEGORY:p Shared XAPPLICABILITY: "Formatted processable content architecture class XSTRUCTURE:p First coordinate pair:35X coordinate, X p ""5Y coordinate X p Second coordinate pair:45X coordinate, X p ""5Y coordinate XPERMISSIBLE VALUES: First coordinate pair:35nonnegative integer, X p ""5nonnegative integer X p Second coordinate pair:45nonnegative integer, X p ""5nonnegative integer Xp $%%p&Xp $%%p& XDEFAULT VALUES: First coordinate:.5(0,0) X p Second coordinate.5(N1, L1) where: X p N is the number of pels per line, X p L is the number of lines XDEFINITION:  XThis attribute determines the subregion of the pel array, as described by the content portion, which is to be considered by the content layout process and the content imaging process.  XThis attribute consists of two coordinate pairs. The first pair specifies the first pel that is part of the selected array. The second pair specifies the last pel that is part of the selected array. XREMARKS:  XEach coordinate of the first pair must be less than or equal to the corresponding coordinate of the second pair. 6.1.2X line progression XCATEGORY:p Shared  XAPPLICABILITY: Formatted and formatted processable content architecture classes XPERMISSIBLE VALUES: 90, 270 degrees XDEFAULT VALUES: 270 degrees XDEFINITION:  XThis attribute specifies the direction of the progression of successive lines, relative to the pel path. 6.1.3X pel path XCATEGORY:p Shared  XAPPLICABILITY: Formatted and formatted processable content architecture classes XPERMISSIBLE VALUES: 0, 90, 180, 270 degrees XDEFAULT VALUES: 0 degrees XDEFINITION:  XThis attribute specifies the direction of the progression of successive pels along a line, relative to the horizontal axis of the basic layout object. >0  Xp $%%p&Xp $%%p&6.2XLayout presentation attributes 6.2.1X initial offset XCATEGORY:p Layout XAPPLICABILITY: "Formatted content architecture class XSTRUCTURE:p Two parameters:,-horizontal coordinate, X p ""*vertical coordinate XPERMISSIBLE VALUES: Horizontal coordinate: any integer X p Vertical coordinate: any integer  XDEFAULT VALUES: The default value of this attribute depends on the pel path and line progression as defined in Table 2/T.417. XDEFINITION:  XThis attribute specifies the position of the initial point relative to the basic layout object.  XThe parameters "horizontal coordinate" and "vertical coordinate" specify the horizontal and vertical coordinates, in SMUs, of the initial point relative to the reference point of the basic layout object. The value of each coordinate may be positive, zero or negative; if either or both coordinates are negative then the initial point will be outside the basic layout object.  XNote The facility to specify negative coordinate values for the initial point is intended only for use with content architectures based on CCITT Recommendation T.73, such as RF1 (see AnnexB), which provide no other clipping mechanism. $TABLE 2/T.417 *  Default values of the presentation attribute "initial offset" ă  (position of initial point) ă   Xp $%%p&Xp w      Pel  Line  Horizontal  Vertical    path  progression  coordinate  coordinate     0  270  0  0     90  0  BDV    270  270  BDH  0     90  0  0    180  270  BDH  BDV     90  BDH  0    90  270  0  BDV     90  BDH  BDV       Xp Xp $%%p& XNote The notation used in this table is: XBDV = vertical dimension of block; XBDH = horizontal dimension of block. 6.2.2X pel transmission density XCATEGORY:p Layout XAPPLICABILITY: "Formatted content architecture class XPERMISSIBLE VALUES: 1, 2, 3, 4, 5, 6, BMU XDEFAULT VALUES: 6 BMU XDEFINITION:  XThis attribute specifies a single value for both the pel spacing and line spacing.