Indeed, HLR algorithms in OCCT can be used for creation of 2D drawings.
But as for size/length annotations - these have to be assigned manually (e.g. with help of 3D Viewer) or/and using some semi-automated algorithm. It is difficult to imagine an algorithm being able to perfectly work on arbitrary geometry, but algorithm making a good initial placements for a geometry having some recurrent specific properties is quite possible.
The same is for page templates - OCCT doesn't have such templates, although I've seen something like this in FreeCAD application in an SVG format.