|
|
1.1 ! root 1: -- SFD.py - MHS SFD definitions ! 2: ! 3: -- $Header: /f/osi/pepy/RCS/SFD.py,v 7.0 89/11/23 22:11:34 mrose Rel $ ! 4: -- ! 5: -- ! 6: -- $Log: SFD.py,v $ ! 7: -- Revision 7.0 89/11/23 22:11:34 mrose ! 8: -- Release 6.0 ! 9: -- ! 10: ! 11: -- ! 12: -- NOTICE ! 13: -- ! 14: -- Acquisition, use, and distribution of this module and related ! 15: -- materials are subject to the restrictions of a license agreement. ! 16: -- Consult the Preface in the User's Manual for the full terms of ! 17: -- this agreement. ! 18: -- ! 19: -- ! 20: ! 21: ! 22: SFD DEFINITIONS ::= ! 23: ! 24: %{ ! 25: #ifndef lint ! 26: static char *rcsid = "$Header: /f/osi/pepy/RCS/SFD.py,v 7.0 89/11/23 22:11:34 mrose Rel $"; ! 27: #endif ! 28: %} ! 29: ! 30: BEGIN ! 31: ! 32: PRINTER print ! 33: ! 34: Document ::= SEQUENCE OF ProtocolElement ! 35: ! 36: ProtocolElement ::= CHOICE { ! 37: textUnit[3] IMPLICIT TextUnit, ! 38: specificLogicalDescriptor[5] ! 39: IMPLICIT LogicalDescriptor ! 40: } ! 41: ! 42: ! 43: -- text units ! 44: ! 45: TextUnit ::= SEQUENCE { ! 46: contentPortionAttributes ContentPortionAttributes, ! 47: textInformation TextInformation ! 48: } ! 49: ! 50: ContentPortionAttributes ! 51: ::= SET { --none at present-- } ! 52: ! 53: TextInformation ::= CHOICE { ! 54: T61String ! 55: } ! 56: ! 57: ! 58: -- logical descriptor ! 59: ! 60: LogicalDescriptor ! 61: ::= SEQUENCE { LogicalObjectType, LogicalDescriptorBody } ! 62: ! 63: LogicalObjectType ! 64: ::= INTEGER { ! 65: document (0), ! 66: paragraph (1) ! 67: } ! 68: ! 69: LogicalDescriptorBody ! 70: ::= SET { ! 71: -- variable attributes (if object is document) -- ! 72: pageHeading[3] IMPLICIT T61String OPTIONAL, ! 73: -- variable attributes (if object is paragraph) -- ! 74: layoutDirectives[4] IMPLICIT LayoutDirectives OPTIONAL, ! 75: presentationDirectives[5] IMPLICIT ! 76: PresentationDirectives OPTIONAL, ! 77: -- default variable attributes for subordinate objects ! 78: -- (if any) ! 79: defaultValueLists[6] IMPLICIT SEQUENCE { ! 80: DefaultValueList ! 81: } OPTIONAL ! 82: } ! 83: ! 84: LayoutDirectives::= SET { ! 85: leftIndentation[0] Offset OPTIONAL, ! 86: bottomBlankLines[3] Offset OPTIONAL ! 87: } ! 88: ! 89: Offset ::= CHOICE { [1] IMPLICIT INTEGER} ! 90: ! 91: PresentationDirectives ! 92: ::= SET { ! 93: alignment[0] IMPLICIT Alignment OPTIONAL, ! 94: graphicRendition[1] IMPLICIT GraphicRendition OPTIONAL ! 95: } ! 96: ! 97: Alignment ::= INTEGER { leftAligned(0), centered(2), justified(3) } ! 98: ! 99: GraphicRendition::= SEQUENCE OF GraphicRenditionAspect ! 100: ! 101: GraphicRenditionAspect ! 102: ::= INTEGER --an SGR parameter value; see T.61 ! 103: ! 104: DefaultValueList::= CHOICE { ! 105: paragraphAttributes[1] IMPLICIT ParagraphAttributes ! 106: } ! 107: ! 108: ParagraphAttributes ! 109: ::= SET { ! 110: layoutDirectives < Attribute OPTIONAL, ! 111: presentationDirectives < Attribute OPTIONAL ! 112: } ! 113: ! 114: Attribute ::= CHOICE { ! 115: layoutDirectives[0] IMPLICIT LayoutDirectives, ! 116: presentationDirectives[1] IMPLICIT PresentationDirectives ! 117: } ! 118: ! 119: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.