21 PyDoc_STRVAR(scribus_createparagraphstyle__doc__,
22 QT_TR_NOOP(
"createParagraphStyle(...)\n\n\
23 Creates a paragraph style. This function takes the following keyword parameters:\n\n\
24 \"name\" [required] -> specifies the name of the paragraphstyle to create\n\n\
25 linespacingmode [optional] -> specifies the linespacing mode; possible modes are:\n\n\
26 fixed linespacing: 0\n\n\
27 automatic linespacing: 1\n\n\
28 baseline grid linespacing: 2\n\n\
29 linespacing [optional] -> specifies the linespacing if using fixed linespacing\n\n\
30 alignment [optional] -> specifies the alignment of the paragraph\n\n\
36 leftmargin [optional], rightmargin [optional] -> specify the margin\n\n\
37 gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs\n\n\
38 firstindent [optional] -> the indent of the first line\n\n\
39 hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no)\n\n\
40 dropcaplines [optional] -> height (in lines) of the caps if used\n\n\
41 dropcapoffset [optional] -> offset of the caps if used\n\n\
42 \"charstyle\" [optional] -> char style to use\n\n\
46 PyObject *scribus_createparagraphstyle(PyObject * , PyObject* args, PyObject* keywords);
51 PyDoc_STRVAR(scribus_createcharstyle__doc__,
52 QT_TR_NOOP(
"createCharStyle(...)\n\n\
53 Creates a character style. This function takes the following keyword parameters:\n\n\
54 \"name\" [required] -> name of the char style to create\n\n\
55 \"font\" [optional] -> name of the font to use\n\n\
56 fontsize [optional] -> font size to set (double)\n\n\
57 \"features\" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):\n\n\
62 -> underlinewords\n\n\
70 \"fillcolor\" [optional], \"fillshade\" [optional] -> specify fill options\n\n\
71 \"strokecolor\" [optional], \"strokeshade\" [optional] -> specify stroke options\n\n\
72 baselineoffset [optional] -> offset of the baseline\n\n\
73 shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used\n\n\
74 outlinewidth [optional] -> width of the outline if used\n\n\
75 underlineoffset [optional], underlinewidth [optional] -> underline options if used\n\n\
76 strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used\n\n\
77 scaleh [optional], scalev [optional] -> scale of the chars\n\n\
78 tracking [optional] -> tracking of the text\n\n\
79 \"language\" [optional] -> language code\n\n\
83 PyObject *scribus_createcharstyle(PyObject * , PyObject* args, PyObject* keywords);