File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / pepy / SFD.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

-- SFD.py - MHS SFD definitions

-- $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/pepy/SFD.py,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
--
--
-- $Log: SFD.py,v $
-- Revision 1.1.1.1  2018/04/24 16:12:56  root
-- BSD 4.3reno
--
-- Revision 7.0  89/11/23  22:11:34  mrose
-- Release 6.0
-- 

--
--				  NOTICE
--
--    Acquisition, use, and distribution of this module and related
--    materials are subject to the restrictions of a license agreement.
--    Consult the Preface in the User's Manual for the full terms of
--    this agreement.
--
--


SFD DEFINITIONS ::=

%{
#ifndef	lint
static char *rcsid = "$Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/pepy/SFD.py,v 1.1.1.1 2018/04/24 16:12:56 root Exp $";
#endif
%}

BEGIN

PRINTER	print

Document	::=  SEQUENCE OF ProtocolElement
	
ProtocolElement	::=  CHOICE {
			textUnit[3] IMPLICIT TextUnit,
			specificLogicalDescriptor[5]
			    IMPLICIT LogicalDescriptor
		     }


-- text units

TextUnit	::=  SEQUENCE {
			contentPortionAttributes ContentPortionAttributes,
			textInformation TextInformation
		     }

ContentPortionAttributes
		::=  SET { --none at present-- }

TextInformation	::=  CHOICE {
			T61String
		     }


-- logical descriptor

LogicalDescriptor
		::=  SEQUENCE { LogicalObjectType, LogicalDescriptorBody }

LogicalObjectType
		::=  INTEGER {
			document (0),
			paragraph (1)
		    }

LogicalDescriptorBody
		::=  SET { 
			-- variable attributes (if object is document) --
			pageHeading[3] IMPLICIT T61String OPTIONAL,
			-- variable attributes (if object is paragraph) --
			layoutDirectives[4] IMPLICIT LayoutDirectives OPTIONAL,
			presentationDirectives[5] IMPLICIT
			    PresentationDirectives OPTIONAL,
			-- default variable attributes for subordinate objects
			--  (if any)
			defaultValueLists[6] IMPLICIT SEQUENCE {
			    DefaultValueList
			} OPTIONAL
		     }

LayoutDirectives::=  SET {
			leftIndentation[0] Offset OPTIONAL,
			bottomBlankLines[3] Offset OPTIONAL
		     }

Offset		::=  CHOICE { [1] IMPLICIT INTEGER}

PresentationDirectives
		::=  SET {
			alignment[0] IMPLICIT Alignment OPTIONAL,
			graphicRendition[1] IMPLICIT GraphicRendition OPTIONAL
		     }

Alignment	::=  INTEGER { leftAligned(0), centered(2), justified(3) }

GraphicRendition::=  SEQUENCE OF GraphicRenditionAspect

GraphicRenditionAspect
		::=  INTEGER --an SGR parameter value; see T.61

DefaultValueList::=  CHOICE {
			paragraphAttributes[1] IMPLICIT ParagraphAttributes
		     }

ParagraphAttributes
		::=  SET {
			layoutDirectives < Attribute OPTIONAL,
			presentationDirectives < Attribute OPTIONAL
		     }

Attribute	::=  CHOICE {
			layoutDirectives[0] IMPLICIT LayoutDirectives,
			presentationDirectives[1] IMPLICIT PresentationDirectives
		     }

END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.