Ultraviolet to Near-Infrared Spectral Distributions of Star-forming and Seyfert 2 Galaxies