home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD2.mdf / ccitt / 1992 / t / t502.asc < prev    next >
Text File  |  1991-12-31  |  158KB  |  3,383 lines

  1.  
  2.          IMPORT       
  3.          R:\\ART\\W   INTERNATIONAL  TELECOMMUNICATION  UNION
  4.          MF\\ITU.WM   
  5.          F       \* 
  6.          mergeforma   
  7.          t              
  8.  
  9.  
  10.  
  11.                     CCITT              T.502
  12.                     THE  INTERNATIONAL
  13.                     TELEGRAPH  AND  TELEPHONE
  14.                     CONSULTATIVE  COMMITTEE
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                     TERMINAL  EQUIPMENT  AND  PROTOCOLS
  21.                     FOR  TELEMATIC  SERVICES  
  22.  
  23.  
  24.                     DOCUMENT  APPLICATION  PROFILE  PM-11
  25.                     FOR  THE  INTERCHANGE  OF  CHARACTER
  26.                     CONTENT  DOCUMENTS  IN  PROCESSABLE
  27.                     AND  FORMATTED  FORMS
  28.  
  29.  
  30.  
  31.  
  32.                     Recommendation  T.502
  33.  
  34.  
  35.          IMPORT      Geneva, 1991
  36.          R:\\ART\\   
  37.          WMF\\CCIT   
  38.          TRUF.WMF    
  39.          \*          
  40.          mergeform   
  41.          at            
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.          Printed in Switzerland
  82.  
  83.  
  84.                                               FOREWORD
  85.                The  CCITT  (the  International  Telegraph   and   Telephone   Consultative
  86.          Committee) is a permanent organ  of  the  International  Telecommunication  Union
  87.          (ITU).  CCITT  is  responsible  for  studying  technical,  operating  and  tariff
  88.          questions and issuing Recommendations  on  them  with  a  view  to  standardizing
  89.          telecommunications on a worldwide basis.
  90.                The Plenary Assembly of CCITT which meets  every  four  years,  establishes
  91.          the topics for study and approves Recommendations prepared by its  Study  Groups.
  92.          The  approval  of  Recommendations  by  the  members  of  CCITT  between  Plenary
  93.          Assemblies is covered by the procedure  laid  down  in  CCITT  Resolution  No.  2
  94.          (Melbourne, 1988).
  95.                Recommendation T.502 was prepared by Study  Group  VIII  and  was  approved
  96.          under the Resolution No. 2 procedure on the 18 of January 1991.
  97.  
  98.  
  99.                                         ___________________
  100.  
  101.  
  102.                                        CCITT  NOTE
  103.                In  this  Recommendation,  the  expression  "Administration"  is  used  for
  104.          conciseness to indicate both a telecommunication Administration and a  recognized
  105.          private operating agency.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.                                             F  ITU  1991
  116.          All rights reserved. No part of this publication may be reproduced or utilized in
  117.          any form or by any means, electronic or mechanical,  including  photocopying  and
  118.          microfilm, without permission in writing from the ITU.
  119.           PAGE BLANCHE
  120.          RecommendationT.502
  121.          Recommendation T.502
  122.                         DOCUMENT  APPLICATION  PROFILE  PM-11  FOR  THE  INTERCHANGE
  123.                            OF  CHARACTER  CONTENT  DOCUMENTS  IN  PROCESSABLE  AND
  124.                                               FORMATTED  FORMS
  125.                                            (revised 1990)
  126.          0      Introduction
  127.                This is the definition of an ODA document application profile  (DAP)  named
  128.          PM-11. This profile is suitable for interchanging documents  in  formatted  form,
  129.          processable form or formatted processable form and has been defined in accordance
  130.          with [ISO 8613-1/CCITT Recommendation T.411]. The format of this  profile  is  in
  131.          accordance with the standardized proforma  and  notation  defined  in  the  draft
  132.          addendum to [CCITT Recommendation T.411 ISO 8613-1] Annex F (to be published).
  133.          1      Scope and field of application
  134.                This profile specifies interchange formats for the transfer  of  structured
  135.          documents between equipment  designed  for  word  or  document  processing.  Such
  136.          documents may contain character content.
  137.                This Recommendation  PM-11  is  the  replacement  of  Recommendation  T.502
  138.          (1988). The documents that can be interchanged  using  this  profile  range  from
  139.          memos and letters  to  simple  structured  documents.  This  profile  provides  a
  140.          comprehensive level of features for  the  transfer  of  documents  between  these
  141.          systems.
  142.                This profile allows documents to be interchanged in the following forms:
  143.                ù   formatted form;
  144.                ù   processable form;
  145.                ù   formatted processable form.
  146.                The architecture  levels  defined  for  these  three  forms  have  matching
  147.          functionalities so that the interchange formats of  a  document  are  convertible
  148.          from a processable form to any other form.
  149.                This profile is independent of the processes carried out in an  end  system
  150.          to create, edit or reproduce documents. It is also independent of  the  means  to
  151.          transfer documents which for example, may be by means of communication  links  or
  152.          storage media.
  153.          2      References
  154.          ISO 8613-1 ù Information processing ù Text and office systems ù  Office  document
  155.          architecture (ODA) and interchange format ù  Part  1:  Introduction  and  general
  156.          principles (1989).
  157.          ISO 8613-2 ù Information processing ù Text and office systems ù  Office  document
  158.          architecture (ODA) and interchange format ù Part 2: Document structures (1989).
  159.          ISO 8613-4 ù Information processing ù Text and office systems ù  Office  document
  160.          architecture (ODA) and interchange format ù Part  4: Document profile (1989).
  161.          ISO 8613-5 ù Information processing ù Text and office systems ù  Office  document
  162.          architecture (ODA) and interchange format ù Part 5: Office  document  interchange
  163.          format (ODIF) (1989).
  164.          ISO 8613-6 ù Information processing ù Text and office systems ù  Office  document
  165.          architecture  (ODA)  and  interchange  format  ù  Part   6:   Character   content
  166.          architectures (1989).
  167.          ISO 8613-1 ù Information processing ù Text and office systems ù  Office  document
  168.          architecture (ODA) and interchange format ù Part 1: DAD ù A document  application
  169.          profile proforma and notation (to be published).
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.                                                  styleref head_footRecommendation 
  192.          T.502  PAGE37
  193.          Recommendation T.411 ù Open document architecture (ODA) and  interchange  format:
  194.          Introduction and general principles.
  195.          Recommendation T.412 ù Open document architecture (ODA) and  interchange  format:
  196.          Document structures.
  197.          Recommendation T.414 ù Open document architecture (ODA) and  interchange  format:
  198.          Document profile.
  199.          Recommendation T.415 ù Open document architecture (ODA) and  interchange  format:
  200.          Open document interchange format (ODIF).
  201.          Recommendation T.416 ù Open document architecture (ODA) and  interchange  format:
  202.          Character content architecture.
  203.          ISO 8859-1 ù Information processing ù 8-bit single-byte coded  graphic  character
  204.          sets ù Part 1: Latin Alphabet No. 1 (1987).
  205.          ISO  646  ù  Information  processing  ù  ISO  7-bits  coded  character  sets  for
  206.          information interchange (revised 1990).
  207.          ISO 6937-2 ù Information processing ù Coded character sets for text communication
  208.          ù Part 2: Latin alphabet and non-alphabetic graphic characters (1983).
  209.          ISO 2022 ù Information processing ù ISO 7-bit and 8-bit coded  character  sets  ù
  210.          Code extension techniques (1986).
  211.          ISO 7350 ù Text communication ù Registration of graphic character  subrepertoires
  212.          (1984).
  213.          Recommendation X.209 ù Specification of basic encoding rules for abstract  syntax
  214.          notation one (ASN.1) (1988).
  215.          ISO 8825 ù Information  processing  systems  ù  Open  systems  interconnection  ù
  216.          Specification of basic encoding rules for abstract syntax  notation  one  (ASN.1)
  217.          (1987).
  218.          CCITT  Recommendation  T.505  ù  Document  application  profile  PM-26  for   the
  219.          interchange of mixed content documents in processable and formatted forms (to  be
  220.          published).
  221.          CCITT  Recommendation  T.506  ù  Document  application  profile  PM-36  for   the
  222.          interchange of enhanced mixed content  documents  in  processable  and  formatted
  223.          forms (to be published).
  224.          CCITT Recommendation T.512 ù Implementation requirements for document application
  225.          profile PM-11 (to be published).
  226.          ISP FOD11 ù Office document format profile ù FOD11 (to be published).
  227.          ISP FOD26 ù Office document format profile ù FOD26 (to be published).
  228.          ISP FOD36 ù Office document format profile ù FOD36 (to be published).
  229.          3      Definitions and abbreviations
  230.          3.1    Definitions
  231.                The definitions  given  in  [CCITT  Recommendation  T.411/ISO  8613-1]  are
  232.          applicable to this profile.
  233.          3.2    Constituent names
  234.                Each constituent that may be included in a document that conforms  to  this
  235.          profile has been given a unique name which serves to  identify  that  constituent
  236.          throughout this profile.
  237.                The convention is that full names  are  used  (i.e.  no  abbreviations  are
  238.          used), two or more words in a name are concatenated and each word begins  with  a
  239.          capital. Examples of constituent names used in  this  profile  are  BodyText  and
  240.          RectoPage.
  241.                In S 6 of this profile,  each  constituent  provided  by  this  profile  is
  242.          underlined once at the point in the text at which the purpose of that constituent
  243.          is defined. This serves  to  identify  all  the  constituents  provided  by  this
  244.          profile.
  245.                The same constituent names are also used in the technical specification  in
  246.          S 7 of this profile so that there is a one-to-one correspondence between the  use
  247.          of these names in SS 6 and 7.
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.          PAGE36  styleref head_footRecommendation T.502
  265.                Although the constituent names relate to the purpose of  the  constituents,
  266.          the semantics of constituents must not be implied from the actual names that  are
  267.          used. Also, these names do not appear in an interchanged document but a mechanism
  268.          for  identifying  constituents  in  an  interchange  document  is  provided  (see
  269.          S 6.6.1). Thus in an application using this  profile,  the  constituents  may  be
  270.          known to the user by different names.
  271.          4      Relationships with other profiles
  272.                This profile belongs to a series of hierarchically related  profiles  which
  273.          includes PM-26 (see Recommendation T.505) and PM-36 (see Recommendation T.506).
  274.                The features supported by  this  profile  are  a  subset  of  the  features
  275.          supported by the profile PM-26 and PM-36 and  thus  all  data  streams  that  are
  276.          conformant to this profile are also conformant to PM-26 and PM-36.
  277.                The profile defined in this Recommendation  is  identical  to  the  profile
  278.          defined in FOD11. Similarly the profiles PM-26 and PM-36  are  identical  to  the
  279.          profiles defined in FOD26 and FOD36 respectively.
  280.          5      Conformance
  281.                In order to conform to this profile, a data stream representing a  document
  282.          must meet the requirements specified in S 5.1.
  283.                This   Recommendation   does   not   define   implementation   or   service
  284.          requirements. These requirements are defined in other Recommendations  that  make
  285.          use of this profile.
  286.          5.1    Data stream conformance
  287.                The following requirements apply to the  encoding  of  data  streams  which
  288.          conform to this profile:
  289.                a)  The data stream shall be encoded in accordance with the ASN.1 encoding
  290.                   rules defined in [CCITT Recommendation X.209/ISO 8825].
  291.                b)  The data stream shall be structured in accordance with the interchange
  292.                   format defined in S 8 of this profile.
  293.                c)  The document, as represented by the data stream, shall be structured in 
  294.                   accordance with one of the document architecture classes as defined  in
  295.                   S 6.1 of this profile and  shall  contain  all  mandatory  constituents
  296.                   specified for that class; other constituents may be included,  provided
  297.                   that they are permitted for that class, as specified in S 7.
  298.                d)  Each constituent shall  contain  all  those  attributes  specified  as
  299.                   required for that constituent in this profile; other attributes may  be
  300.                   specified provided that they are permitted for that constituent.
  301.                e)  The attribute values specified shall be within the range of permissible 
  302.                   values specified in this profile.
  303.                f)  The encoded document shall  be  constructed  in  accordance  with  the
  304.                   abstract  document  architecture  defined  in   [CCITT   Recommendation
  305.                   T.412/ISO 8613-2].
  306.                g)  The document shall be structured in accordance with the characteristics 
  307.                   and constraints specified in S 6 of this profile.
  308.          5.2    Implementation conformance
  309.                The implementation requirements associated with this  profile  are  defined
  310.          in Recommendation T.512.
  311.          6      Characteristics supported by this document application profile
  312.                This section describes  the  characteristics  of  documents  which  can  be
  313.          represented by data  streams  conforming  to  this  profile.  This  section  also
  314.          describes how these characteristics  are  represented  in  terms  of  constituent
  315.          constraints.
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                                  styleref head_footRecommendation 
  337.          T.502  PAGE37
  338.                6.1    Overview
  339.          6.1.1  General
  340.                This profile supports the interchange of documents in the following form:
  341.                ù   processable form, which facilitates the revision of a  document  by  a
  342.                   recipient;
  343.                ù   formatted form, which facilitates the reproduction of  a  document  as
  344.                   intended by the originator;
  345.                ù   formatted processable form, which facilitates the  reproduction  of  a
  346.                   document as intended by the originator or facilitates the revision of a
  347.                   document.
  348.                The constituents that may  make  up  these  three  forms  of  document  are
  349.          defined in SS 6.1.2, 6.1.3 and 6.1.4. Constituents  defined  as  "required"  must
  350.          occur in any document that conforms  to  this  profile.  Constituents  listed  as
  351.          "optional"  may  or  may  not  be  present  in  the  document  depending  on  the
  352.          requirements of the particular document.
  353.          6.1.2  Formatted form documents
  354.                a)  Required constituents:
  355.                   ù   a document profile;
  356.                   ù    layout  object  descriptions  representing   a   specific   layout
  357.                       structure;
  358.                   ù    content  portion  descriptions  representing  a  specific   layout
  359.                       structure.
  360.                b)  Optional constituents:
  361.                   ù   layout object class descriptions representing  a  "factor"  generic
  362.                       layout structure;
  363.                   ù   presentation styles.
  364.          6.1.3  Processable form documents
  365.                a)  Required constituents:
  366.                   ù   a document profile;
  367.                   ù   logical object class descriptions representing a "complete" generic
  368.                       logical structure;
  369.                   ù    logical  object  descriptions  representing  a  specific   logical
  370.                       structure;
  371.                   ù    content  portion  descriptions  representing  a  specific  logical
  372.                       structure.
  373.                b)  Optional constituents:
  374.                   ù   layout object class descriptions representing a "complete"  generic
  375.                       layout structure;
  376.                   ù   layout styles;
  377.                   ù   presentation styles;
  378.                   ù    content  portion  descriptions  representing  a  generic   logical
  379.                       structure.
  380.                In the  case  of  processable  form  documents,  when  the  generic  layout
  381.          structure is not present,  additional  restrictions  are  placed  on  the  layout
  382.          directives that may be included in layout styles. These restrictions are  defined
  383.          in S 6.4.3 of this profile.
  384.                Note that when the generic layout structure is present,  layout  style  for
  385.          the constituent constraint of the type Passage is required.
  386.          6.1.4  Formatted processable form documents
  387.                a)  Required constituents:
  388.                   ù   a document profile;
  389.                   ù   logical object class descriptions representing a "complete" generic
  390.                       logical structure;
  391.                   ù    logical  object  descriptions  representing  a  specific   logical
  392.                       structure;
  393.                   ù   layout object class descriptions representing a "complete"  generic
  394.                       layout structure;
  395.                   ù    layout  object  descriptions  representing   a   specific   layout
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.          PAGE36  styleref head_footRecommendation T.502
  410.                   structure;
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.                                                  styleref head_footRecommendation 
  482.          T.502  PAGE37
  483.                   ù   content portion descriptions representing a specific logical/layout
  484.                       structure;
  485.                   ù   layout styles.
  486.                b)  Optional constituents:
  487.                   ù   presentation styles;
  488.                   ù    content  portion  descriptions  representing  a  generic   logical
  489.                       structure.
  490.          6.2    Logical characteristics
  491.          6.2.1  Introduction
  492.                This clause defines the logical constituent constraints  provided  by  this
  493.          profile to represent the characteristics of documents.
  494.                Different constituent constraints may be used to represent and  distinguish
  495.          parts of a document that have  different  logical  characteristics.  This  clause
  496.          describes the  general  characteristics  and  typical  uses  of  the  constituent
  497.          constraints that are provided.
  498.                The descriptions of the logical characteristics represented by each of  the
  499.          constituent constraints is provided for guidance only. It is  the  responsibility
  500.          of the user  to  determine  how  a  document  is  to  be  represented  using  the
  501.          constituents provided. Adherence to  these  guidelines  may  enhance  the  mutual
  502.          understanding of a document by an originator and a recipient.
  503.          6.2.2  Overview of the logical structure
  504.                From the logical point of view, the document consists of two parts,  namely
  505.          a "body" part and a "common" part.
  506.                The "body" part represents the main content of a document and  is  intended
  507.          to be reproduced in the body area of the pages that make  up  the  document.  The
  508.          "body" part must be included in all documents that are interchanged in accordance
  509.          with this profile.
  510.                The "common" part represents  common  content  that  is  to  be  placed  in
  511.          reserved header and footer areas on each page of a document.  Header  and  footer
  512.          content are independently optional and so may  be  included  in  an  interchanged
  513.          document only if required.
  514.          6.2.3  Body part of the logical structure
  515.          6.2.3.1  DocumentLogicalRoot
  516.                DocumentLogicalRoot is a constituent constraint representing the top  level
  517.          in the document logical  structure.  Its  immediate  subordinates  consist  of  a
  518.          sequence of one or more constituent constraints of the type Passage.
  519.          6.2.3.2  Passage
  520.                Passage is a constituent constraint that  represents  the  first  level  of
  521.          logical subdivision of a document. It may be used to indicate a logical  grouping
  522.          of subordinate parts of a document that are to  be  regarded  as  an  entity  for
  523.          reading or that have common layout and presentation characteristics. For example:
  524.                ù   the contents to be placed on the title page of a report;
  525.                ù   the front matter in the table of contents or foreword;
  526.                ù   the main matter of the document;
  527.                ù   the back matter, consisting of appendices, glossary and index.
  528.                The immediate subordinates of a Passage consist of a  sequence  of  one  or
  529.          more constituent constraints of the type BodyText.
  530.                A document may contain only one  class  definition  of  the  type  Passage,
  531.          which defines the common characteristics of sets of Passages within the  document
  532.          such as layout properties. For example, when  the  generic  layout  structure  is
  533.          present, Passage must be entirely laid out in the pages of one page set.
  534.          6.2.3.3  BodyText
  535.                BodyText is a constituent constraint which represents the lowest  level  of
  536.          logical subdivision of a document. This constituent constraint is  a  subdivision
  537.          of Passages. This allows the layout and presentation characteristics of different
  538.          parts of the document to be specified.
  539.                This is a  basic  logical  constituent  that  directly  refers  to  content
  540.          portions that  contain  character  content.  BodyText  in  the  specific  logical
  541.          structure must refer to one or more content portions each containing  processable
  542.          or formatted processable character content.  However,  this  constituent  in  the
  543.          generic logical structure may not refer to generic content.
  544.          6.2.4  Common part of the logical structure
  545.          6.2.4.1  CommonContent
  546.                CommonContent is a constituent constraint that  represents  common  content
  547.          that is to be laid out in the header and footer areas of the pages of a document.
  548.          Common content may consist of character content.
  549.                Any number of constituent constraints of  the  type  CommonContent  may  be
  550.          contained in a document. CommonContent is a composite logical object class  whose
  551.          immediate subordinates consist of an arbitrary ordered sequence of one or more of
  552.          the following constituent constraints:
  553.  
  554.          PAGE36  styleref head_footRecommendation T.502
  555.                ù   CommonText;
  556.                ù   PageNumber.
  557.                When the generic layout structure is  present,  constituents  of  the  type
  558.          CommonContent and their associated constituent constraints are constrained to  be
  559.          laid out in frames representing header or footer areas using the "logical source"
  560.          mechanism (see S 6.3.6).
  561.          6.2.4.2  CommonText
  562.                CommonText is a constituent constraint  that  represents  common  character
  563.          content that is to be laid out in the header and footer areas of a document.  For
  564.          example, header and footer content that appears on each page  in  a  sequence  of
  565.          pages can be represented by this constituent.
  566.                CommonText is a basic logical object class  that  must  refer  one  content
  567.          portion containing processable or formatted processable character content.
  568.          6.2.4.3  PageNumber
  569.                PageNumber is a constituent constraint  that  represents  common  character
  570.          content that is to be laid out in the header and footer areas of a document. This
  571.          constituent is specifically used when it is  required  to  present  a  header  or
  572.          footer which contains an automatically generated page number.
  573.                PageNumber is  a  basic  logical  object  class  that  contains  a  content
  574.          generator. This content generator contains a reference to a page number which  is
  575.          automatically evaluated when the document is laid out. This provides the means of
  576.          representing the page numbers that are displayed on the consecutive  pages  of  a
  577.          document.
  578.                Each page number consists of a single number which may  be  represented  in
  579.          the form of Arabic or Roman  numerals  or  in  its  alphabetic  equivalent.  Page
  580.          numbering schemes can start at 0 or any value greater than 0 at the document root
  581.          or page set level.
  582.                The format of the content generators is defined in S 6.6.3.
  583.          6.3    Layout characteristics
  584.                This clause defines the layout constituent  constraints  provided  by  this
  585.          profile to represent the characteristics of documents.
  586.                Different constituent constraints may be used to represent and  distinguish
  587.          parts of a document that  have  different  layout  characteristics.  This  clause
  588.          describes the  general  characteristics  and  typical  uses  of  the  constituent
  589.          constraints that are provided.
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.                                                  styleref head_footRecommendation 
  627.          T.502  PAGE37
  628.                The descriptions of the layout characteristics represented by each  of  the
  629.          constituent constraints is provided for guidance only. It is  the  responsibility
  630.          of the user  to  determine  how  a  document  is  to  be  represented  using  the
  631.          constituents provided. Adherence to  these  guidelines  may  enhance  the  mutual
  632.          understanding of a document by an originator and a recipient.
  633.          6.3.1  Overview of the layout characteristics
  634.                The document structure allows the document content to be laid  out  and  be
  635.          presented in one or more page sets. Each page set may be used for different parts
  636.          of the document, for example,  the  title  page,  foreword,  table  of  contents,
  637.          document body and appendices.
  638.                Each page set consists of a series of pages. In general, each page  may  be
  639.          subdivided into three areas; the body area, which is used to lay out the document
  640.          body, and the header and footer areas, which may be used to lay  out  the  common
  641.          content.
  642.                Page layout type supported by this  profile  is  used  when  the  character
  643.          content is to be laid out horizontally (from left to right or from right to left)
  644.          and from top to bottom within the body area, the header  area  and  footer  area.
  645.          Portrait and landscape orientations  of  this  page  layout  are  illustrated  in
  646.          Figures 1/T.502 and 2/T.502 respectively.
  647.          6.3.2  DocumentLayoutRoot
  648.                DocumentLayoutRoot is a constituent constraint representing the  top  level
  649.          in the document  layout  structure.  Its  immediate  subordinates  consist  of  a
  650.          sequence of one or more constituents of the type PageSets. The numbering  schemes
  651.          for pages can be initialized on this constituent constraint.
  652.          6.3.3  PageSet
  653.                PageSet is a constituent constraint that represents  a  grouping  of  pages
  654.          within a document. A PageSet is typically used to represent a part of a  document
  655.          that has different layout requirements from other parts of a  document.  Also,  a
  656.          PageSet may correspond to a part  of  a  document  that  has  a  certain  logical
  657.          significance, for example, a PageSet  might  represent  the  front  matter  in  a
  658.          document or an individual chapter.
  659.                Only one level of PageSet is allowed in a  document.  However,  a  document
  660.          may contain any number of class definitions of type PageSet which  may  be  used,
  661.          for example, to provide a choice of alternative layouts for different parts of  a
  662.          document or to specify the exact layout requirements for each successive part  of
  663.          a document.
  664.                The immediate subordinates  of  a  PageSet  consist  of  a  combination  of
  665.          constituent constraints of the types Page, RectoPage and VersoPage  as  described
  666.          in S 6.3.4.1.
  667.          6.3.4  Page characteristics
  668.          6.3.4.1  Page constituents
  669.                Three constituent constraints are provided to represent the pages within  a
  670.          document, namely Page, RectoPage and VersoPage.
  671.                The only difference in the characteristics of  these  page  types  concerns
  672.          the values which can be specified for  the  parameter  "side  of  sheet"  in  the
  673.          attribute "medium type". In the case of Page, the value of this parameter may  be
  674.          specified as "recto", "verso" or "unspecified". In the  case  of  RectoPage,  the
  675.          value of this parameter may be specified as "recto" or "unspecified". In the case
  676.          of VersoPage, the value  of  this  parameter  may  be  specified  as  "verso"  or
  677.          "unspecified".
  678.                The pages that make up a page set  consist  of  an  optional  initial  page
  679.          which is represented by the constituent constraint Page and which  is  optionally
  680.          followed by either:
  681.                a)  a sequence of pages represented by the constituent constraint Page. All 
  682.                   pages in this sequence must have the same layout  characteristics  (see
  683.                   Note) but these characteristics may differ from those  of  the  initial
  684.                   page;
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.          PAGE36  styleref head_footRecommendation T.502
  700.                  b)  a sequence of pages which are intended to be laid out alternatively on
  701.                      the "recto" and "verso" (or on the "verso" and "recto")  sides  of  the
  702.                      presentation medium and are represented by the constituent  constraints
  703.                      RectoPage and VersoPage respectively. All pages in this  sequence  must
  704.                      have  the  same   layout   characteristics   (see   Note)   but   these
  705.                      characteristics may differ from those of the initial page.
  706.                 A page set must contain at least one page.
  707.                 An initial page is typically used at the beginning of a document  or  of  a
  708.           section within a document. It may be used, for example, for a  title  page  whose
  709.           layout requirements differ from the following pages.
  710.                 The following restrictions also apply to the pages within a page set:
  711.                  i)  all the pages must have  the  same  dimensions  and  orientation  (see
  712.                      S 6.3.4.2);
  713.                  ii) all the pages are to be laid out on  the  same  size  of  presentation
  714.                      medium (see S 6.3.4.3).
  715.                 Note ù The layout characteristics of pages  are  specified  in  S  6.3.4.5.
  716.           Pages having the same layout characteristics are pages for which the  body  area,
  717.           header area (if present) and footer area (if present) have  the  same  dimensions
  718.           and positions within the page (see S 6.3.4.3). However,  pages  having  the  same
  719.           layout  characteristics  do  not  necessarily  have  the  same  position  on  the
  720.           presentation medium (see S 6.3.4.4).
  721.           6.3.4.2  Page dimensions
  722.                 The dimensions of the pages may be specified as any value  (in  BMUs)  that
  723.           is equivalent to or less than ISO A3  or  ANSI  B  paper  sizes  in  portrait  or
  724.           landscape orientation. The dimensions may be specified in portrait  or  landscape
  725.           orientation.
  726.                 Dimensions equivalent to or less than the common assured reproduction  area
  727.           of ISO A4 and north american letter (NAL) in portrait  or  landscape  orientation
  728.           are basic values. Larger page sizes are non-basic and their use must be indicated
  729.           in the document profile.
  730.                 Any default page dimensions  may  be  specified  in  the  document  profile
  731.           subject to the maximum dimensions defined above.
  732.           6.3.4.3  Nominal page sizes
  733.                 The nominal page sizes that may be specified are listed in  Table  1/T.502.
  734.           These may be specified in  portrait  or  landscape  orientation.  All  values  of
  735.           nominal page size are non-basic and hence all values used in a document  must  be
  736.           indicated in the document profile.
  737.                 Any  nominal  page  size  defined  in  Table  1/T.502,   subject   to   the
  738.           restrictions specified above, may be  specified  as  the  default  value  in  the
  739.           document profile.
  740.                 Table 1/T.502 also  includes  the  recommended  assured  reproduction  area
  741.           (ARA). Information loss may occur when a document is reproduced if the dimensions
  742.           of constituent constraint of the type of page exceed the ARA  for  the  specified
  743.           nominal page size.
  744.                                          include 502-T01ETABLE 1/T.502
  745.                                               Nominal page sizes
  746.               Page type         Size in inches          Size            ARA in BMUs
  747.                               or in millimeters        in BMUs       
  748.           ISO A5               148 mm ┤ 210 mm     17 015 ┤ 19 920     1not defined
  749.           ISO A4               210 mm ┤ 297 mm     19 920 ┤ 14 030    19 240 ┤ 13 200
  750.           ISO A3               297 mm ┤ 420 mm     14 030 ┤ 19 840    13 200 ┤ 18 480
  751.           ANSI legal             18.5" ┤ 14"       10 200 ┤ 16 800    19 240 ┤ 18 480
  752.           ANSI A                 18.5" ┤ 11"       10 200 ┤ 13 200    19 240 ┤ 12 400
  753.           ANSI B             
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.                                                   styleref head_footRecommendation 
  772.           T.502  PAGE37
  773.                                  11",5 ┤ 17"       13 200 ┤ 20 400    12 744 ┤ 19 656
  774.           Japanese legal       257 mm ┤ 364 mm     12 141 ┤ 17 196    11 200 ┤ 15 300
  775.           Japanese letter      182 mm ┤ 257 mm     18 598 ┤ 12 141    17 600 ┤ 10 200
  776.  
  777.  
  778.           6.3.4.4  Page offset
  779.                 The page offset is the distance of the position of the left and  top  edges
  780.           of the page relative to the left and top edges respectively of  the  presentation
  781.           medium on which each page  is  reproduced.  Any  value  of  page  offset  may  be
  782.           specified provided that no part of the page area lies outside  the  area  of  the
  783.           nominal page. Also, page offsets specified for the initial, recto and verso pages
  784.           within a given page set may differ. The default page offset may be  specified  in
  785.           the document profile.
  786.           6.3.4.5  Page layout characteristics
  787.                 Each page in a document may be subdivided into three rectangular areas,  as
  788.           follows:
  789.                  ù   a body area which is reserved for content that belongs to the body part 
  790.                      of the document (see S 6.3.5);
  791.                  ù   a header area  which  is  reserved  for  common  header  content  (see
  792.                      S 6.3.6);
  793.                  ù   a footer area  which  is  reserved  for  common  footer  content  (see
  794.                      S 6.3.6).
  795.                 The body area is mandatory and must occur on every page in a document.  The
  796.           header and footer areas are both optional.
  797.                 Also, these three areas must be entirely contained  within  the  page  area
  798.           and must not overlap.
  799.                 For page layout type supported by  this  profile,  the  header  and  footer
  800.           areas are placed above and below the body area respectively. The layout  path  in
  801.           the header, body and footer area are implicitly  specified  as  270  degrees,  as
  802.           shown in Figures 1/T.502 and 2/T.502. Layout path supported by  this  profile  is
  803.           270 degrees only  which  is  the  standard  default  value  specified  in  [CCITT
  804.           Recommendation T.412/ISO 8613-2]. Thus the layout path may not be specified in  a
  805.           document.
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.           PAGE36  styleref head_footRecommendation T.502
  845.                                           FIGURE 1/T.502 = 11,5 cm
  846.  
  847.                                            FIGURE 2/T.502 = 9,5 cm
  848.  
  849.          6.3.5  Body area characteristics
  850.          6.3.5.1  General characteristics
  851.                The body area is the area within a  page  where  the  main  matter  of  the
  852.          document, that is the "body" part of the document, is laid out.
  853.                The body area may consist of a single  frame  into  which  the  content  is
  854.          directly laid out. This body area is represented by a BasicBody frame.
  855.          6.3.5.2  BasicBody
  856.                BasicBody is a constituent constraint which defines a  lowest  level  frame
  857.          into which the content is directly laid out.
  858.                The position and dimensions of this frame are fixed.  The  layout  path  of
  859.          BasicBody is implicitly specified as 270░ (see S 6.3.4.5).
  860.          6.3.6  Header and footer area characteristics
  861.          6.3.6.1  General characteristics
  862.                The header and footer areas may consist of basic areas. A basic  header  or
  863.          footer area is an area into which the content is directly laid out. This type  of
  864.          area is represented by a  constituent  constraint  of  the  type  BasicHeader  or
  865.          BasicFooter respectively.
  866.                The content allocated to these areas is derived from  the  common  part  of
  867.          the logical structure of a document.
  868.          6.3.6.2  BasicHeader and BasicFooter
  869.                BasicHeader and BasicFooter are constituent constraints that define  lowest
  870.          level frames that represent areas within a page  that  are  reserved  for  common
  871.          content.
  872.                These types of frame have fixed positions and dimensions. The  layout  path
  873.          of these frames is implicitly specified as 270░ (see S 6.3.4.5).
  874.                The content that is laid out in these frames is derived, using the  logical
  875.          source mechanism, from the content associated with the composite  logical  object
  876.          classes of the type CommonContent.
  877.          6.3.7  SpecificBlock
  878.                SpecificBlock is a constituent constraint that defines a specific block.
  879.                Objects of the type SpecificBlock may only occur  in  the  specific  layout
  880.          structure. They are created during the document layout process  and  result  from
  881.          the layout of basic logical objects into lowest level frames that constitute  the
  882.          body, header and footer areas.
  883.                Each SpecificBlock in a BasicBody frame must  refer  to  only  one  content
  884.          portion. A SpecificBlock in a BasicHeader frame or BasicFooter frame  must  refer
  885.          to one or more content portions.
  886.          6.4    Document layout characteristics
  887.                Mechanisms for  controlling  the  allocation  of  logical  constituents  to
  888.          various areas in the layout structure  are  defined  inS  6.4.1.  Mechanisms  for
  889.          controlling the layout of the content within the allocated areas are  defined  in
  890.          S 6.4.2.
  891.                These mechanisms relate to documents for which a generic  layout  structure
  892.          is specified. When  a  generic  layout  structure  is  not  present,  then  these
  893.          mechanisms are restricted as described in S 6.4.3.
  894.          6.4.1  Flow controls
  895.                Various mechanisms are provided to control the  allocation  of  constituent
  896.          constraints representing the "body" parts of the logical structure of a  document
  897.          to page sets, pages and body areas. These are described in  SS  6.4.1.1,  6.4.1.2
  898.          and 6.4.1.3. The mechanisms for controlling the layout of the "common" parts of a
  899.          document are described in S 6.4.1.4.
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.                                                  styleref head_footRecommendation 
  917.          T.502  PAGE37
  918.                  6.4.1.1  Allocation of content to page sets
  919.                In this  profile,  the  following  method  of  allocating  the  constituent
  920.          constraint associated with the "body" part  of  the  document  to  page  sets  is
  921.          provided.
  922.                Layout  object  class  is  used  to  specify  that  a  particular   logical
  923.          constituent constraint in a  document  is  to  be  laid  out  entirely  within  a
  924.          specified page set. This is specified for a constituent constraint  of  the  type
  925.          Passage using the attribute "layout object  class"  which  specifies  the  object
  926.          identifier of the required page set.
  927.          6.4.1.2  Allocation of content to page
  928.                In this  profile,  the  following  method  of  allocating  the  constituent
  929.          constraint associated with the "body" part of the document to pages is provided.
  930.          6.4.1.2.1   New layout object
  931.                New layout object  provides  the  ability  to  specify  that  a  particular
  932.          logical constituent constraint in a document is to be laid out  starting  at  the
  933.          beginning of a new page. The page specified must belong to the page set in  which
  934.          the immediate preceding logical constituent constraint is laid out (see Note).
  935.                This may be specified for the logical constituent constraint  of  the  type
  936.          BodyText.
  937.                This is achieved using the attribute "new layout  object".  This  attribute
  938.          may specify the value "page" indicating that the logical  constituent  constraint
  939.          is to be laid out starting on the next available page which may be of any  class.
  940.          Alternatively, the attribute may specify that the logical constituent  constraint
  941.          is to be laid out starting on a page of a particular class; this is  achieved  by
  942.          specifying the object identifier of the required page class.
  943.                Note ù The specification of a page break must not be used to lay  out  part
  944.          of a document in a new page set. If a new page set is required, then this  should
  945.          be explicitly specified as described in S 6.4.1.1.
  946.          6.4.1.2.2   Indivisibility
  947.                Indivisibility provides the means to specify whether  or  not  a  basic  or
  948.          composite logical constituent constraint is allowed to be split  over  more  than
  949.          one page. It may be specified for logical constituent  constraint  of  the  types
  950.          Passage and BodyText. The attribute "indivisibility"  is  used  to  specify  this
  951.          feature.
  952.          6.4.1.2.3   Same layout object
  953.                Same  layout  object  provides  the  means  to  specify  that  the  content
  954.          associated with a basic logical constituent constraint and the content associated
  955.          with the previous basic logical constituent constraint are to be regarded  as  an
  956.          unbroken stream of content within a page. This may be specified for basic logical
  957.          constituent constraint of the type BodyText.
  958.                The attribute "same layout object" is used to specify  this  feature.  This
  959.          attribute contains an  expression  which  indicates  that  the  previous  logical
  960.          constituent constraint and the constituent  constraint  to  which  the  attribute
  961.          applies are to be laid out starting on the same page.
  962.          6.4.1.3  Allocation of content to body areas
  963.                In this profile, the page to which the  content  is  allocated  contains  a
  964.          basic body area which is represented by a  constituent  constraint  of  the  type
  965.          BasicBody (see S 6.3.5.2). The content is laid out in sequential  order  in  that
  966.          body area in the form of a single column.
  967.          6.4.1.4  Allocation of content to header-footer areas
  968.                In this profile, a basic header or footer area may be used (see  S  6.3.6),
  969.          the frame representing that area specifies the attribute "logical  source"  which
  970.          indicates the particular instance of the logical constituent  constraint  of  the
  971.          type CommonContent (seeS 6.2.4.1) that is to be laid out in that area. The  basic
  972.          logical constituents subordinate to CommonContent are then laid out in accordance
  973.          with their sequential order.
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.          PAGE36  styleref head_footRecommendation T.502
  990.                   6.4.1.4.1   Concatenation
  991.                Concatenation provides the means to specify  that  the  content  associated
  992.          with a basic logical constituent constraint and the content associated  with  the
  993.          previous basic logical constituent constraint are to be regarded as  an  unbroken
  994.          stream  of  content.  This  may  be  specified  for  basic  logical   constituent
  995.          constraints of the type CommonText and PageNumber. The attribute  "concatenation"
  996.          is used to specify this feature.
  997.          6.4.2  Layout of the document content
  998.                Various constraints may be specified to control the layout of  the  content
  999.          into the body, header and footer areas. These constraints are described below.
  1000.          6.4.2.1  Margins
  1001.                The margins are the minimum distances or offsets  between  a  part  of  the
  1002.          document content and the edge of the particular area in  which  that  content  is
  1003.          laid out. The margins define the maximum extents of the available area into which
  1004.          the content can be positioned.
  1005.                Margins may be specified for the basic logical constituent  constraints  of
  1006.          the type BodyText, CommonText and PageNumber;  different  margin  values  may  be
  1007.          specified  for  different   basic   logical   constituent   constraints   without
  1008.          restriction.
  1009.                Four margins may be independently specified for  each  logical  constituent
  1010.          constraint (see Figure 3/T.502), namely:
  1011.                ù   trailing edge margin;
  1012.                ù   leading edge margin;
  1013.                ù   right hand edge margin;
  1014.                ù   left hand edge margin.
  1015.                                           FIGURE 3/T.502 = 12,5 cm
  1016.  
  1017.                Any combination of the above margins may  be  specified  for  a  particular
  1018.          logical constituent constraint. These margins may be specified by  the  attribute
  1019.          "offset". Any value may be specified in units of BMUs. If a particular margin  is
  1020.          not specified then it is assumed to be 0 BMUs.
  1021.          6.4.2.2  Separation
  1022.                Separation is the minimum distance between one  basic  logical  constituent
  1023.          constraint and the next when they are laid out. It may  be  specified  for  basic
  1024.          logical constituent constraints of the types BodyText, CommonText and PageNumber.
  1025.          This distance is specified in BMUs by the attribute "separation". If no value  is
  1026.          specified, then the minimum distance is assumed to be 0 BMUs.
  1027.          6.4.3  Layout controls applicable in the absence of a generic layout structure
  1028.                In processable form document the generic layout structure is  optional.  If
  1029.          the generic layout structure is omitted, then it is  the  responsibility  of  the
  1030.          receiver to define an appropriate layout structure. No limitations are placed  on
  1031.          the layout structure that is used.
  1032.                When a generic layout structure is not specified within a processable  form
  1033.          document, then restrictions are placed on the layout control functions  described
  1034.          in SS  6.4.1  and  6.4.2  that  can  be  specified  within  the  document.  These
  1035.          restrictions are indicated below:
  1036.                a)  It is not possible to specify that certain logical parts of a document
  1037.                   are to be allocated to a given page set as defined in S 6.4.1.1.
  1038.                b)  It is possible to specify page breaks as defined in S 6.4.1.2.1 but is
  1039.                   is only possible to indicate that the layout  should  begin  on  a  new
  1040.                   page. It is not possible to specify a particular page class.
  1041.                   Indivisibility as defined in S 6.4.1.2.2  and  same  layout  object  as
  1042.                   defined in S 6.4.1.2.3 can all be specified.
  1043.                c)  The logical parts of the document that are intended to be laid out  in
  1044.                   the body area and in the  header/footer  areas  of  each  page  can  be
  1045.                   distinguished by means  of  application  comments  (see  S  6.6.1).  An
  1046.                   exception is that it is not possible to distinguish whether the  common
  1047.                   content is to be placed in a header or footer area  (or  split  between
  1048.                   two).
  1049.                   Concatenation as defined in S 6.4.1.4.1 can all be specified.
  1050.                d)  Margins and separation as defined in S 6.4.3 can all be specified.
  1051.          6.5    Content layout and imaging characteristics
  1052.                A document may contain character content.
  1053.                The content  architectures  that  may  be  specified  using  the  attribute
  1054.          "content architecture class" are formatted character, processable  character  and
  1055.          formatted processable character. Any of these may be specified as the default  in
  1056.          the document profile.
  1057.          6.5.1  Introduction
  1058.                This clause defines the features  that  are  applicable  to  the  character
  1059.          content contained in a document  and  the  presentation  attributes  and  control
  1060.  
  1061.                                                  styleref head_footRecommendation 
  1062.          T.502  PAGE37
  1063.          functions that may be used to specify these features. These features may apply to
  1064.          basic logical layout components unless otherwise indicated.
  1065.                The default values for the following  features  may  be  specified  in  the
  1066.          document profile:
  1067.                ù   graphic character sets;
  1068.                ù   graphic character subrepertoire;
  1069.                ù   code extension announcers;
  1070.                ù   line spacing;
  1071.                ù   character spacing;
  1072.                ù   character path;
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.          PAGE36  styleref head_footRecommendation T.502
  1135.                ù   graphic rendition, including the parameters: 
  1136.                   default rendition, bold, italicized, underlined,  crossed  out,  normal
  1137.                   intensity, not italicized, not underlined, not crossed out;
  1138.                ù   tabulation;
  1139.                ù   indentation;
  1140.                ù   alignment;
  1141.                ù   first line format;
  1142.                ù   itemization;
  1143.                ù   widow size;
  1144.                ù   orphan size;
  1145.                ù   initial point.
  1146.                The specification in a document of a non-basic feature  by  a  presentation
  1147.          attribute or control function must be indicated in the document profile.
  1148.          6.5.2  Character content architecture class
  1149.                Processable  and  formatted  processable   form   documents   may   contain
  1150.          processable, formatted or formatted processable character content. Formatted form
  1151.          documents may contain formatted or formatted processable character content.
  1152.          6.5.3  Character repertoire
  1153.                The basic character repertoire supported by this  profile  is  composed  of
  1154.          the 94 characters of the IRV of ISO 646 (revised 1990) plus the character space.
  1155.                Any other graphic character set which  is  registered  in  accordance  with
  1156.          ISO 2375 may be designated and invoked at any point in the document provided  its
  1157.          use is indicated in the document profile as a non-basic value using the character
  1158.          presentation feature "graphic character sets". No  locking  shift  functions  are
  1159.          specified in this presentation feature.
  1160.                The code extension techniques allowed for the  designation  and  invocation
  1161.          of character sets to the left hand side and right hand side  of  the  8-bit  code
  1162.          table (GL and GR respectively) are defined in S 6.5.4.
  1163.                Using  these  code  extension  techniques,  the  graphic   character   sets
  1164.          designated and/or invoked at  the  beginning  of  a  content  portion  containing
  1165.          character content are specified by the presentation attribute "graphic  character
  1166.          sets". The graphic character sets may be changed at any point  within  a  content
  1167.          portion.
  1168.                The default graphic character sets which  apply  to  the  content  portions
  1169.          within a document can be specified in the document profile using the presentation
  1170.          attribute "graphic character sets".
  1171.                If the character set defined in ISO 6937-2 is designated and invoked,  then
  1172.          the use of any subrepertoire registered according to ISO 7350  may  be  specified
  1173.          using  the  presentation  attribute  "graphic   character   subrepertoire".   All
  1174.          subrepertoires are non-basic and their use must  be  indicated  in  the  document
  1175.          profile. The subrepertoire shall not be changed within a content portion.
  1176.                Note 1 ù The basic character repertoire supported by this  profile  is  not
  1177.          the standard default value specified in [CCITT Recommendation T.416/ISO  8613-6];
  1178.          hence, it may be necessary to specify, in the document profile  of  a  particular
  1179.          document, that this is the default value being used for that document.
  1180.                Note 2 ù Revised Recommendations T.50 and T.51 and new Recommendation  T.52
  1181.          are under preparation. T.50 and T.51 are intended  to  be  completely  compatible
  1182.          with ISO 646 (revised 1990) and ISO 6397 (under revision) respectively.
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.                                                  styleref head_footRecommendation 
  1207.          T.502  PAGE37
  1208.                6.5.4  Code extension techniques
  1209.                The code extension techniques specified in ISO 2022 may be used subject  to
  1210.          the following restrictions:
  1211.                i)  G0 set: only the IRV of ISO 646 (revised 1990), the primary set of ISO
  1212.                   6937-2 and a version of ISO 646 may be designated for this  set;  these
  1213.                   character sets may only be invoked in GL.
  1214.                ii) G1, G2, G3 sets: no restrictions are placed on the character sets that
  1215.                   may be designated for these sets; these  character  sets  may  only  be
  1216.                   invoked in GR.
  1217.                iii)   The locking and single shift functions allowed are as follows:
  1218.                   ù   LS0 to invoke the G0 set into GL;
  1219.                   ù   LS1R to invoke the G1 set into GR;
  1220.                   ù   LS2R to invoke the G2 set into GR;
  1221.                   ù   LS3R to invoke the G3 set into GR;
  1222.                   ù   SS2 to invoke one character from the G2 set into GL;
  1223.                   ù   SS3 to invoke one character from the G3 set into GL.
  1224.                   (Here GL and GR refer to the left and right hand parts respectively  of
  1225.                       the 8-bit code table.)
  1226.                iv) When specifying the presentation attribute "graphic character sets", it 
  1227.                   is necessary to invoke character sets for  both  GL  and  GR.  Thus  an
  1228.                   allowed character set must be designated into G0 (see  item  i)  above)
  1229.                   and invoked into GR. It is also necessary to  invoke  a  character  set
  1230.                   into GR which has been designated into G1, G2 or G3 set.
  1231.                v)  The empty set must be designated into G1 and invoked  into  GR  if  no
  1232.                   other specific character set is invoked into GR.
  1233.                The code extension techniques allowed are illustrated  in  Figures  4/T.502
  1234.          and 5/T.502.
  1235.                The announcement and encoding of these functions are to be as specified  in
  1236.          ISO 2022.
  1237.                The code extension techniques that are used or  may  be  used  in  a  basic
  1238.          component  may  be  specified  by  the  presentation  attribute  "code  extension
  1239.          announcers". The default code extension announcers used throughout a document may
  1240.          be specified in the document  profile  using  the  presentation  attribute  "code
  1241.          extension announcers".
  1242.                Note ù In accordance with [CCITT Recommendation  T.416/ISO  8613-6],  there
  1243.          is no restriction concerning the number  of  graphic  character  sets  which  are
  1244.          designated and/or invoked in the presentation attribute "graphic character  sets"
  1245.          providing the restrictions defined in this clause are applied. Hence, designation
  1246.          to a particular G set  overrides  the  previous  designation  to  that  set,  and
  1247.          invocation  to  GL  or  GR  overrides  the  previous  invocation  to  GL  or   GR
  1248.          respectively.  Thus  the  sequential  order  of  designation  and/or   invocation
  1249.          sequences in the attribute "graphic character sets" is significant.
  1250.                                           FIGURE 4/T.502 = 11,5 cm
  1251.  
  1252.                                           FIGURE 5.T.502 = 12,5 cm
  1253.  
  1254.          6.5.5  Line spacing
  1255.                Line spacing values of 100, 150, 200, 300 and 400 BMUs  may  be  specified.
  1256.          The values of 200, 300 and 400 BMUs are basic; the use of any other  value  in  a
  1257.          document is non-basic and must be indicated in the document profile.
  1258.                The line  spacing  may  be  specified  at  the  beginning  of  the  content
  1259.          associated  with  a  basic  component  using  the  presentation  attribute  "line
  1260.          spacing". The value may be changed anywhere within the content portion using  the
  1261.          control function SVS.
  1262.          6.5.6  Character spacing
  1263.                Character spacing values  of  80,  100,  120,  160  and  200  BMUs  may  be
  1264.          specified. The value of 120 BMUs is basic; the  use  of  any  other  value  in  a
  1265.          document is non-basic and must be indicated in the document profile.
  1266.                The character spacing may be specified at  the  beginning  of  the  content
  1267.          associated with a basic component using  the  presentation  attribute  "character
  1268.          spacing". The value may be changed anywhere within the content portion using  the
  1269.          control functions SHS and SCS.
  1270.                Note 1 ù A character spacing value of 160 BMUs is  provided  for  use  with
  1271.          Korean Hangul characters.
  1272.                Note 2 ù SHS parameters 0, 1, 2 and 3 are currently provided.  The  use  of
  1273.          parameters 5 and 6 is currently being studied for use with Chinese characters.
  1274.          6.5.7  Character path and line progression
  1275.                Both from  left  to  right  and  from  right  to  left  horizontal  writing
  1276.          directions may be specified within a document. The line progression is then  from
  1277.          top to bottom only on the page.
  1278.  
  1279.          PAGE36  styleref head_footRecommendation T.502
  1280.                Character path values of 0 and 180 degrees may be specified. The  value  of
  1281.          0 degree is basic. The value of 180 degrees is non-basic and must be indicated in
  1282.          the document profile.
  1283.                The values of character path may be  specified  at  the  beginning  of  the
  1284.          content associated with  a  basic  component  using  the  presentation  attribute
  1285.          "character path". The value cannot be changed within a content portion.
  1286.                The line progression supported by this profile is 270  degrees  only  which
  1287.          is the standard default value specified in [CCITT Recommendation T.416/I O  8613-
  1288.          6]. Thus the line progression may not be specified.
  1289.          6.5.8  Character orientation
  1290.                The character orientation supported by this profile is 0 degree only  which
  1291.          is the standard default value specified in [CCITT Recommendation T.416/I O  8613-
  1292.          6]. Thus the character orientation may not be specified.
  1293.          6.5.9  Emphasis
  1294.                The following modes of emphasizing graphic characters may be  specified  as
  1295.          basic:
  1296.                ù   normal rendition;
  1297.                ù   normal intensity;
  1298.                ù   increase intensity (bold);
  1299.                ù   italicized;
  1300.                ù   not italicized;
  1301.                ù   underlined;
  1302.                ù   not underlined.
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.                                                  styleref head_footRecommendation 
  1352.          T.502  PAGE37
  1353.                The following modes of emphasizing graphic characters may be  specified  as
  1354.          non-basic:
  1355.                ù   crossed-out,
  1356.                ù   not crossed-out.
  1357.                Above non-basic modes must be indicated in  the  document  profile.  If  no
  1358.          default mode is explicitly specified in the document profile,  then  the  default
  1359.          mode is normal rendition.
  1360.                The mode of emphasis may be specified  at  the  beginning  of  the  content
  1361.          associated with a basic  component  using  the  presentation  attribute  "graphic
  1362.          rendition". The mode may be changed anywhere within the content using the control
  1363.          function SGR.
  1364.                The mode of emphasis remains in effect within the content  associated  with
  1365.          a basic component until  changed  into  a  mutually  exclusive  mode  or  by  the
  1366.          specification   of   "normal   rendition".   Mutually   exclusive    modes    are
  1367.          normal/increased intensity, italicized/not italicized, underlined/not  underlined
  1368.          and crossed-out/not crossed-out. One mode from each mutually exclusive set may be
  1369.          in operation at any point in the document content.
  1370.                Normal rendition cancels the effect of all methods  of  emphasis  that  are
  1371.          currently in operation and  specifies  that  the  text  should  be  displayed  in
  1372.          accordance with the default rendition parameters set for the presentation device.
  1373.          Thus, for example,  if  it  is  required  to  ensure  that  the  content  is  not
  1374.          underlined, then it is necessary to explicitly specify that underlined is not  to
  1375.          be used.
  1376.          6.5.10 Tabulation
  1377.                Tabulation stop positions may be specified at any character position  along
  1378.          the character path. Each stop is specified by means of the following:
  1379.                a)  The tabulation  position  relative  to  the  margin  position  in  the
  1380.                   direction opposite to the character path.
  1381.                b)  An optional alignment qualifier that specifies the type of alignment to 
  1382.                   be used  at  the  designated  tabulation  position.  The  type  may  be
  1383.                   specified as one of the following:
  1384.                ù   start aligned;
  1385.                ù   end aligned;
  1386.                ù   centred;
  1387.                ù   aligned around.
  1388.                These  alignment  qualifiers   are   defined   in   [CCITT   Recommendation
  1389.          T.416/ISO 8613-6]. If the alignment qualifier is not explicitly  specified,  then
  1390.          it is assumed that start aligned is to be used.
  1391.                Only one set of tabulation stops can be specified to be applicable  to  the
  1392.          content associated with a basic component. No limit is placed on  the  number  of
  1393.          tabulation stops that can be specified within a given set.
  1394.                The set of tabulation stop positions  associated  with  the  content  of  a
  1395.          basic component are specified  using  the  presentation  attribute  "line  layout
  1396.          table". Tabulation stop positions  are  invoked  within  the  content  using  the
  1397.          control function STAB.
  1398.          6.5.11 Indentation
  1399.                Indentation is the distance between  the  first  character  on  a  line  of
  1400.          content and the position of the margin position in the direction opposite to  the
  1401.          direction of  the  character  path.  Thus  the  value  of  indentation  specified
  1402.          determines the line home position (as defined in [CCITT Recommendation  T.416/ISO
  1403.          8613-6]).
  1404.                Indentation acts a temporary alteration in the position of  the  offset  in
  1405.          the direction opposite to the direction of  the  character  path.  When  text  is
  1406.          formatted, it is intended to be laid out between the indentation position and the
  1407.          margin position in the direction of the character path.
  1408.                Any value of indentation may be  specified  for  basic  logical  components
  1409.          using the presentation attribute "indentation". The indentation value may not  be
  1410.          changed within a content portion.
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.          PAGE36  styleref head_footRecommendation T.502
  1425.                6.5.12 Alignment
  1426.                This feature is concerned with how the first and last  characters  on  each
  1427.          line of character content is to be laid out during the formatting process.
  1428.                The following values of alignment may be specified as basic:
  1429.                ù   start aligned;
  1430.                ù   end aligned;
  1431.                ù   centred;
  1432.                ù   justified.
  1433.                The semantics of these values  are  as  defined  in  [CCITT  Recommendation
  1434.          T.416/ISO 8613-6].
  1435.                The presentation attribute "alignment" is used  to  specify  the  alignment
  1436.          that is applicable  to  the  content  associated  with  a  basic  component.  The
  1437.          alignment value cannot be changed within a content portion.
  1438.          6.5.13 First line format
  1439.                This feature specifies how the first line of the content associated with  a
  1440.          basic component is to be laid out and provides for the itemization of paragraphs.
  1441.                It allows the first character in the  content  to  be  positioned  at  some
  1442.          point along the character path relative to the indentation position  (as  defined
  1443.          in S 6.5.11). This point may be in the direction of the character path or in  the
  1444.          direction opposite to the  direction  of  the  character  path  relative  to  the
  1445.          indentation position.
  1446.                In addition, this  feature  provides  for  the  specification  of  an  item
  1447.          identifier on the first line. The item identifier is a string of characters  that
  1448.          precedes and is separated from the remaining characters that form the first line.
  1449.          The control function CR (carriage return) is used as the separator.
  1450.                The feature  provided  corresponds  to  examples  10.1  to  10.4  shown  in
  1451.          Figure 10 of [CCITT Recommendation T.416/ISO 8613-6].
  1452.                First line format is specified by the presentation attributes  "first  line
  1453.          offset" and "itemization"; there are no restrictions on the values  that  may  be
  1454.          specified.
  1455.          6.5.14 Widow and orphan sizes
  1456.                The widow size specifies the minimum number of lines of content  that  must
  1457.          be allocated to a following frame or page when  the  content  associated  with  a
  1458.          basic logical component is laid out such that it flows over two frames or  pages.
  1459.          To accommodate this, it may be necessary to move a number  of  lines  of  content
  1460.          from one frame or page to the next frame or page.
  1461.                The orphan size specifies the minimum number of lines of content that  must
  1462.          be placed in the current frame or page when the content associated with  a  basic
  1463.          logical component is split over two frames or pages. If this  minimum  cannot  be
  1464.          accommodated, then the whole content must be placed to the next frame or page.
  1465.                Any value of widow or orphan size may be specified using  the  presentation
  1466.          attribute "widow size" and "orphan size" respectively.
  1467.                Widow and orphan size may only be specified for  character  content  placed
  1468.          in the body area of pages.
  1469.          6.5.15 Reverse character string
  1470.                Bidirectional writing is supported by this profile (see S 6.5.7). Hence,  a
  1471.          string of characters in a content portion associated with a basic  component  may
  1472.          be specified to be imaged in the reverse direction of the  immediately  preceding
  1473.          character string. Such strings can be specified by the control  function  SRS  as
  1474.          defined in [CCITT Recommendation T.416/ISO 8613-6].
  1475.                This control function is provided for cases in which the  text  belongs  to
  1476.          different languages and the character content is written, for example, from  left
  1477.          to right or from right to left within the same line of characters, dependent upon
  1478.          the language and/or character set being used.
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.                                                  styleref head_footRecommendation 
  1497.          T.502  PAGE37
  1498.                Note ù  The use of  this  control  function  cannot  be  indicated  in  the
  1499.          document profile. Thus it is intended that  implementations  should  ignore  this
  1500.          control function when reverse character string layout  and  presentation  is  not
  1501.          supported.
  1502.          6.5.16 Superscripts and subscripts
  1503.                Superscripts and subscripts may be specified anywhere  within  the  content
  1504.          associated with a basic component by using the control functions PLU and PLD. The
  1505.          use  of  these  control  functions   shall   be   in   accordance   with   [CCITT
  1506.          Recommendation T.416/ISO 8613-6].
  1507.          6.5.17 Line breaks
  1508.                The control functions BPH and NBH  may  be  inserted  in  processable  form
  1509.          character content to indicate where line  breaks  may  occur  or  may  not  occur
  1510.          respectively, when the content is laid out.
  1511.          6.5.18 Substitution of characters
  1512.                The control function SUB is provided to represent characters produced by  a
  1513.          local system that cannot be represented by a character  within  a  character  set
  1514.          supported by this profile.
  1515.          6.5.19 Initial point
  1516.                The initial point which is applicable to basic  layout  components  may  be
  1517.          specified by the attribute "initial offset". Any value may be specified.
  1518.          6.5.20 Use of control functions
  1519.                The following is a list of all the control functions and  parameter  values
  1520.          (where applicable) which may be specified in character content:
  1521.                SHS     ù   select horizontal spacing
  1522.                        (allowed parameter values: 0, 1, 2, 3)
  1523.                SCS     ù   set character spacing
  1524.                        (allowed parameter values: 80, 100, 120, 160, 200 BMUs)
  1525.                SVS     ù   select line spacing
  1526.                        (allowed parameter values: 0, 1, 2, 3, 4)
  1527.                SGR     ù   set graphic rendition
  1528.                        (allowed parameter values: 0, 1, 3, 4, 9, 22-24, 29)
  1529.                STAB   ù   selective tabulation
  1530.                        (allowed parameter values: any)
  1531.                SRS     ù   start reverse string
  1532.                        (allowed parameter values: any)
  1533.                PLD     ù   partial line down
  1534.                PLU     ù   partial line up
  1535.                BPH     ù   break permitted here
  1536.                NBH ù   no break here
  1537.                JFY     ù   no justified
  1538.                SUB     ù   substitute character
  1539.                SP      ù   space
  1540.                CR      ù   carriage return
  1541.                LF      ù   line feed
  1542.                SOS     ù   start of string
  1543.                ST      ù   string terminator
  1544.                       ù   code extension control functions (see S 6.5.4)
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.          PAGE36  styleref head_footRecommendation T.502
  1570.                 The use of all these control functions, with the exception of SP,  CR,  LF,
  1571.           SOS and ST, are described in SS 6.5.3 to 6.5.19.
  1572.           6.5.21 Formatting the content
  1573.                 All formatting of the content must be carried out by  the  imaging  process
  1574.           and not by the content layout process (see [CCITT Recommendation T.416/I O  8613-
  1575.           6]). Thus the attribute "formatting indicator"  shall  not  be  specified  within
  1576.           documents that are conformant with this profile.
  1577.           6.6    Miscellaneous features
  1578.           6.6.1  Application comments
  1579.                 Specification of the attributes "application  comments"  is  mandatory  for
  1580.           all object classes contained  in  a  document  that  conforms  to  this  profile.
  1581.           Specification of this attribute is optional for objects.
  1582.                 This attribute is structured so that it  contains  two  fields.  The  first
  1583.           field is mandatory when the attribute is specified and contains a numeric  string
  1584.           which uniquely identifies the constituent for which the attribute  is  specified.
  1585.           This facilitates the processing of documents. A  list  of  these  identifiers  is
  1586.           given in Table 2/T.502.
  1587.                 The second field is optional  and  may  contain  any  information  that  is
  1588.           relevant to the application or users. The format  of  the  second  field  is  not
  1589.           defined in this profile and the interpretation  of  this  field  depends  upon  a
  1590.           private agreement between the originator and recipient of the document.
  1591.                 The encoding of the attribute "application comments" is defined in S  8.3.
  1592.                                          include 502-T02ETABLE 2/T.502
  1593.                                        List of number string identifiers
  1594.                  Logical constituent              Numeric string identifier
  1595.           DocumentLogicalRoot                                10
  1596.           Passage                                            11
  1597.           BodyText                                           14
  1598.           CommonContent                                      19
  1599.           CommonText                                         20
  1600.           PageNumber                                         40
  1601.                  Layout constituent              Numeric string identifier
  1602.           DocumentLayoutRoot                                 10
  1603.           PageSet                                            11
  1604.           Page                                               12
  1605.           RectoPage                                          13
  1606.           VersoPage                                          14
  1607.           BasicHeader                                        27
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.                                                   styleref head_footRecommendation 
  1642.           T.502  PAGE37
  1643.          BasicBody                                          28
  1644.          SpecificBlock                                      30
  1645.          BasicFooter                                        33
  1646.                  Note ù The value of  each  numeric  string  identifier  is  unique  for
  1647.                  constituents within either the logical or layout  structure.  Also  the
  1648.                  numeric  string  identifiers  are   unique   within   the   series   of
  1649.                  hierarchically related profiles to which this profile belongs.
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.          PAGE36  styleref head_footRecommendation T.502
  1715.                6.6.2  Alternative representation
  1716.                The content information in a content portion may be replaced  by  a  string
  1717.          of characters specified  in  the  attribute  "alternative  representation".  This
  1718.          attribute may be specified in content portions.
  1719.                The specification and use of this attribute  is  optional.  The  string  of
  1720.          characters specified must belong to the character repertoires  indicated  in  the
  1721.          document profile  attribute  "alternative  representation  character  sets"  (see
  1722.          S 6.7.4.3). If the latter attribute is not explicitly specified in  the  document
  1723.          profile, then the default character set is the minimum subrepertoire of ISO 6937 
  1724.          2. The control functions CR and LF may also be used within the  character  string
  1725.          but no other control function is allowed; hence graphic character set  cannot  be
  1726.          changed in the attributes "alternative representation".
  1727.          6.6.3  Page numbering
  1728.                As described in S 6.2.4.3, the constituent constraint  PageNumber  contains
  1729.          a content generator which may refer to a page number. This content  generator  is
  1730.          evaluated when the document is laid out and this mechanism provides  a  means  of
  1731.          reproducing the appropriate number of each page of a document.
  1732.                The content generator has the following format:
  1733.                <string-literal><num-expr><string-literal>
  1734.                The  format  of  this  content  generator   is   defined   in   the   macro
  1735.          HEADERFOOTERSTRING (see S 7.3.1).
  1736.                The <string-literal> fields  are  optional  and  are  predefined  character
  1737.          strings. The basic character repertoire used to  specify  these  strings  is  the
  1738.          primary character repertoire of ISO 8859-1. Any other character  repertoire,  and
  1739.          subrepertoire if appropriate, may be used provided  that  it  is  designated  and
  1740.          invoked by the appropriate code extension announcer and indicated in the document
  1741.          profile as a non-basic value. No other control functions may  be  used  in  these
  1742.          strings.
  1743.                The field <num-expr> is a reference to a binding PGnum which specifies  the
  1744.          number of the page concerned. This binding is initialized at the document  layout
  1745.          root  or  page  set  level  (see  the  macro  INITIALIZEPGNUM  in  S  7.4.1)  and
  1746.          automatically incremented on each successive page (see the  macro  PAGENUMBER  in
  1747.          S 7.4.1).
  1748.                The content associated with logical object classes of the  type  PageNumber
  1749.          is laid out in a frame of the following types: BasicHeader  or  BasicFooter  (see
  1750.          S 6.3.6) using the logical source mechanism. Thus when the appropriate  frame  is
  1751.          being laid out, the field <num-expr> in the  content  generator  contained  in  a
  1752.          logical object class of the type PageNumber is evaluated and this determines  the
  1753.          value of the binding PGnum that is associated with the current  page  being  laid
  1754.          out.
  1755.                The number associated with binding PGnum is applied to  a  string  function
  1756.          during its evaluation in order to convert the number  into  a  character  string.
  1757.          This enables the number to be represented  in  the  form  of  an  Arabic  numeric
  1758.          string, an upper or lower case Roman numeric string or an  upper  or  lower  case
  1759.          alphabetic string.
  1760.                Each page class can  refer  to  a  different  instance  of  logical  object
  1761.          classes of the type PageNumber and this allows different page  numbering  formats
  1762.          to be used for different parts of the document.
  1763.                An  example  of  page  numbering  is  "Page  X"  which  consists   of   two
  1764.          concatenated character strings. The first is the literal character string  "Page"
  1765.          and this is concatenated to a  string  function  denoted  by  "X".  When  "X"  is
  1766.          evaluated in a particular instance it may,  for  example,  return  the  character
  1767.          string "iv", the Roman numerical (lower case) for the number "4".
  1768.          6.6.4  User readable comments
  1769.                Information  which  is  to  be  interpreted   as   comments   relevant   to
  1770.          constituents and associated content portions may be specified using the attribute
  1771.          "user readable comments".  This  information  is  intended  for  presentation  to
  1772.          humans.
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.                                                  styleref head_footRecommendation 
  1787.          T.502  PAGE37
  1788.                The information consists of a string of characters  which  must  belong  to
  1789.          one of the character repertoires indicated  in  the  document  profile  attribute
  1790.          "comment character sets"  (see  S  6.7.4.2).  If  the  latter  attribute  is  not
  1791.          explicitly specified, then the default character set is the minimum subrepertoire
  1792.          of ISO 6937-2. The control functions CR, LF and code extension control  functions
  1793.          may also be used within the character string but no  other  control  function  is
  1794.          allowed.
  1795.          6.6.5  User visible name
  1796.                Information which may be used to identify constituents  within  a  document
  1797.          may be specified using the attribute "user visible  name".  This  information  is
  1798.          intended for presentation to humans, for example, to assist  in  the  editing  of
  1799.          documents.
  1800.                The information consists of a string of characters  which  must  belong  to
  1801.          one of the character repertoires indicated  in  the  document  profile  attribute
  1802.          "comment character sets"  (see  S  6.7.4.2).  If  the  latter  attribute  is  not
  1803.          explicitly specified, then the default character set is the minimum subrepertoire
  1804.          of ISO 6937-2. The control functions CR, LF and code extension control  functions
  1805.          may also be used within the character string but no  other  control  function  is
  1806.          allowed.
  1807.          6.7    Document management features
  1808.                Information relating to the  document  as  a  whole  is  specified  in  the
  1809.          document profile which is represented by the  constituent  DocumentProfile.  This
  1810.          constituent must be specified in every document.
  1811.                The information in the document profile is classified  into  the  following
  1812.          categories:
  1813.                i)  document constituent information;
  1814.                ii) document identification information;
  1815.                iii)   document default information;
  1816.                iv) non-basic characteristics information;
  1817.                v)  document management information.
  1818.                The information in the document profile may be of interest to the  user  or
  1819.          may be used for machine processing of the document.
  1820.          6.7.1  Document constituent information
  1821.                This information specifies which constituents are  used  to  represent  the
  1822.          document.
  1823.          6.7.1.1  Presence of document constituents
  1824.                This  information  indicates  which  constituents  are  included   in   the
  1825.          document. That is,  this  information  indicates  whether  or  not  the  document
  1826.          contains a generic logical structure, a specific  logical  structure,  a  generic
  1827.          layout structure, a specific layout structure,  layout  styles  and  presentation
  1828.          styles. It is mandatory to specify this information in the document profile.
  1829.          6.7.2  Document identification information
  1830.                This information relates  to  the  identification  of  the  document.  This
  1831.          information is divided into six categories.
  1832.          6.7.2.1  Document application profile information
  1833.                This information indicates the document application profile  to  which  the
  1834.          document belongs. It is mandatory to specify this information using the attribute
  1835.          "document application profile".
  1836.          6.7.2.2  Document architecture class information
  1837.                This information indicates the document architecture  class  to  which  the
  1838.          document belongs (see S 6.1). It is mandatory to specify this  information  using
  1839.          the attribute "document architecture class".
  1840.          6.7.2.3  Content architecture class information
  1841.                This information indicates the  content  architecture  class  used  in  the
  1842.          document (seeS  6.5.2). It is mandatory to specify  this  information  using  the
  1843.          attribute "content architecture class".
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.          PAGE36  styleref head_footRecommendation T.502
  1860.          6.7.2.4   Interchange format class information
  1861.                This information indicates the interchange format class used  to  represent
  1862.          the document (see S 8). It is mandatory to specify  this  information  using  the
  1863.          attribute "interchange format class".
  1864.          6.7.2.5  ODA version information
  1865.                This information indicates the ISO  standard  or  CCITT  Recommendation  to
  1866.          which the document conforms. It also specifies a calendar date,  which  indicates
  1867.          that the  document  conforms  to  the  version  of  the  ISO  standard  or  CCITT
  1868.          Recommendation and any addenda that are current on that date. It is mandatory  to
  1869.          specify this information using the attribute "ODA version".
  1870.          6.7.2.6  Document reference
  1871.                This  information  serves  to  identify  the   document.   Typically   this
  1872.          information is allocated to the document by the  creator  of  the  document.  The
  1873.          identifier may consist of an ASN.1 object identifier or string of characters.  It
  1874.          is  mandatory  to  specify  this  information  using  the   attribute   "document
  1875.          reference".
  1876.          6.7.3  Document default information
  1877.                This information specifies various default values for  attributes  used  in
  1878.          the document. The default values that are allowed are specified  in  the  various
  1879.          subclauses of S 6 of this profile. The specification of this information is  only
  1880.          required when it is required to specify a default value which is other  than  the
  1881.          standard default value specified in T.410-Series  of  CCITT  Recommendations/[ISO
  1882.          8613].
  1883.                Default values for the following groups of attributes can be specified:
  1884.                ù   document architecture attributes,
  1885.                ù   character content attributes.
  1886.          6.7.4  Non-basic characteristics information
  1887.                This information specifies the non-basic attribute values specified in  the
  1888.          document. It is mandatory to  specify  a  non-basic  attribute  in  the  document
  1889.          profile when such a value is used in the document.
  1890.                The following types of non-basic attributes can be specified:
  1891.                ù   profile character sets;
  1892.                ù   comment character sets;
  1893.                ù   alternative representation character sets;
  1894.                ù   page dimensions;
  1895.                ù   medium-type;
  1896.                ù   character presentation features.
  1897.                Further  information  concerning  document  profile,  comment  profile  and
  1898.          alternative representation character sets is given below.
  1899.          6.7.4.1  Profile character sets
  1900.                Some document  profile  attributes  have  values  consisting  of  character
  1901.          strings, for example, the document  management  attributes.  The  character  sets
  1902.          assumed to be designated and invoked at the beginning of these character  strings
  1903.          are specified by the document profile attribute "profile character sets".
  1904.                The character sets  that  are  designated  and  invoked  by  the  attribute
  1905.          "profile character sets" are subject to the following restrictions:
  1906.                i)  G0 set: only IRV of ISO 646 (revised 1990), the primary set of ISO 6937- 
  1907.                   2 and a version of ISO 646  may  be  designated  for  this  set;  these
  1908.                   graphic character sets may only be invoked in GL.
  1909.                ii) G1, G2, G3 sets: no restrictions are placed on the  graphic  character
  1910.                   sets that may be designated for these  sets;  these  graphic  character
  1911.                   sets may only be invoked in GR.
  1912.                iii)   The empty set must be designated into G1 and invoked into GR if  no
  1913.                   further specific character set is invoked into GR.
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.                                                  styleref head_footRecommendation 
  1932.          T.502  PAGE37
  1933.                If the attribute "profile  character  sets"  is  not  specified,  then  the
  1934.          character set designated and invoked is assumed to be the  minimum  subrepertoire
  1935.          of ISO 6937-2.
  1936.                When the Teletex subrepertoire of ISO 6937-2 is  needed,  the  primary  set
  1937.          and the supplementary set of Recommendation T.61 are designated  and  invoked  in
  1938.          this attribute.
  1939.          6.7.4.2  Comment character sets
  1940.                The character sets assumed to have  been  designated  and  invoked  at  the
  1941.          beginning of the character strings specified by  the  attributes  "user  readable
  1942.          comments" (see S 6.6.4) and "user visible name" (see S 6.6.5) are specified using
  1943.          the document profile attribute "comment character sets".
  1944.                It also specifies code extension techniques and the graphic character  sets
  1945.          which may be used in the attribute "user readable  comments"  and  "user  visible
  1946.          name".
  1947.                If this attribute is specified, the code extension techniques which may  be
  1948.          used in the "user readable comments" and "user visible name" should be  announced
  1949.          by appropriate code extension announcers. The use of G0 set and LS0 should always
  1950.          be announced. Other code extension announcers are to be  specified  according  to
  1951.          the requirements of a particular document.
  1952.                The restriction on the use of  code  extension  techniques  as  defined  in
  1953.          S 6.5.4 is also applied.
  1954.                All the graphic character sets which may be used  in  the  attribute  "user
  1955.          readable comments" and "user visible name" should be designated in  the  "comment
  1956.          character sets".
  1957.                There are no restrictions concerning the numbers of graphic character  sets
  1958.          which are designated and/or invoked  in  the  "comment  character  sets";  hence,
  1959.          designation to the same G set overrides the previous G set and invocation to  the
  1960.          same GL or GR overides the previous GL or GR.
  1961.                If the attribute "comment  character  sets"  is  not  specified,  then  the
  1962.          character set designated and invoked is assumed to be the  minimum  subrepertoire
  1963.          of ISO 6937-2.
  1964.                When the Teletex subrepertoire of ISO 6937-2 is  needed,  the  primary  set
  1965.          and the supplementary set of Recommendation T.61 are designated  and  invoked  in
  1966.          this attribute.
  1967.          6.7.4.3  Alternative representation character sets
  1968.                This attribute specifies the graphic character sets designated and  invoked
  1969.          at the beginning of the attribute "alternative  representation"  other  than  the
  1970.          standard default graphic character sets.
  1971.                The restriction on graphic character sets described in S  6.7.4.1  is  also
  1972.          applied.
  1973.                If this attribute is not explicitly specified in the document profile,  the
  1974.          minimum subrepertoire of  ISO  6937-2  is  used  in  the  attribute  "alternative
  1975.          representation".
  1976.                When the Teletex subrepertoire of ISO 6937-2 is  needed,  the  primary  set
  1977.          and the supplementary set of Recommendation T.61 are designated  and  invoked  in
  1978.          this attribute.
  1979.          6.7.5  Document management attributes
  1980.                Document management attributes contain information  about  the  content  or
  1981.          the document and its purpose.  Information  relating  to  the  following  may  be
  1982.          specified:
  1983.                ù   document description (see Note);
  1984.                ù   dates and times;
  1985.                ù   originators;
  1986.                ù   other user information;
  1987.                ù   external references;
  1988.                ù   local file references;
  1989.                ù   content attributes;
  1990.                ù   security information.
  1991.                The attributes that may be used to specify this information are defined  in
  1992.          [CCITT Recommendation T.414/ISO 8613-4].
  1993.                The string of characters used in the document  management  attributes  must
  1994.          belong to the character set indicated in the document profile attribute  "profile
  1995.          character sets" (see S 6.7.4.1).  If  the  latter  attribute  is  not  explicitly
  1996.          specified in the document profile, then the default character set is the  minimum
  1997.          subrepertoire of ISO 6937-2.
  1998.                The control functions SP, CR and LF may also be used within  the  character
  1999.          strings but no other control function is allowed;  hence  graphic  character  set
  2000.          cannot be changed in the document management attributes.
  2001.                Note ù The document description includes the specification of the  document
  2002.          reference (see S 6.7.2.6).
  2003.  
  2004.          PAGE36  styleref head_footRecommendation T.502
  2005.          7      Specification of constituent constraints
  2006.                This section specifies  the  definitions  of  the  constituent  constraints
  2007.          which can be represented by data streams conforming to this profile.
  2008.          7.1    Introduction
  2009.                The  structure  diagram  illustrating   the   relationships   between   the
  2010.          constituents in the logical structures are shown in Figures 6/T.502 and  7/T.502.
  2011.          The macros indicated on these diagrams are  defined  in  S  7.3.1.  These  macros
  2012.          define the permissible values for  the  "generator  for  subordinates"  that  are
  2013.          applicable to the constituents and, in effect, define the allowed structures that
  2014.          are supported by this profile.
  2015.                The structure diagram illustrating  the  layout  structures  are  shown  in
  2016.          Figures 8/T.502 and 9/T.502. The macros indicated on these diagrams  are  defined
  2017.          in S 7.4.1.
  2018.                                           FIGURE 6/T.502 = 11,5 cm
  2019.  
  2020.                                            FIGURE 7/T.502 = 8,5 cm
  2021.  
  2022.                                           FIGURE 8/T.502 = 10,5 cm
  2023.  
  2024.                                            FIGURE 9/T.502 = 6,5 cm
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.                                                  styleref head_footRecommendation 
  2077.          T.502  PAGE37
  2078.                  7.2    Document profile constraints
  2079.           7.2.1  Macro definitions
  2080.                DEFINE(FC,       "ASN.1{28260}"         -- formatted character content  --)
  2081.               DEFINE(PC,      "ASN.1{28261}"        -- processable character content  - 
  2082.           -)
  2083.               DEFINE(FPC, "ASN.1{28262}"     -- formatted processable character content  - 
  2084.           -)
  2085.              DEFINE(FDA,     "{'formatted'}")
  2086.               DEFINE(PDA,     "{'processable'}")
  2087.               DEFINE(FPDA,        "{'formatted-processable'}")
  2088.               DEFINE(PDA-FPDA,    "{'processable' | 'formatted- 
  2089.           processable'}")
  2090.              DEFINE (DAC,    "DocumentProfile (Document-architecture- 
  2091.           class)")
  2092.              DEFINE(GLAS,    "DocumentProfile(Generic-layout-structure)") 
  2093.              DEFINE(COMPLETE,    "{'complete-generator-set'} ")
  2094.              DEFINE(BasicPageDimensions, "
  2095.                      | {REQ #horizontal-dimension
  2096.                             {REQ #fixed-dimension {<=9240}},
  2097.                       | {REQ #vertical-dimension
  2098.                             {REQ #fixed-dimension {<=12400}}}
  2099.                       | {REQ #horizontal-dimension
  2100.                             {REQ #fixed-dimension {<=12400}},
  2101.                       | {REQ #vertical-dimension
  2102.                             {REQ #fixed-dimension {<=9240}}}
  2103.                             ")
  2104.           --  Any size equal to or smaller than CARA (Common Assured Reproduction Area) of 
  2105.           ISO A4 and  --
  2106.           --  NAL. Both Landscape and Portrait may be specified.  --
  2107.                DEFINE(NonBasicPageDimensions,       "
  2108.                      | {REQ #horizontal-dimension
  2109.                             {REQ #fixed-dimension {9241..14030}},
  2110.                       | {REQ #vertical-dimension
  2111.                             {REQ #fixed-dimension {12401..19840}} }
  2112.                       | {REQ #horizontal-dimension
  2113.                             {REQ #fixed-dimension {12401..19840}},
  2114.                       | {REQ #vertical-dimension
  2115.                             {REQ #fixed-dimension {9241..14030}} } 
  2116.                       | {REQ #horizontal-dimension
  2117.                             {REQ #fixed-dimension {9241..13200}},
  2118.                       | {REQ #vertical-dimension
  2119.                             {REQ #fixed-dimension {12401..20400}} }
  2120.                       | {REQ #horizontal-dimension
  2121.                             {REQ #fixed-dimension {12401..20400}},
  2122.                       | {REQ #vertical-dimension
  2123.                             {REQ #fixed-dimension {9241..13200}} }
  2124.                            ")
  2125.           --  Any size equal to or smaller than the full size of ISO A3 or ANSI-B and 
  2126.           larger than the range  --
  2127.           --  of basic values. Both Landscape and Portrait may be specified.  
  2128.           --
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.           PAGE36  styleref head_footRecommendation T.502
  2150.               DEFINE(PermissiblePageDimensions, "$BasicPageDimensions
  2151.                            $NonBasicPageDimensions")
  2152.               DEFINE(NonBasicNominalPageSize,
  2153.                     "{REQ #horizontal-dimension {14030},
  2154.                      "{REQ #vertical-dimension {19840}                    --  ISO A3 portrait  --}
  2155.                  | {REQ #horizontal-dimension {19840},
  2156.                  | {REQ #vertical-dimension {14030}         --  ISO A3 landscape  
  2157.          --}
  2158.                  | {REQ #horizontal-dimension {9920},
  2159.                  | {REQ #vertical-dimension {14030}         --  ISO A4 portrait   - 
  2160.          -}
  2161.                  | {REQ #horizontal-dimension {14030},
  2162.                  | {REQ #vertical-dimension {9920}          --  ISO A4 landscape  - 
  2163.          -}
  2164.                  | {REQ #horizontal-dimension {7015},
  2165.                   { REQ #vertical-dimension {9920}          --  ISO A5 portrait  -- 
  2166.          }
  2167.                  | {REQ #horizontal-dimension {9920},
  2168.                  | {REQ #vertical-dimension {7015}          --  ISO A5 landscape  - 
  2169.          -}
  2170.                  | {REQ #horizontal-dimension {12141},
  2171.                  | {REQ #vertical-dimension {17196}         --  JIS B4 (Japanese 
  2172.          legal) portrait  --}
  2173.                  | {REQ #horizontal-dimension {17196},
  2174.                  | {REQ #vertical-dimension {12141}         --  JIS B4 (Japanese 
  2175.          legal) landscape  --}
  2176.                  | {REQ #horizontal-dimension {8598},
  2177.                  | {REQ #vertical-dimension {12141}         --  JIS B5 (Japanese 
  2178.          letter) portrait  --}
  2179.                  | {REQ #horizontal-dimension {12141},
  2180.                  | {REQ #vertical-dimension {8598}          --  JIS B5 (Japanese 
  2181.          letter) landscape  --}
  2182.                  | {REQ #horizontal-dimension {10200},
  2183.                  | {REQ #vertical-dimension {16800}         --  ANSI  legal 
  2184.          portrait   --}
  2185.                  | {REQ #horizontal-dimension {16800},
  2186.                  | {REQ #vertical-dimension {10200}         --  ANSI legal 
  2187.          landscape  --}
  2188.                  | {REQ #horizontal-dimension {10200},
  2189.                  | {REQ #vertical-dimension {13200}         --  ANSI-A(NAL) 
  2190.          portrait  --}
  2191.                  | {REQ #horizontal-dimension {13200},
  2192.                  | {REQ #vertical-dimension {10200}         --  ANSI-A(NAL) 
  2193.          landscape  --}
  2194.                  | {REQ #horizontal-dimension {13200},
  2195.                  | {REQ #vertical-dimension {20400}         --  ANSI-B portrait  -- 
  2196.          }
  2197.                  | {REQ #horizontal-dimension {20400},
  2198.                  | {REQ #vertical-dimension {13200}         --  ANSI-B landscape   
  2199.          --}
  2200.                           ")
  2201.               DEFINE(GRAPHICRENDITIONS,  "
  2202.                     {'cancel' | 'increased-intensity' | 'italicised' | 'underlined' | 'crossed-out'
  2203.                      | 'normal-intensity' | 'not-italicised' | 'not-underlined' | 'not-crossed-out'} 
  2204.          ...
  2205.                            ")
  2206.                     --  Permissible values of graphic renditions  --
  2207.          --  Macro defining permissible code extension announcer. This macro 
  2208.          may be used in each  --
  2209.          --  constituent constraint or presentation style constraint. Note 
  2210.          that all the values are basic.   --
  2211.               DEFINE(CDEXTAN,
  2212.                     "ESC 02/00 05/00,                          --  Use G0 & LS0  --
  2213.                  [ESC 02/00 05/03],                      --  Use G1 & LS1R  --
  2214.                  [ESC 02/20 05/05],                      --  Use G2 & LS2R  --
  2215.                  [ESC 02/00 05/07],                      --  Use G3 & LS3P  --
  2216.                  [ESC 02/00 05/10],                      --  Use G2 & SS2  --
  2217.                  [ESC 02/00 05/11],                      --  Use G3 & SS3  --     
  2218.                     ")
  2219.  
  2220.  
  2221.                                                  styleref head_footRecommendation 
  2222.          T.502  PAGE37
  2223.          --  Macro defining code extension announcer for DAP defaults  --
  2224.               DEFINE(DAP-DEFAULT-CDEXTAN,     "$CDEXTAN")
  2225.                     --   Same constraint as CDEXTAN  --
  2226.          --  Macros defining final character for designation  --
  2227.               DEFINE(FCORE,   "04/02"
  2228.                     --  The 94 characters of the IRV of ISO 646 (revised 1990) plus the character 
  2229.          space (i.e. ASCII)  --)
  2230.               DEFINE(F646,
  2231.                     "--  A final character designating any version of ISO 646 
  2232.          except 04/02  --")
  2233.               DEFINE(F94S,    
  2234.                     "--  A final character designating any registered 94 single 
  2235.          byte graphic character set  --")
  2236.               DEFINE(F94M,
  2237.                     "--  A final character designating any registered 94 multti 
  2238.          byte graphic character set  --")
  2239.               DEFINE(F96S,
  2240.                     "--  A final character designating any registered 96 single 
  2241.          byte graphic character set  --")
  2242.               DEFINE(F96M,
  2243.                     "--  A final character designating any registered 96 multi 
  2244.          byte graphic character set  --")
  2245.               DEFINE(FEMPTY, "07/14"
  2246.                     --   The empty set  --)
  2247.          --  Macros defining designation sequences  --
  2248.               DEFINE(DEG-CORE-G0, "ESC 02/08$FCORE")
  2249.                     --  Designate 94 characters of the IRV of ISO 646 to G0   --
  2250.               DEFINE(DEG-646-G0, "ESC 02/08$F646")
  2251.                     --  Designate any version of ISO 646, except 04/02, to G0  --
  2252.               DEFINE(DEG-ANY-G1,
  2253.                     "{ESC 02/09$F94S | ESC 02/04 02/09$F94M
  2254.                      | ESC 02/13$F96S | ESC 02/04 02/13$F96M}
  2255.                     ")
  2256.                     --  Designate any character set to G1  --
  2257.               DEFINE(DEG-ANY-G2,
  2258.                     "{ESC 02/10$F94S | ESC 02/04 02/10$F94M
  2259.                     | ESC 02/14$F96S | ESC 02/04 02/14$F96M}
  2260.                           ")
  2261.                     --  Designate any character set to G2  --
  2262.               DEFINE(DEG-ANY-G3,
  2263.                     "{ESC 02/11$F94S | ESC 02/04 02/11$F94M
  2264.                      | ESC 02/15$F96S | ESC 02/04 02/15$F96M}
  2265.                           ")
  2266.                     --  Designate any character set to G3  --
  2267.               DEFINE(DEG-EMPTY-G1, "ESC 02/09$FEMPTY")
  2268.                     --  Designate the empty set to G1  --
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.          PAGE36  styleref head_footRecommendation T.502
  2295.          --  Macros defining shift functions  --
  2296.               DEFINE(LS0,     "00/15")
  2297.                     --  Locking shift invoking G0 -> GL  --
  2298.               DEFINE(LS1R,    "ESC 07/14")         
  2299.                     --  Locking shift invoking G1 -> GR  --
  2300.               DEFINE(LS2R,    "ESC 07/13")         
  2301.                     --  Locking shift invoking G2 -> GR  --
  2302.               DEFINE(LS3R,    "ESC 07/12")         
  2303.                     --  Locking shift invoking G3 -> GR   --
  2304.               DEFINE(SS2,           "08/14")
  2305.                     --  Single shift invoking G2 -> GL  --
  2306.               DEFINE(SS3,           "08/15")
  2307.                     --  Single shift invoking G3 -> GL  --
  2308.          --  Macro defining permissible graphic character sets. This macro may  be used in 
  2309.          each constituent  --
  2310.          --  constraint or presentation style constraint. --  
  2311.               DEFINE(PERMIT-GRCHAR,
  2312.                     "{$DEG-CORE G0 $LS0 | $DEG-646-G0 $LS0 },
  2313.                     {{$DEG-ANY G1 $LS1R
  2314.                     | $DEG-ANY-G2 $LS2R
  2315.                     | $DEG-ANY-G3 $LS3R}...
  2316.                     | $DEG-EMPTY-G1 $LS1R}
  2317.                           ")
  2318.          --  Macro defining graphic character sets for DAP defaults  --
  2319.               DEFINE(DAP-DEFAULT-GRCHAR, "$PERMIT-GRCHAR")
  2320.                     --  Same constraint as PERMIT-GRCHAR  --
  2321.          --  Macro defining basic graphic character sets. Note that this 
  2322.          macro is defined for clarification of  --
  2323.          --  the specification and is not to be used in any other part of 
  2324.          this DAP specification.  --
  2325.               DEFINE(BASIC-GRCHAR,
  2326.                     "$DEG-CORE-G0 $LS0
  2327.                     "$DEG-EMPTY-G1 $LS1R
  2328.                           ")
  2329.          --  Macro defining non-basic graphic character sets  --
  2330.               DEFINE(NON-BASIC-GRCHAR,
  2331.                     "{$DEG-646-G0
  2332.                     |{$DEG-ANY-G1
  2333.                     |{$DEG-ANY-G2
  2334.                     |{$DEG-ANY-G3}...
  2335.                           ")
  2336.          --  Macro defining character sets used in document profile 
  2337.          attributes  --
  2338.               DEFINE(PROFCHAR,
  2339.                     "{$DEG-CORE G0 $LS0 | $DEG-646-G0 $LS0},
  2340.                     "{$DEG-ANY G1 $LS1R
  2341.                     |  $DEG-ANY-G2 $LS2R
  2342.                     |  $DEG-ANY-G3 $LS3R
  2343.                     |  $DEG-EMPTY-G1 $LS1R}
  2344.                           ")
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.                                                  styleref head_footRecommendation 
  2367.          T.502  PAGE37
  2368.           --  Macro defining comment character sets  --
  2369.                DEFINE(COMCHAR,
  2370.                      "{ESC 02/00 05/00               --  Use G0 & LS0 --
  2371.                  "[ESC 02/00 05/03],             --  Use G1 & LS1R --
  2372.                  "[ESC 02/00 05/05],             --  Use G2 & LS2R --
  2373.                  "[ESC 02/00 05/07],             --  Use G3 & LS3R --
  2374.                  "[ESC 02/00 05/10],             --  Use G2 & SS2 --
  2375.                  "[ESC 02/00 05/11]   }, --  Use G3 & SS3 --
  2376.                      {{$DEG-CORE-G0 [$LS0] | $DEG-646-G0 [$LS0]},
  2377.                      {{$DEG-ANY-G1 [$LS1R]
  2378.                      {| $DEG-ANY-G2 [$LS1R]
  2379.                      {| $DEG-ANY-G3 [$LS1R]} ...
  2380.                      {| $DEG-EMPTY-G1 $LS1R}
  2381.                            ")
  2382.           --  Macro defining character sets used for alternative 
  2383.           representation  --
  2384.                DEFINE(ALTCHAR, "$PROFCHAR")
  2385.                      --  Same constraint as PROFCHAR  --
  2386.           7.2.2  Constituent constraints
  2387.           7.2.2.1  DocumentProfile  {
  2388.                CASE $DAC OF {
  2389.                      $FDA: PERM        Generic-layout-structure              {'factor-set'},
  2390.                            REQ         Specific-layout-structure             {'present'},
  2391.                            PERM        Presentation-styles                       {'present'}
  2392.                      $PDA: PERM        Generic-layout-structure              {'complete-generator-set'},
  2393.                            REQ         Generic-logical-structure             {'complete-generator-set'},
  2394.                            REQ         Specific-logical-structure            {'present'},
  2395.                            PERM        Presentation-styles                       {'present'},
  2396.                            PERM        Layout-styles                         {'present'}
  2397.                      $FDA: REC         Generic-layout-structure              {'complete-generator-set'},
  2398.                            REQ         Specific-layout-structure             {'present'},
  2399.                            REQ         Generic-logical-structure             {'complete-generator-set'},
  2400.                            REQ         Generic-logical-structure             {'present'},
  2401.                            PERM        Presentation-styles                       {'present'},
  2402.                            REQ         Layout-styles                         {'present'}
  2403.                            },
  2404.           --  Document characteristics  --
  2405.                REQ   Document-application-profile
  2406.                      {--  to be supplied  --},
  2407.                PERM Document-application-profile-defaults      {
  2408.                      CASE $DAC OF  {
  2409.                            {$FDA}: {PERM   #content-architecture-classe    {$FC | $FPC}
  2410.                            {$PDA}: {PERM   #content-architecture-classe    {$PC | $FPC | $FC}
  2411.                            {$FPDA}:   {PERM #content-architecture-classe    {$FPC | $FC}     
  2412.                            },
  2413.                      PERM  #dimensions    {$PermissiblePageDimensions},
  2414.                            --  Any ARA (Assured Reproduction Area) of permissible 
  2415.           values --
  2416.                      PERM  #medium-type   {PERM #nominal-page-size
  2417.                                              {PERM {$NonBasicNominalPageSize},
  2418.                                              {PERM #side-of-sheet{ANY_VALUE}
  2419.                            },
  2420.                            --  Any permitted medium type. Both landscape and 
  2421.           portrait may be specified  --
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.           PAGE36  styleref head_footRecommendation T.502
  2440.               PERM  #character-content-defaults {
  2441.               PERPERM          #alignment                       {ANY_VALUE},
  2442.               PERPERM          #character-path                 {'0-degrees' | '180-degrees'},
  2443.               PERPERM          #character-spacing              {80 | 100 | 120 | 160 | 200},
  2444.               PERPERM          #code-extension-announcers      {$DAP-DEFAULT-CDEXTAN},
  2445.               PERPERM          #first-line-offset              {ANY_VALUE},
  2446.               PERPERM          #graphic-character-sets                    {$DAP-DEFAULT-GRCHAR},
  2447.               PERPERM          #graphic-character-subrepertoire          {ANY VALUE} 
  2448.               PERPERM          #graphic rendition              {$GRAPHICRENDITIONS},
  2449.               PERPERM          #itemisation                               {ANY_VALUE},
  2450.               PERPERM          #line-layout-table              {ANY_VALUE},
  2451.               PERPERM          #line-spacing                   {100 | 150 | 200 | 300 | 400},
  2452.               PERPERM          #initial-offset                 {ANY_VALUE},
  2453.               PERPERM          #indentation                               {ANY_VALUE},
  2454.               PERPERM          #orphan-size                               {ANY_VALUE},
  2455.               PERPERM          #widow-size                                {ANY_VALUE} }
  2456.                           },
  2457.               REQ   Document-architecture-class     {$FDA | $PDA | $FPDA },
  2458.               REQ   Content-architecture-classes    {[$FC], [$PC], [$FPC]},
  2459.               REQ   Interchange-format-class                   {'if-a'},
  2460.               REQ   Oda-version                                 {REQ #standard-or-recommendation{"ISO 
  2461.          8613"},
  2462.                                                        {PERM #publication-date{"--  to be supplied  - 
  2463.          -}},
  2464.          --  Non-basic document characteristics  --
  2465.               PERM        Profile-character-sets     {$PROFCHAR},
  2466.               PERM        Comments-character-sets    {$COMCHAR},
  2467.               PERM        Alternative-representation
  2468.                                       -character-sets {$ALTCHAR},
  2469.               PERM        Page-dimensions            {PMUL {$NonBasicPageDimensions}},
  2470.               PERM        Medium-types               {PMUL {PERM #nominal-page-size
  2471.                                                        {PMUL {$NonBasicNominalPageSize},
  2472.                                                        {PERM #side-of-sheet{'recto' | 'verso'}}
  2473.                           },
  2474.               PERM Presentation-features {
  2475.               PERPERM    #character-presentation-features {
  2476.               PERPERPERM #character-path            {'180-degrees'},
  2477.               PERPERPMUL #graphic-character-sets               {$NON-BASIC-GRCHAR},
  2478.               PERPERPMUL #graphic-character-subrepertoire     {ANY_VALUE},
  2479.               PERPERPMUL #character-spacing                    {80 | 100 | 160 | 200},
  2480.               PERPERPMUL #line-spacing              {100 | 150},
  2481.               PERPERPMUL #graphic-rendition                    {'crossed-out'
  2482.                                                                   | 'not-crossed-out'} }
  2483.                           },
  2484.          --  Document management attributes  --
  2485.          --  Document description  --
  2486.               PERM        Title                        {ANY_VALUE},
  2487.               PERM        Subject                     {ANY_VALUE},
  2488.               PERM        Document-type              {ANY_VALUE},
  2489.               PERM        Abstract                    {ANY_VALUE},
  2490.               PERM        Keywords                    {ANY_VALUE},
  2491.               REQ         Document-reference         {ANY_VALUE},
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.                                                  styleref head_footRecommendation 
  2512.          T.502  PAGE37
  2513.           --  Dates and times  --
  2514.                PERM        Document-date-and-time     {ANY_VALUE},
  2515.                PERM        Creation-date-and-time     {ANY_VALUE},
  2516.                PERM        Local-filing-date-and-time {ANY_VALUE},
  2517.                PERM        Expiry-date-and-time       {ANY_VALUE},
  2518.                PERM        Start-date-and-time                   {ANY_VALUE},
  2519.                PERM        Purge-date-and-time        {ANY_VALUE},
  2520.                PERM        Release-date-and-time      {ANY_VALUE},
  2521.                PERM        Revision-history                      {ANY_VALUE},
  2522.           --  Originators  --
  2523.                PERM        Organizations              {ANY_VALUE},
  2524.                PERM        Preparers                   {ANY_VALUE},
  2525.                PERM        Owners                      {ANY_VALUE},
  2526.                PERM        Authors                     {ANY_VALUE},
  2527.           --  Other user information  --
  2528.                PERM        Copyright                   {ANY_VALUE},
  2529.                PERM        Status                                 {ANY_VALUE},
  2530.                PERM        User-specific-codes        {ANY_VALUE},
  2531.                PERM        Distribution-list                     {ANY_VALUE},
  2532.                PERM        Additional-information     {ANY_VALUE},
  2533.           --  External references  --
  2534.                PERM        Reference-to-other-documents         {ANY_VALUE},
  2535.                PERM        Superseded-documents       {ANY_VALUE},
  2536.           --  Local file references  --
  2537.                PERM        Local-file-references      {ANY_VALUE},
  2538.           --  Content attributes  --
  2539.                PERM        Document-size              {ANY_VALUE},
  2540.                PERM        Number-of-pages            {ANY_VALUE},
  2541.                PERM        Languages                   {ANY_VALUE},
  2542.           --  Security information  --
  2543.                PERM        Authorization              {ANY_VALUE},
  2544.                PERM        Security-classification    {ANY_VALUE},
  2545.                PERM        Access-rights              {ANY_VALUE}
  2546.                            }
  2547.           7.3    Logical constituent constraints
  2548.           7.3.1  Macro definitions
  2549.                DEFINE(DocumentLogicalRootGFS, "
  2550.                DEF<construction-expr>::=             REP        OBJECT_CLASS_ID_OF(Passage);
  2551.                            ")
  2552.                DEFINE(PassageGFS,"
  2553.                DEF<construction-expr>::=             REP        OBJECT_CLASS_ID_OF(Body Text);
  2554.                            ")
  2555.                DEFINE(CommonContentGFS, "
  2556.                DEF<construction-expr>::=             <construction-factor> | SEQ(<construction- 
  2557.           factor>...);
  2558.                DEF<construction-factor>::=                     OBJECT_CLASS_ID_OF_(PageNumber)
  2559.                                                         | OBJECT_CLASS_ID_OF_(CommonText);
  2560.                            ")
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.           PAGE36  styleref head_footRecommendation T.502
  2585.               DEFINE(HEADERFOOTERSTRING, "
  2586.               DEF<string-expr>::=[ANY_STRING]{<str-exp>}[ANY_STRING];
  2587.               DEF<str-exp>    ::=   | MAKE-STRING(<num-exp>)
  2588.                                       | UPPER-ALPHA(<num-exp>)
  2589.                                       | LOWER-ALPHA(<num-exp>)
  2590.                                       | UPPER-ROMAN(<num-exp>)
  2591.                                       | LOWER-ROMAN(<num-exp>);
  2592.               DEF<num-exp>    ::= B_REF(SUP(CURR-INST8FRAME,CURR-OBJ)))(""PGnum"");
  2593.                           ")
  2594.               DEFINE(DocumentLogicalRoot,
  2595.               DEF"REQ                #constraint-name {""0""},
  2596.               DEFPERM                #external-data {ANY_VALUE}
  2597.                           ")
  2598.               DEFINE(Passage,
  2599.               DEF"REQ                #constraint-name {""1""},
  2600.               DEFPERM                #external-data {ANY_VALUE}
  2601.                           ")
  2602.               DEFINE(BodyText,
  2603.               DEF"REQ                #constraint-name {""14""},
  2604.               DEFPERM                #external-data {ANY_VALUE}
  2605.                           ")
  2606.               DEFINE(CommonContent,
  2607.               DEF"REQ                #constraint-name {""19""},
  2608.               DEFPERM                #external-data {ANY_VALUE}
  2609.                           ")
  2610.               DEFINE(CommonText
  2611.               DEF"REQ                #constraint-name {""20""},
  2612.               DEFPERM                #external-data {ANY_VALUE}
  2613.                           ")
  2614.               DEFINE(PageNumber,
  2615.               DEF"REQ                #constraint-name {""40""},
  2616.               DEFPERM                #external-data {ANY_VALUE}
  2617.                           ")
  2618.          7.3.2  Factor constraints
  2619.          7.3.2.1  Factor: ANY-LOGICAL  {
  2620.               GENERIC:
  2621.               GENREQ           Object-type                                {VIRTUAL},
  2622.               GENREQ           Object-class-identifier                    {ANY_VALUE}
  2623.               SPECIFIC:
  2624.               SPEPERM          Object-type                                {VIRTUAL},
  2625.               SPEPERM          Object-identifier               {ANY_VALUE},
  2626.               SPESPEPERM Object-class                          {VIRTUAL}
  2627.               SPECIFIC_AND_GENERIC:
  2628.               SPEPERM          User-readable-comments                     {ANY_VALUE},
  2629.               SPEPERM          User-visible-name               {ANY_VALUE}
  2630.                           }
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.                                                  styleref head_footRecommendation 
  2657.          T.502  PAGE37
  2658.                7.3.3  Constituent constraints
  2659.          7.3.3.1  DocumentLogicalRoot: ANY-LOGICAL {
  2660.               GENERIC:
  2661.               GENREQ           Object-type                                {'document-logical-root'},
  2662.               GENREQ           Generator-for-subordinates      {$DocumentLogicalRootGFS},
  2663.               GENREQ           Application-comments            {$DocumentLogicalRoot}
  2664.               SPECIFIC:
  2665.               SPEPERM          Object-type                                {'document-logical-root'},
  2666.               SPEREQ           Object-class                               {OBJECT_CLASS_ID_OF
  2667.                                                                              (DocumentLogicalRoot}},
  2668.               SPEREQ           Subordinates                    {SUB_ID_OF(Passage)+},
  2669.               SPEPERM          Application-comments            {$DocumentLogicalRoot}
  2670.                           }
  2671.          7.3.3.2  Passage: ANY-LOGICAL {
  2672.               GENERIC:
  2673.               GENREQ           Object-type                                {'composite-logical- 
  2674.          object'},
  2675.               GENREQ           Generator-for-subordinates      {$PassageGFS},
  2676.               GENREQ           Application-comments            {$Passage}
  2677.               SPECIFIC:
  2678.               SPEPERM          Object-type                                {'composite-logical- 
  2679.          object'},
  2680.               SPEREQ           Object-class                               
  2681.          {OBJECT_CLASS_ID_OF(Passage)},
  2682.               SPEREQ           Subordinates                    {SUB_ID_OF(BodyText)+},
  2683.               SPECASE $GLAS OF {
  2684.                     CAS$COMPLETE:
  2685.                           CO REQ     Layout-style               {STYLE_ID_OF(L-Style1)}
  2686.                     CASVOID:
  2687.                           VOIPERM    Layout-style               {STYLE_ID_OF(L-Style1)}},
  2688.               SPEPERM    VOIApplication-comments               {$Passage}
  2689.                           }
  2690.          7.3.3.3  Bodytext: ANY-LOGICAL {
  2691.               GENERIC:
  2692.               GENREQ           Object-type                                {'basic-logical-object'}
  2693.               GENREQ           Application-comments            {$BodyText},
  2694.               SPECIFIC:
  2695.               SPEPERM          Object-type                                {'basic-logical-object'},
  2696.               SPEREQ           Object-class                               
  2697.          {OBJECT_CLASS_ID_OF(BodyText)},
  2698.               SPEREQ           Content-portions                {CONTENT_ID_OF
  2699.                                                                              (Character-content- 
  2700.          portion)+},
  2701.               SPEPERM          Presentation-style              {STYLE_ID_OF(P-Style1)},
  2702.               SPEPERM          Content-architecture-classe     {$PC | $FPC | $FC},
  2703.               SPEPERM          Layout-style                               {STYLE_ID_OF(L-Style2)},
  2704.               SPEPERM          Application-comments            {$BodyText}
  2705.                           }
  2706.          7.3.3.4  CommonContent {
  2707.               GENERIC:
  2708.               GENREQ           Object-type                                {'composite-logical- 
  2709.          object'},
  2710.               GENREQ           Object-class-identifier                    {ANY_VALUE},
  2711.               GENREQ           Generator-for-subordinates      {$CommonContentGFS},
  2712.               GENREQ           Application-comments            {$CommonContent},
  2713.               GENPERM          User-readable-comments                     {ANY_VALUE},
  2714.               GENPERM          User-visible-name               {ANY_VALUE}
  2715.                           }
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.          PAGE36  styleref head_footRecommendation T.502
  2730.                    7.3.3.5  CommonText {
  2731.                GENERIC:
  2732.                GENREQ           Object-type                                {'basic-logical-object'},
  2733.                GENREQ           Object-class-identifier                    {ANY-VALUE},
  2734.                GENREQ           Content-portions                {CONTENT_ID_OF
  2735.                                                                               (Character-content- 
  2736.           portion)},
  2737.                GENPERM          Presentation-style              {STYLE_ID_OF(P-Style2)},
  2738.                GENPERM          Content-architecture-class      {$PC | $FPC | $FC},
  2739.                GENPERM          Layout-style                               {STYLE_ID_OF(L-Style3)},
  2740.                GENPERM          Application-comments            {$CommonText},
  2741.                GENPERM          User-readable-comments                     {ANY_VALUE},
  2742.                GENPERM          User-visible-name               {ANY_VALUE}
  2743.                            }
  2744.           7.3.3.6  PageNumber {
  2745.                GENERIC:
  2746.                GENREQ           Object-type                                {'basic-logical-object'},
  2747.                GENREQ           Object-class-identifier                    {ANY-VALUE},
  2748.                GENREQ           Content-generator               {$HEADERFOOTERSTRING},
  2749.                GENPERM          Presentation-style              {STYLE_ID_OF(P-Style2)},
  2750.                GENPERM          Content-architecture-classe     {$PC | $FPC | $FC},
  2751.                GENPERM          Layout-style                               {STYLE_ID_OF(L-Style3)},
  2752.                GENREQ           Application-comments            {$PageNumber},
  2753.                GENPERM          User-readable-comments                     {ANY_VALUE},
  2754.                GENPERM          User-visible-name               {ANY_VALUE}
  2755.                            }
  2756.           7.4    Layout constituent constraint
  2757.           7.4.1  Macro definitions
  2758.                DEFINE(DocumentLayoutRootGFS, "
  2759.                DEF<construction-expr> ::= REP  CHO({OBJECT_CLASS_ID_OF(PageSet)}...);
  2760.                            ")
  2761.                DEFINE(PageSetGFS , "<construction-expr>        ::= <constraint-1>
  2762.                                                         | <constraint-2>
  2763.                                                         | <constraint-3>
  2764.                                                         | <constraint-4>
  2765.                                                         | <constraint-5>;
  2766.                <constraint-1>  ::=   OBJECT_CLASS_ID_OF(Page);
  2767.                <constraint-2>  ::=   REP OBJECT_CLASS_ID_OF( Page);
  2768.                <constraint-3>  ::=   REP SEQ(OBJECT_CLASS_ID_OF(RectoPage)
  2769.                                              OPT OBJECT_CLASS_ID_OF(VersoPage))
  2770.                                        | REP SEQ(OBJECT_CLASS_ID_OF(VersoPage)
  2771.                                              OPT OBJECT_CLASS_ID_OF(RectoPage));
  2772.                <constraint-4>  ::=   SEQ(OBJECT_CLASS_ID_OF(Page)
  2773.                                              OPT REP OBJECT_CLASS_ID_OF(Page)  );
  2774.                <constraint-5>  ::=   SEQ(OBJECT_CLASS_ID_OF(Page)
  2775.                                              OPT REP (SEQ(OBJECT_CLASS_ID_OF(RectoPage)
  2776.                                                         OPT OBJECT_CLASS_ID_OF(VersoPage)))   )
  2777.                                        | SEQ(OBJECT_CLASS_ID_OF(Page)
  2778.                                              OPT REP (SEQ(OBJECT_CLASS_ID_OF(VersoPage)
  2779.                                                         OPT OBJECT_CLASS_ID_OF(RectoPage)))   );
  2780.                            ")
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.                                                   styleref head_footRecommendation 
  2802.           T.502  PAGE37
  2803.                DEFINE(PageGFS,       "
  2804.                DEF<construction-expr>     ::=        SEQ([OBJECT_CLASS_ID_OF(BasicHeader)]
  2805.                                                         OBJECT_CLASS_ID_OF(BasicBody)
  2806.                                                         [OBJECT_CLASS_ID_OF(BasicFooter) ]);
  2807.                            ")
  2808.                DEFINE(INITIALISEPGNUM,    "
  2809.                DEFREQ           #binding-identifier {""PGnum""},
  2810.                DEFREQ           #binding-value {>=-1}
  2811.                            ")
  2812.                DEFINE(PAGENUMBER,   "
  2813.                DEF| {REQ        #binding-identifier {""PGnum""},
  2814.                DEF| {REQ        #binding-value {INC(B_REF(PRE(CURR-OBJ)) (""PGnum""))}}
  2815.                DEF| {REQ        #binding-identifier {""PGnum""},
  2816.                DEF| {REQ        #binding-value {ORD(CURR-OBJ)}}
  2817.                            ")
  2818.                DEFINE(DocumentLayoutRoot, "REQ       #constraint-name {""0""},
  2819.                                              PERM       #external-data {ANY_VALUE}
  2820.                            ")
  2821.                DEFINE(PageSet,             "REQ       #constraint-name {""1""},
  2822.                                              PERM       #external-data {ANY_VALUE}
  2823.                            ")
  2824.                DEFINE(Page,                "REQ       #constraint-name {""2""},
  2825.                                              PERM       #external-data {ANY_VALUE}
  2826.                            ")
  2827.                DEFINE(RectoPage,          "REQ       #constraint-name {""3""},
  2828.                                              PERM       #external-data {ANY_VALUE}
  2829.                            ")
  2830.                DEFINE(VersoPage,          "REQ       #constraint-name {""4""},
  2831.                                              PERM       #external-data {ANY_VALUE}
  2832.                            ")
  2833.                DEFINE(BasicHeader,        "REQ       #constraint-name {""27""},
  2834.                                              PERM       #external-data {ANY_VALUE}
  2835.                            ")
  2836.                DEFINE(BasicBody,          "REQ       #constraint-name {""28""},
  2837.                                              PERM       #external-data {ANY_VALUE}
  2838.                            ")
  2839.                DEFINE(SpecificBlock       "REQ       #constraint-name {""30""},
  2840.                                              PERM       #external-data {ANY_VALUE}
  2841.                            ")
  2842.                DEFINE(BasicFooter,        "REQ       #constraint-name {""33""},
  2843.                                              PERM       #external-data {ANY_VALUE}
  2844.                            ")
  2845.           7.4.2  Factor constraints
  2846.           7.4.2.1  Factor: ANY-COMPOSITE-LAYOUT {
  2847.                GENERIC:
  2848.                GENREQ           Object-type                     {VIRTUAL},
  2849.                GENREQ           Object-class-identifier         {ANY_VALUE}
  2850.                SPECIFIC:
  2851.                SPEPERM          Object-type                     {VIRTUAL},
  2852.                SPEPERM          Object-identifier    {ANY_VALUE}
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.           PAGE36  styleref head_footRecommendation T.502
  2875.               SPECIFIC_AND_GENERIC:
  2876.               SPEPERM          User-readable-comments          {ANY_VALUE},
  2877.               SPEPERM          User-visible-name    {ANY_VALUE}
  2878.                           }
  2879.          7.4.2.2  Factor Any-Page: ANY-COMPOSITE-LAYOUT    {
  2880.               GENERIC:
  2881.               GENREQ           Object-type                                {'page'},
  2882.               GENREQ           Generator-for-subordinates      {$PageGFS},
  2883.               GENCASE $DAC OF {
  2884.                     $PDA-FPDA:       PERM  Bindings              {$PAGENUMBER}
  2885.                           }
  2886.               SPECIFIC:
  2887.               SPEPERM          Object-type                                {'page'},
  2888.               SPEREQ           Subordinates                    {SUB_ID_OF(BasicHeader),
  2889.                                                                   {SUB_ID_OF(BasicBody),
  2890.                                                        {SUB_      {SUB_ID_OF(BasicFooter)}
  2891.               SPECIFIC_AND_GENERIC:
  2892.               SPEPERM          Dimensions                       {$PermissiblePageDimensions},
  2893.               SPEPERM          Page-position                   {ANY_VALUE}
  2894.                           }
  2895.          7.4.2.3  Factor Any-Frame: ANY-COMPOSITE-LAYOUT   {
  2896.               GENERIC:
  2897.               GENREQ           Object-type                     {'frame'}
  2898.               SPECIFIC:
  2899.               SPEPERM          Object-type                     {'frame'}
  2900.               SPEREQ           Subordinates         {SUB_ID_OF(SpecificBlock)+}
  2901.               SPECIFIC_AND_GENERIC:
  2902.               SPEPERM          Position              {REQ #fixed-position
  2903.                                             {REQ #           {REQ #horizontal-position{ANY-INTEGER},
  2904.                                             REQ #            {REQ #vertical-position{ANY-INTEGER}}},
  2905.               SPEPERM          Dimensions            {REQ #horizontal-dimension
  2906.                                             {REQ #           {REQ #fixed-dimension{ANY-INTEGER}},
  2907.                                                        {REQ #vertical-dimension
  2908.                                             {REQ             {REQ #fixed-dimension{ANY-INTEGER}}}
  2909.                           }
  2910.          7.4.3  Constituent constraints
  2911.          7.4.3.1  DocumentLayoutRoot: ANY-COMPOSITE-LAYOUT {
  2912.               GENERIC:
  2913.               GENREQ           Object-type                                {'document-layout-root'},
  2914.               GENREQ           Generator-for-subordinates      {$DocumentLayoutRootGFS},
  2915.               GENCASE $DAC OF {
  2916.                     $PDA-FPDA:       PERM  Bindings              {$INITIALISEPGNUM} }
  2917.               GENREQ           Application-comments            {$DocumentLayoutRoot}
  2918.               SPECIFIC:
  2919.               SPEPERM          Object-type                                {'document-layout-root'},
  2920.               SPECASE $DAC OF {
  2921.                     $FDA:          PERM Object-class  {OBJECT_CLASS_ID_OF(DocumentLayoutRoot)}
  2922.                     $FPDA:        REQ     Object-class         
  2923.          {OBJECT_CLASS_ID_OF(DocumentLayoutRoot)} },
  2924.               SPEREQ           Subordinates         {SUB_ID_OF (PageSet)+},
  2925.               SPEPERM          Application-comments {$DocumentLayoutRoot}
  2926.                           }
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.                                                  styleref head_footRecommendation 
  2947.          T.502  PAGE37
  2948.                    7.4.3.2  PageSet: ANY-COMPOSITE-LAYOUT     {
  2949.                GENERIC:
  2950.                GENREQ           Object-type                                {'pageset'},
  2951.                GENREQ           Generator-for-subordinates      {$PageSetGFS},
  2952.                GENCASE $DAC OF {
  2953.                      $PDA-FPDA:       PERM  Bindings              {$INITIALISEPGNUM} }
  2954.                GENREQ           Application-comments            {$PageSet}
  2955.                SPECIFIC:
  2956.                SPEPERM          Object-type                                {'pageset'},
  2957.                SPECASE $DAC OF {
  2958.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  2959.           (PageSet)}
  2960.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  2961.           (PageSet)} },
  2962.                SPEREQ           Subordinates                    {{SUB_ID_OF (Page)+},
  2963.                                                                    {{SUB_ID_OF (RectoPage)+},
  2964.                                                                    {{SUB_ID_OF (VersoPage)+} },
  2965.                SPEPERM          Application-comments            {$PageSet}
  2966.                            }
  2967.           7.4.3.3  Page: ANY_PAGE {
  2968.                GENERIC:
  2969.                GENREQ           Application-comments            {$Page}
  2970.                SPECIFIC:
  2971.                SPECASE $DAC OF {
  2972.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF(Page)}
  2973.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF(Page)} 
  2974.           },
  2975.                SPEPERM          Application-comments            {$Page}
  2976.                SPECIFIC_AND_GENERIC:
  2977.                SPEPERM          Medium-type                     {PERM #nominal-page-size
  2978.                                                                          {NonBasicNominalPageSize},
  2979.                                                                    PERM #side-of-sheet{ANY_VALUE}   }
  2980.                            }
  2981.           7.4.3.4  RectoPage: ANY-PAGE {
  2982.                GENERIC:
  2983.                GENREQ           Application-comments            {$RectoPage},
  2984.                GENREQ           Medium-type                     {REQ #nominal-page-size
  2985.                                                                          {NonBasicNominalPageSize},
  2986.                                                                    REQ #side-of-sheet{'unspecified' | 
  2987.           'recto'} }
  2988.                SPECIFIC:
  2989.                SPECASE $DAC OF {
  2990.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  2991.           (RectoPage)}
  2992.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  2993.           (RectoPage)} },
  2994.                SPEPERM          Application-comments            {$RectoPage},
  2995.                SPEPERM          Medium-type                     {PERM #nominal-page-size
  2996.                                                                          {NonBasicNominalPageSize},
  2997.                                                                    PERM #side-of-sheet{'unspecified' | 
  2998.           'recto'}}
  2999.                            }
  3000.           7.4.3.5  VersoPage: ANY-PAGE {
  3001.                GENERIC:
  3002.                GENREQ           Application-comments            {$VersoPage},
  3003.                GENREQ           Medium-type                     {REQ #nominal-page-size
  3004.                                                                          {NonBasicNominalPageSize},
  3005.                                                                    REQ #side-of-sheet{'unspecified' | 
  3006.           'verso'}}
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.           PAGE36  styleref head_footRecommendation T.502
  3020.                SPECIFIC:
  3021.                SPECASE $DAC OF {
  3022.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  3023.           (VersoPage)}
  3024.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  3025.           (VersoPage)} },
  3026.                SPEPERM          Application-comments            {$VersoPage},
  3027.                SPEPERM          Medium-type                     {PERM #nominal-page-size
  3028.                                                                          {NonBasicNominalPageSize},
  3029.                                                                    PERM #side-of-sheet{'unspecified' | 
  3030.           'verso'}}
  3031.                            }
  3032.           7.4.3.6  BasicHeader: ANY-FRAME {
  3033.                GENERIC:
  3034.                GENCASE $DAC OF {
  3035.                      $PDA- FPDA:
  3036.                                        REQ   Logical-source       {OBJECT_CLASS_ID_OF (CommonContent)},
  3037.                GENREQ           Application-comments            {$BasicHeader}
  3038.                SPECIFIC:
  3039.                SPECASE $DAC OF {
  3040.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  3041.           (BasicHeader)}
  3042.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  3043.           (BasicHeader)} },
  3044.                SPEPERM          Application-comments            {$BasicHeader}
  3045.                            }
  3046.           7.4.3.7  BasicBody: ANY-FRAME {
  3047.                GENERIC:
  3048.                GENREQ           Application-comments            {$BasicBody}
  3049.                SPECIFIC:
  3050.                SPECASE $DAC OF {
  3051.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  3052.           (BasicBody)}
  3053.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  3054.           (BasicBody)} },
  3055.                SPEPERM          Application-comments            {$BasicBody}
  3056.                            }
  3057.           7.4.3.8  BasicFooter: ANY-FRAME {
  3058.                GENERIC
  3059.                GENCASE $DAC OF {
  3060.                      $PDA-FPDA:
  3061.                                        REQ   Logical-source       {OBJECT_CLASS_ID_OF (CommonContent}}
  3062.                GENREQ           Application-comments            {$BasicFooter}
  3063.                SPECIFIC:
  3064.                SPECASE $DAC OF {
  3065.                      $FDA:             PERM  Object-class                    {OBJECT_CLASS_ID_OF 
  3066.           (BasicFooter)}
  3067.                      $FPDA:           REQ   Object-class                    {OBJECT_CLASS_ID_OF 
  3068.           (BasicFooter)} },
  3069.                SPEPERM          Application-comments            {$BasicFooter}
  3070.                            }
  3071.           7.4.3.9  SpecificBlock {
  3072.                SPECIFIC:
  3073.                SPEREQ           Object-type                                {'block'},
  3074.                SPEREQ           Object-identifier               {ANY_VALUE},
  3075.                SPEREQ           Content-portions                {CONTENT_ID_OF
  3076.                                                                          (Character-content-portion)+},
  3077.                SPEPERM          Presentation-style              {STYLE_ID_OF(P-Style1)
  3078.                                                                    {STYLE_ID_OF(P-Style2)},
  3079.                SPEPERM          Content-architecture-class      {$FC | $FPC},
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.                                                   styleref head_footRecommendation 
  3092.           T.502  PAGE37
  3093.               SPEPERM          Presentation-attributes                    {
  3094.               PERPERPERM       #character-attributes           {
  3095.               PERPERPERM       #alignment                       {ANY_VALUE},
  3096.               PERPERPERM       #character-path                            {'0-degrees' | '180- 
  3097.          degrees'},
  3098.               PERPERPERM       #character-spacing                         {80 | 100 | 120 | 160 | 
  3099.          200},
  3100.               PERPERPERM       #code-extension-announcers                 {$CEXTAN},
  3101.               PERPERPERM       #first-line-offset                         {ANY_VALUE},
  3102.               PERPERPERM       #graphic-character-sets                    {$PERMIT-GRCHAR},
  3103.               PERPERPERM       #graphic-character-subrepertoire          {ANY_VALUE},
  3104.               PERPERPERM       #graphic-rendition                         {$GRAPHICRENDITIONS},
  3105.               PERPERPERM       #itemisation                               {ANY_VALUE},
  3106.               PERPERPERM       #line-layout-table                         {ANY_VALUE},
  3107.               PERPERPERM       #line-spacing                              {100 | 150 | 200 | 300 | 
  3108.          400},
  3109.               PERPERPERM       #initial-offset                            {ANY_VALUE}             }},
  3110.               PERPERM          User-readable-comments          {ANY_VALUE},
  3111.               PERPERM          User-visible-name    {ANY_VALUE},
  3112.               PERPERM          Position              {REQ #fixed-position
  3113.                                                        {REQ {REQ #horizontal-position{ANY_INTEGER},
  3114.                                                        {REQ {REQ #vertical-position{ANY_INTEGER}}},
  3115.               PERPERM          Dimensions            {REQ #horizontal-dimension
  3116.                                                        {REQ {REQ #fixed-dimension{ANY_INTEGER}},
  3117.                                                        {REQ #vertical-dimension
  3118.                                                        {REQ {REQ #fixed-dimension{ANY_INTEGER}}},
  3119.               PERPERM          Application-comments {$SpecificBloc}
  3120.                           }
  3121.          --  Each block in a BasicBody must refernce only one content portion.  --
  3122.          --  A block in a BasicHeader or BasicFooter may reference any number of content 
  3123.          portions.  --
  3124.          7.5    Layout style constraints
  3125.          7.5.1  Macro definitions
  3126.                No macro definitions are applicable in this clause.
  3127.          7.5.2  Factor constraints
  3128.          7.5.2.1  Factor: ANY-LAYOUT-STYLE    {
  3129.               REQ         Layout-style-identifier    {ANY_VALUE},
  3130.               PERM        User-readable-comments     {ANY_VALUE},
  3131.               PERM        User-visible-name                     {ANY_VALUE}
  3132.                           }
  3133.          7.5.3  Constituent constraints
  3134.          7.5.3.1  L-Style1: ANY-LAYOUT-STYLE {
  3135.          --  This style is used for the constituents Passage only.  --
  3136.               CASE $GLAS OF {
  3137.               CAS$COMPLETE:
  3138.                     PERM        Indivisibility                  {'page' | 'null'},
  3139.                     REQ         Layout-object-class  {OBJECT_CLASS_ID_OF (PageSet) }
  3140.               CASVOID:
  3141.                     PERM        Indivisibility                  {'page' | 'null'} }
  3142.                           }
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.          PAGE36  styleref head_footRecommendation T.502
  3165.                    7.5.3.2  L-Style2: ANY-LAYOUT-STYLE   {
  3166.           --  This style is used for the constituents BodyText only.  --
  3167.                CASE $GLAS OF {
  3168.                CAS$COMPLETE:
  3169.                      PERM        Indivisibility                  {'page' | 'null'},
  3170.                      PERM        New-layout-object    {{OBJECT_CLASS_ID_OF (Page)
  3171.                                                         | OBJECT_CLASS_ID_OF (RectoPage)
  3172.                                                         | OBJECT_CLASS_ID_OF (VersoPage)
  3173.                                                         | OBJECT_CLASS_ID_OF (BasicBody)}
  3174.                                                         |'page' | 'null'},
  3175.                      PERM        Offset                           {ANY_VALUE},
  3176.                      PERM        Same-layout-object   {REQ #same-as {<object-id-expr>::=
  3177.                                                         {REQ PREC-OBJ(CURR-OBJ); | 'null' },
  3178.                                                         PERM #within {'page'}},
  3179.                      PERM        Separation            {PERM #leading-edge  {ANY_INTEGER},
  3180.                                                         {PERM #trailing-edge {ANY_INTEGER}}
  3181.                CASVOID:
  3182.                      PERM        Indivisibility                  {'page' | 'null'},
  3183.                      PERM        New-layout-object    {'page' | 'null'},
  3184.                      PERM        Offser                           {ANY_VALUE},
  3185.                      PERM        Same-layout-object   {REQ #same-as {<object-id-expr>::=
  3186.                                                         {REQ PREC-OBJ(CURR-OBJ); | 'null' },
  3187.                                                         PERM #within {'page'}},
  3188.                      PERM        Separation            {PERM #leading-edge {ANY_INTEGER},
  3189.                                                         {PERM #trailing-edge {ANY_INTEGER}} }
  3190.                            }
  3191.           7.5.3.3  L-Style3: ANY-LAYOUT-STYLE   {
  3192.           --  This style is used for the constituents CommonText and 
  3193.           PageNumber.  --
  3194.                PERM        Concatenation   {ANY_VALUE},
  3195.                PERM        Offset                      {ANY_VALUE},
  3196.                PERM        Separation       {PERM #leading-edge {ANY_INTEGER},
  3197.                                              {PERM #trailing-edge {ANY_INTEGER}}
  3198.                            }
  3199.           7.6    Presentation style constraints
  3200.           7.6.1  Macro definitions
  3201.                 No macro definitions are applicable in this clause.
  3202.           7.6.2  Factor constraints
  3203.           7.6.2.1  Factor: ANY-PRESENTATION-STYLE    {
  3204.                REQ         Presentation-style-identifier        {ANY_VALUE},
  3205.                PERM        User-readable-comments     {ANY_VALUE},
  3206.                PERM        User-visible-name                     {ANY_VALUE}
  3207.                            }
  3208.           7.6.3  Constituent constraints
  3209.           7.6.3.1  P-Style1: ANY-PRESENTATION-STYLE {
  3210.           --  This style is used for the constituent BodyText only.  --
  3211.                PERM        Presentation-attibutes {
  3212.                PERPERM    #character-attributes      {
  3213.                PERPERPERM #alignment                  {ANY_VALUE},
  3214.                PERPERPERM #character-path            {'0-degrees' | '180-degrees'},
  3215.                PERPERPERM #character-spacing                    {80 | 100 | 120 | 160 | 200},
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.                                                   styleref head_footRecommendation 
  3237.           T.502  PAGE37
  3238.                PERPERPERM #code-extension-announcers {$CDEXTAN},
  3239.                PERPERPERM #first-line-offset                    {ANY_VALUE},
  3240.                PERPERPERM #graphic-character-sets               {$PERMIT-GRCHAR},
  3241.                PERPERPERM #graphic-character-subrepertoire     {ANY_VALUE},
  3242.                PERPERPERM #graphic-rendition                    {$GRAPHICRENDITIONS},
  3243.                PERPERPERM #itemisation                          {ANY_VALUE},
  3244.                PERPERPERM #line-layout-table                    {ANY_VALUE},
  3245.                PERPERPERM #line-spacing              {100 | 150 | 200 | 300 | 400},
  3246.                PERPERPERM #indentation                          {ANY_VALUE},
  3247.                PERPERPERM #orphan-size                          {ANY_VALUE},
  3248.                PERPERPERM #widow-size                           {ANY_VALUE} }}
  3249.                            }
  3250.           7.6.3.2  P-Style2: ANY-PRESENTATION-STYLE {
  3251.           --  This style is used for the constituent CommonText, PageNumber 
  3252.           and SpecificBlock.  --
  3253.                PERM        Presentation-atributes {
  3254.                PERPERM    #character-attributes      {
  3255.                PERPERPERM #alignment                  {ANY_VALUE},
  3256.                PERPERPERM #character-path            {'0-degrees' | '180-degrees'},
  3257.                PERPERPERM #character-spacing                    {80 | 100 | 120 | 160 | 200},
  3258.                PERPERPERM #code-extension-announcers {$CDEXTAN},
  3259.                PERPERPERM #first-line-offset                    {ANY_VALUE},
  3260.                PERPERPERM #graphic-character-sets               {$PERMIT-GRCHAR},
  3261.                PERPERPERM #graphic-character-subrepertoire     {ANY_VALUE},
  3262.                PERPERPERM #graphic-rendition                    {$GRAPHICRENDITIONS},
  3263.                PERPERPERM #itemisation                          {ANY_VALUE},
  3264.                PERPERPERM #line-layout-table                    {ANY_VALUE},
  3265.                PERPERPERM #line-spacing              {100 | 150 | 200 | 300 | 400},
  3266.                PERPERPERM #indentation                          {ANY_VALUE} }}
  3267.                            }
  3268.           7.7    Content portion constraints
  3269.           7.7.1  Macro definitions
  3270.                 No macro definitions are applicable in this clause.
  3271.           7.7.2  Factor constraints
  3272.                 No factor constraints are applicable in this clause.
  3273.           7.7.3  Content portion constraints
  3274.           7.7.3.1  Character-content-portion {
  3275.                PERM        Content-identifier-layout  {ANY_VALUE},
  3276.                PERM        Content-identifier-logical {ANY_VALUE},
  3277.                PERM        Alternative-representation {ANY_VALUE},
  3278.                PERM        Content-information        {CHARACTER,
  3279.                                  {#STAB                {CHARA{ANY_VALUE}
  3280.                                  |#SHS                  {CHARA{80 | 100 | 120 | 200}
  3281.                                  |#SCS                  {CHARA{80 | 100 | 120 | 160 | 200}
  3282.                                  |#SGR                  {CHARA{$GRAPHICRENDITIONS}
  3283.                                  |#SVS                  {CHARA{100 | 150 | 200 | 300 | 400}
  3284.                                  |#SRS                  {CHARA{ANY_VALUE}
  3285.                                  |#JFY                  {CHARA{0}
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.           PAGE36  styleref head_footRecommendation T.502
  3310.                                 |#CR
  3311.                                 |#LF
  3312.                                 |#PLD
  3313.                                 |#PLU
  3314.                                 |#SP
  3315.                                 |#SUB
  3316.                                 |#BPH
  3317.                                 |#NBH
  3318.                                 |#SOS
  3319.                                 |#ST
  3320.                                 |#$LSO
  3321.                                 |#$LS1R
  3322.                                 |#$LS2R
  3323.                                 |#$LS3R
  3324.                                 |#$SS2
  3325.                                 |#$SS3
  3326.                                 |#$DEG-CORE-G0
  3327.                                 |#$DEG-646-G0
  3328.                                 |#$DEG-ANY-G1
  3329.                                 |#$DEG-ANY-G2
  3330.                                 |#$DEG--ANY-G3
  3331.                                 |#$DEG-EMPY-G1}... }
  3332.                           }
  3333.          8      Interchange format
  3334.          8.1    Document interchange format
  3335.                Interchange format class æAÆ is to be used in this profile, as  defined  in
  3336.          [CCITT Recommen-
  3337.          dation T.415/ISO 8613-5].
  3338.          8.2    Data value length
  3339.                The maximum length of data values of any  universal  type  (as  defined  in
  3340.          [CCITT Recommendation X.208/ISO 8824) in data streams which  may  be  encoded  in
  3341.          accordance with this profile is 32 767 octets. If it is required to encode a data
  3342.          value string of greater length than this, constructed type encoding must be used.
  3343.          8.3    Encoding of application comments
  3344.                The encoding of the attribute  "Application  comments"  is  defined  as  an
  3345.          octet string in [CCITT Recommendation T.415/ISO 8613-5].  This  profile  requires
  3346.          that the encoding within that octet string be in accordance with the ASN.1 syntax
  3347.          specified in the following module definition:
  3348.               FOD DAPSpecification
  3349.               DEFINITION                   ::= BEGIN
  3350.               EXPORTS          Object-Class-Appl-Comm-Encoding,
  3351.                                 Object-Appl-Comm-Encoding;
  3352.          --  The next two definitions are not ambiguous because they are not 
  3353.          used in the same context.  --
  3354.               Object-Class-Appl-Comm-Encoding      ::= SEQUENCE {
  3355.                     Constraint-name                  [0] IMPLICIT PrintableString,
  3356.                     External-data                    [1] IMPLICIT OCTETSTRING OPTIONAL }
  3357.               Object-Appl-Comm-Encoding             ::= SEQUENCE {
  3358.                     Constraint-name                  [0] IMPLICIT PrintableString OPTIONAL
  3359.                     External-data                    [1] IMPLICIT OCTETSTRING OPTIONAL }
  3360.  
  3361.               END
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.                                                  styleref head_footRecommendation 
  3382.          T.502  PAGE37
  3383.