Ubraille.properties

Purpose. The properties file retains a suite of program properties which are locale specific, organisation specific or even translator specific. The file is located in the resources directory and will be searched for in that directory. If multiple property files are to be used they need to be switched in and out for the appropriate run. The file is named Ubraille.properties.

The individual properties are explained below

maxLineLength

The maximum length of a formatted braille line. Varies with usage and output device. Used for validating page width from the XML.

maxRowCount

The maximum number of lines on a page of braille. Used for validating the maximum page length from the XML

startIndent, restIndent

Default first line indent and runover (remaining lines of a block) indent. Used when start and rest indent values are omitted from a paragraph.

litlayoutoverrun

For a paragraph where xml:space attribute is set to 'preserve', there will be occasions on which the contracted content will not fit in the specific line length. Such lines are broken and wrapped onto the next line, using an additional indent of this value.

The Class which manages these properties is FormatProperties.java, which also has the property names as final Strings, such that the actual property names need never appear in code.