[scribus] flexible text box lenght

alessandro rimoldi ale.comp_06 at xox.ch
Mon Jan 26 22:14:59 CET 2009


> 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

More information about the scribus mailing list