One reliable and convenient way of processing the cross sections in the resolved energy region is by use of the generalized pole representation, whereby the Doppler-broadening calculation can be carried out rigorously using the analytical approach. So far, its applications have been limited to cases with resonance parameters specified by the Reich-Moore formalism. Although such an approach can in principle be extended to all three remaining representations of resolved resonance parameters specified by the ENDF data format, there is no computational tool for handling such a task at present. Given that Breit-Wigner formalisms are probably the most widely used by any evaluated nuclear data library to represent cross sections, a special effort needs to be made to convert the single- and multilevel Breit-Wigner resonance parameters to pole parameters. The FORTRAN computer code BW2PR has been developed for this purpose. Extensive calculations have been performed to demonstrate that the proposed method ensures the conservation of the information contained originally in Breit-Wigner resonance parameters. This will make it possible to apply the exact Doppler-broadening method to a larger collection of nuclides.