[Scribus] Python scripting and text

Jacek Kijewski jacek
Sun Sep 7 10:23:51 CEST 2003

Do someone know, how to operate the text in text frames from the python
scripts? I mean, I need to do following:

I have a text (from editor or database), tagged (for example:
<title1></title1><b></b> etc). I need to import it in text frame and:
- to title1 set the paragraph style title1
- to b set the other font (hm, how to set _the same_ font family with

I looked into the examples, but all are about setting properties to text
frames, not text inside them. I do not know is it possible with scribus
and python.

My problem is I have a on-line shop for sailors and I need to prepare
leaflet for the show. I have more than 150 books, so the best idea is to
prepare once a template and generate the text from database. I need to set
the title, isbn, price with other font (and size).

Is there any other way to do it?

***********Jacek Kijewski, jacek at sail-ho.pl z odwiecznym (since 1995) mottem: *
"Kazda  dostatecznie rozwinieta technologia niczym
 szczegolnym nie rozni sie od magii"                              Linux admin
                                      Portal ?eglarski: http://www.sail-ho.pl
************************************* Support Open Source:  http://www.rwo.pl *

More information about the scribus mailing list