This function will return the fdf version for the given fdf_document, or the toolkit api version number if no parameter is given.
This function will return the fdf version for the given fdf_document, or the toolkit api version number if no parameter is given.