|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: S T
Length: 2460 (0x99c)
Types: TextFile
Names: »SFD.py«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Tools/mpp84/SFD.py«
-- SFD.py - MHS SFD definitions
-- @(#) $Header: /cs/research/pp/hubris/pp-beta/Tools/mpp84/RCS/SFD.py,v 5.0 90/09/20 16:28:04 pp Exp Locker: pp $
--
-- $Log: SFD.py,v $
-- Revision 5.0 90/09/20 16:28:04 pp
-- rcsforce : 5.0 public release
--
--
SFD DEFINITIONS ::=
%{
#ifndef lint
static char *rcsid = "$Header: /cs/research/pp/hubris/pp-beta/Tools/mpp84/RCS/SFD.py,v 5.0 90/09/20 16:28:04 pp Exp Locker: pp $";
#endif lint
%}
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