i'm working on our yearbook using Photoshop cs2, using data sets

How can i do this:
a text layer with a definite width and height that will accept different length of text...but for shorter text, the font size of the text will get larger, but if the length of text is too long to the point that the text layer's defined size are not enough, it will decrease the text's font size...

hm, something like MS Powepoint's text boxes