MinMaxLengthDocumentFilter
Parameters
minLength
the minimum allowable length of the document; if the length is initially below this value, any progress made towards this value is accepted but cannot be undone
maxLength
the maximum allowable length of the document