yes well it seems u got an internal atx powersupply.
if you check with hp support and ask them if a standard atx powersupply would fit in your case, im guessing it should, but ur powersupply is about a an inch less than a regular atx.
if you cannot upgrade your powersupply,. maybe get a cheap replacement case and powersupply?
let me know thanks