for the jump to page in file formats that have no hard breaks you could have some approximation based on total number of characters or lines.
There's no option for justification in html files. Even pdfs (which should be much more problematic because of the unflexible format) sometimes look better, even with reflowing