[scribus] applying text filters when importing text with a script
chantal at antenna.nl
Thu Aug 6 09:37:55 CEST 2009
On Thursday 06 August 2009 09:25:33 a.l.e wrote:
> hi chantal
> > I am writing a script that imports text and images and automatically
> > creates and resizes text frames. I would also like to automatically apply
> > styles, I had a look at setStyle but setStyle applies a style to a whole
> > frame and I want the style to depend on the content.
> doesn't setStyle() apply to the current selection as all the other
> formatting commands?
> if not, please fill a bug!
> have fun
> scribus mailing list
> scribus at lists.scribus.net
Yes it does work but how can I select part of a textframe based on the
content? For example, select text that starts with ====== and ends with ======
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scribus