Store canvas hwnd only in document provider.
Fix PageProvider getRect off-by-few-pixels.
Implement TextRange::GetBoundingRectangles.
Avoid directly casting input text ranges to required types.