Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 2.33 KB

EML-410_extensions.md

File metadata and controls

64 lines (44 loc) · 2.33 KB

Extensions to EML 410

This document describes extensions to EML 410 to support the RBM tool.

Write-In Support

A Write-In contest option will emitted for each occurrence of WriteInCandidate under BallotChoices.

<BallotChoices>
    ...
    <WriteInCandidate>
        <Name/>
    </WriteInCandidate>
</BallotChoices>

Styling Support

If desired, certain content may override the default style sheet of the form. This "Rich Text" functionality is accomplished by emitting a XHTML fragment, with CSS instructions as required. The XHTML fragments comply with the XFA 3.3 "Rich Text Reference" and support all of the features described therein. Rich Text is permitted in the following locations (all under Contest):

  • BallotChoices/Candidate/CandidateFullName/NameElement
  • ContestIdentifier/ContestName
  • Messages/Message

Column / Page Breaking

Column and page breaking can be restricted such that parts or all of a contest must appear on a single column or page. These directives appear under a Contest or MeasureText, and are of the form:

<KeepIntact Target="{subform}">{scope}</KeepIntact>

Where {subform} is the target of the keep intact directive, and {scope} is one of the following:

Option Description
none No directive
contentArea May not break a column
pageArea May not break a page

Leaders and Trailers

If a column or page break is unavoidable, a subform can appear right before the break (the trailer), and right after the break (the leader) to indicate to the voter to refer to the next or previous page. These directives appear under a Contest, and are of the form:

<OverflowLeader Target="{subform}">{leader}</OverflowLeader>
<OverflowTrailer Target="{subform}">{trailer}</OverflowTrailer>

Where {subform} is the target subform whose overflow causes the leader/trailer to appear, and {leader}, and {trailer} point to subforms containing the leader and trailer content.

It is not required to specify both a leader and a trailer