[Scribus] scripting

Thomas R. Koll tomk32
Wed Jan 26 09:15:23 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.

selectText did the job. Though it dies if select the whole text.
Solution is to add a single space and subtract 1 from the positon marks when
inserting and selecting text.
thank you for help.

> 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'm not a pro in C++ and I also need some network-capabilities.

-- 
== 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