[scribus] Patch adding two new Scripter API functions

Guillaume Pothier gpothier at gmail.com
Wed Dec 16 12:08:39 CET 2009


Hi,
The attached patch (against svn trunk) adds two new functions to the
Scripter API:

- setLineSpacingMode(mode, "name"): sets the line spacing mode of a
text frame. The values for the mode are the same as those described in
createParagraphStyle (fixed linespacing: 0, automatic linespacing: 1,
baseline grid linespacing: 2)

- setBaseLine(grid, offset): sets the baseline guides parameters of
the current document. The values are in the measurement units of the
document.

Does this look reasonable to be included?
BTW, is it the correct place to submit patches?
Cheers,
g
-------------- next part --------------
A non-text attachment was scrubbed...
Name: funcs.diff
Type: application/octet-stream
Size: 6448 bytes
Desc: not available
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20091216/51b77b06/attachment.obj>



More information about the scribus mailing list