Make ShadowCursor independent from OdtDocument.