hello > Hi list, > > I am writing a python script that imports a textfile and applies > styles to it. I am wondering how I can automatically adjust the > length of the textboxes so each paragraph wil fit. > > At the moment I let the script count the characters and it calculates > a lenght based on the calculated amount but that does not really work > when you want to import a list instead of a "normal" paragraph.
iirc, you can check if the text fits in the frame and if it does not, make it bigger... repeat it until it fits. hth. ciao a.l.e
