19 PyDoc_STRVAR(scribus_setcelltext__doc__,
20 QT_TR_NOOP(
"setCellText(row, column, text, [\"name\"])\n\
22 Sets the text of the cell at \"row\", \"column\" in the table \"name\" to \"text\".\n\
23 If \"name\" is not given the currently selected item is used.\n\
25 May throw ValueError if the cell does not exist.\n\
28 PyObject *scribus_setcelltext(PyObject * , PyObject* args);
31 PyDoc_STRVAR(scribus_getcellstyle__doc__,
32 QT_TR_NOOP(
"getCellStyle(row, column, [\"name\"]) -> string\n\
34 Returns the named style of the cell at \"row\", \"column\" in the table \"name\".\n\
35 If \"name\" is not given the currently selected item is used.\n\
37 May throw ValueError if the cell does not exist.\n\
40 PyObject *scribus_getcellstyle(PyObject * , PyObject* args);
43 PyDoc_STRVAR(scribus_setcellstyle__doc__,
44 QT_TR_NOOP(
"setCellStyle(row, column, style, [\"name\"])\n\
46 Sets the named style of the cell at \"row\", \"column\" in the table \"name\" to \"style\".\n\
47 If \"name\" is not given the currently selected item is used.\n\
49 May throw ValueError if the cell does not exist.\n\
52 PyObject *scribus_setcellstyle(PyObject * , PyObject* args);
55 PyDoc_STRVAR(scribus_getcellrowspan__doc__,
56 QT_TR_NOOP(
"getCellRowSpan(row, column, [\"name\"]) -> int\n\
58 Returns the row span of the cell at \"row\", \"column\" in the table \"name\" or -1 if the\n\
59 cell does not exist. If the cell is covered by another spanning cell, the row span of the\n\
60 spanning cell is returned. If \"name\" is not given the currently selected item is used.\n\
63 PyObject *scribus_getcellrowspan(PyObject * , PyObject* args);
66 PyDoc_STRVAR(scribus_getcellcolumnspan__doc__,
67 QT_TR_NOOP(
"getCellColumnSpan(row, column, [\"name\"]) -> int\n\
69 Returns the column span of the cell at \"row\", \"column\" in the table \"name\" or -1 if the\n\
70 cell does not exist. If the cell is covered by another spanning cell, the column span of the\n\
71 spanning cell is returned. If \"name\" is not given the currently selected item is used.\n\
74 PyObject *scribus_getcellcolumnspan(PyObject * , PyObject* args);
77 PyDoc_STRVAR(scribus_getcellfillcolor__doc__,
78 QT_TR_NOOP(
"getCellFillColor(row, column, [\"name\"]) -> string\n\
80 Returns the fill color of the cell at \"row\", \"column\" in the table \"name\"\n\
81 If \"name\" is not given the currently selected item is used.\n\
84 PyObject *scribus_getcellfillcolor(PyObject * , PyObject* args);
87 PyDoc_STRVAR(scribus_setcellfillcolor__doc__,
88 QT_TR_NOOP(
"setCellFillColor(row, column, color, [\"name\"])\n\
90 Sets the fill color of the cell at \"row\", \"column\" in the table \"name\"\n\
91 to \"color\". If \"name\" is not given the currently selected item is used.\n\
93 May throw ValueError the cell does not exist.\n\
96 PyObject *scribus_setcellfillcolor(PyObject * , PyObject* args);
99 PyDoc_STRVAR(scribus_setcellleftborder__doc__,
100 QT_TR_NOOP(
"setCellLeftBorder(row, column, borderLines, [\"name\"])\n\
102 Sets the left border of the cell at \"row\", \"column\" in the table \"name\".\n\
103 The border is specified as a list of \"(width, style, color)\" tuples.\n\
104 \"style\" is one of the LINE_* constants. If \"name\" is not given\n\
105 the currently selected item is used.\n\
107 May throw ValueError the cell does not exist or if \"borderLines\" is of the wrong format.\n\
110 PyObject *scribus_setcellleftborder(PyObject * , PyObject* args);
113 PyDoc_STRVAR(scribus_setcellrightborder__doc__,
114 QT_TR_NOOP(
"setCellRightBorder(row, column, borderLines, [\"name\"])\n\
116 Sets the right border of the cell at \"row\", \"column\" in the table \"name\".\n\
117 The border is specified as a list of \"(width, style, color)\" tuples.\n\
118 \"style\" is one of the LINE_* constants. If \"name\" is not given\n\
119 the currently selected item is used.\n\
121 May throw ValueError the cell does not exist or if \"borderLines\" is of the wrong format.\n\
124 PyObject *scribus_setcellrightborder(PyObject * , PyObject* args);
127 PyDoc_STRVAR(scribus_setcelltopborder__doc__,
128 QT_TR_NOOP(
"setCellTopBorder(row, column, borderLines, [\"name\"])\n\
130 Sets the top border of the cell at \"row\", \"column\" in the table \"name\".\n\
131 The border is specified as a list of \"(width, style, color)\" tuples.\n\
132 \"style\" is one of the LINE_* constants. If \"name\" is not given\n\
133 the currently selected item is used.\n\
135 May throw ValueError the cell does not exist or if \"borderLines\" is of the wrong format.\n\
138 PyObject *scribus_setcelltopborder(PyObject * , PyObject* args);
141 PyDoc_STRVAR(scribus_setcellbottomborder__doc__,
142 QT_TR_NOOP(
"setCellBottomBorder(row, column, borderLines, [\"name\"])\n\
144 Sets the bottom border of the cell at \"row\", \"column\" in the table \"name\".\n\
145 The border is specified as a list of \"(width, style, color)\" tuples.\n\
146 \"style\" is one of the LINE_* constants. If \"name\" is not given\n\
147 the currently selected item is used.\n\
149 May throw ValueError the cell does not exist or if \"borderLines\" is of the wrong format.\n\
152 PyObject *scribus_setcellbottomborder(PyObject * , PyObject* args);
155 PyDoc_STRVAR(scribus_setcellleftpadding__doc__,
156 QT_TR_NOOP(
"setCellLeftPadding(row, column, padding, [\"name\"])\n\
158 Sets the left padding of the cell at \"row\", \"column\" in the table \"name\"\n\
159 to \"padding\". If \"name\" is not given the currently selected item is used.\n\
161 May throw ValueError the cell does not exist or if \"padding\" less than 0.\n\
164 PyObject *scribus_setcellleftpadding(PyObject * , PyObject* args);
167 PyDoc_STRVAR(scribus_setcellrightpadding__doc__,
168 QT_TR_NOOP(
"setCellRightPadding(row, column, padding, [\"name\"])\n\
170 Sets the right padding of the cell at \"row\", \"column\" in the table \"name\"\n\
171 to \"padding\". If \"name\" is not given the currently selected item is used.\n\
173 May throw ValueError the cell does not exist or if \"padding\" less than 0.\n\
176 PyObject *scribus_setcellrightpadding(PyObject * , PyObject* args);
179 PyDoc_STRVAR(scribus_setcelltoppadding__doc__,
180 QT_TR_NOOP(
"setCellTopPadding(row, column, padding, [\"name\"])\n\
182 Sets the top padding of the cell at \"row\", \"column\" in the table \"name\"\n\
183 to \"padding\". If \"name\" is not given the currently selected item is used.\n\
185 May throw ValueError the cell does not exist or if \"padding\" is less than 0.\n\
188 PyObject *scribus_setcelltoppadding(PyObject * , PyObject* args);
191 PyDoc_STRVAR(scribus_setcellbottompadding__doc__,
192 QT_TR_NOOP(
"setCellBottomPadding(row, column, padding, [\"name\"])\n\
194 Sets the bottom padding of the cell at \"row\", \"column\" in the table \"name\"\n\
195 to \"padding\". If \"name\" is not given the currently selected item is used.\n\
197 May throw ValueError the cell does not exist or if \"padding\" is less than 0.\n\
200 PyObject *scribus_setcellbottompadding(PyObject * , PyObject* args);