Issue #24996:add margin information to report