[Scribus] scripting

Thomas R. Koll tomk32
Thu Jan 27 15:19:09 CET 2005

On Tue, Jan 25, 2005 at 10:54:49PM +0800, Craig Ringer wrote:
> setFont will change the font for the entire frame, or if there is a text
> selection within the frame, for the selected text. I don't think it
> doesn't have any way to change the font for the next text inserted. Your
> best option would probably be to insert the text, then select it and set
> the font.

That works fine now.
But doing the same for setStyle applies the style to all the text.
I've looked into the source and as it seems setStyle Deselects BEFORE while
setFont does deselecting AFTER.
I didn't compile it yet but mybe someone could confirm it?

> I'd say the best way to write a text importer for Scribus is to write it
> as a C++ plugin using the gettext interface.

I prefer Python and need network stuff.
== Weblinks ==
* http://verlag.tomk32.de/ - WikiReader Digest als Print-Ausgabe
* http://de.wikipedia.org/wiki/Benutzer:TomK32
* http://www.hammererlehen.de - Urlaub in Berchtesgaden

More information about the scribus mailing list