Filters the text from the document, to the provided output type.
template <typename Output_Type> void filter(Output_Type& output) const