[Scribus] Scripting: Get position of selected text

Gerd Häußler gerd.haeussler
Wed Feb 8 15:42:22 CET 2006


Hello all:

 

I try to make a script for generating a bulleted list from some selected
text lines as follows:

- user selects text line then start script

- script inserts a bullet and a tab char before the selected line, then
assign predefined style which handles tabulator position and indentation.

 

While exploring the scripter api, section ?Handling Text Frames? i miss a
function to get the selected text position and a function which assigns a
style to the currently selected text. Could somebody help?

 

Thanks a lot!

 

Gerd 

 

p.s. I am a scribus/python beginner but experienced in software development
using C, C++, TCL/TK 
.

 

 

-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20060208/b1ac136e/attachment.html 



More information about the scribus mailing list