[scribus] vertical align effect, in TextFrame?

Dean dmccorqu at bigpond.net.au
Thu Aug 14 16:41:08 CEST 2008


On Thu, 2008-08-14 at 10:26 -0400, Pankaj Mittal wrote:
> > Date: Thu, 14 Aug 2008 09:28:54 -0400
> > From: Gregory Pittman <gpittman at iglou.com>
> > Subject: Re: [scribus] vertical align effect, in TextFrame?
> > To: Scribus User Mailing List <scribus at lists.scribus.net>
> > Message-ID: <48A43316.40603 at iglou.com>
> > Content-Type: text/plain; charset=UTF-8; format=flowed
> > 
> > Pankaj Mittal wrote:
> >> Hi
> >>
> >> Using scripter, I am creating a TextFrame. I am also able to 
> >> align_center the text horizontally. But I am not able to find any api, 
> >> which can center align the text vertically.
> >>
> >> How can acheive the vertical align effect, in TextFrame, using 
> >> Scripter? Please advise.
> > Actually, you can't even do this in the main GUI. If you think about it, 
> > it is a much trickier operation than centering on a line, which is why 
> > it hasn't been implemented yet.
> > 
> > Greg
> > 
> Thanks. Are there any creative ways to work around this limitation?
> 
Could you have the script calculate the depth of text subtract from
depth of text box and add appropriate number of lines to start of text?






More information about the scribus mailing list