Back to index

scribus-ng  1.3.4.dfsg+svn20071115
cmdsetprop.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef CMDSETPROP_H
00008 #define CMDSETPROP_H
00009 
00010 // Pulls in <Python.h> first
00011 #include "cmdvar.h"
00012 
00016 PyDoc_STRVAR(scribus_setgradfill__doc__,
00017 QT_TR_NOOP("setGradientFill(type, \"color1\", shade1, \"color2\", shade2, [\"name\"])\n\
00018 \n\
00019 Sets the gradient fill of the object \"name\" to type. Color descriptions are\n\
00020 the same as for setFillColor() and setFillShade(). See the constants for\n\
00021 available types (FILL_<type>).\n\
00022 "));
00024 PyObject *scribus_setgradfill(PyObject */*self*/, PyObject* args);
00025 
00027 PyDoc_STRVAR(scribus_setfillcolor__doc__,
00028 QT_TR_NOOP("setFillColor(\"color\", [\"name\"])\n\
00029 \n\
00030 Sets the fill color of the object \"name\" to the color \"color\". \"color\"\n\
00031 is the name of one of the defined colors. If \"name\" is not given the\n\
00032 currently selected item is used.\n\
00033 "));
00035 PyObject *scribus_setfillcolor(PyObject */*self*/, PyObject* args);
00036 
00038 PyDoc_STRVAR(scribus_setfilltrans__doc__,
00039 QT_TR_NOOP("setFillTransparency(transparency, [\"name\"])\n\
00040 \n\
00041 Sets the fill transparency of the object \"name\" to transparency\n\
00042 If \"name\" is not given the currently selected item is used.\n\
00043 "));
00045 PyObject *scribus_setfilltrans(PyObject */*self*/, PyObject* args);
00046 
00048 PyDoc_STRVAR(scribus_setfillblend__doc__,
00049 QT_TR_NOOP("setFillBlendmode(blendmode, [\"name\"])\n\
00050 \n\
00051 Sets the fill blendmode of the object \"name\" to blendmode\n\
00052 If \"name\" is not given the currently selected item is used.\n\
00053 "));
00055 PyObject *scribus_setfillblend(PyObject */*self*/, PyObject* args);
00056 
00058 PyDoc_STRVAR(scribus_setlinecolor__doc__,
00059 QT_TR_NOOP("setLineColor(\"color\", [\"name\"])\n\
00060 \n\
00061 Sets the line color of the object \"name\" to the color \"color\". If \"name\"\n\
00062 is not given the currently selected item is used.\n\
00063 "));
00065 PyObject *scribus_setlinecolor(PyObject */*self*/, PyObject* args);
00066 
00068 PyDoc_STRVAR(scribus_setlinetrans__doc__,
00069 QT_TR_NOOP("setLineTransparency(transparency, [\"name\"])\n\
00070 \n\
00071 Sets the line transparency of the object \"name\" to transparency\n\
00072 If \"name\" is not given the currently selected item is used.\n\
00073 "));
00075 PyObject *scribus_setlinetrans(PyObject */*self*/, PyObject* args);
00076 
00078 PyDoc_STRVAR(scribus_setlineblend__doc__,
00079 QT_TR_NOOP("setLineBlendmode(blendmode, [\"name\"])\n\
00080 \n\
00081 Sets the line blendmode of the object \"name\" to blendmode\n\
00082 If \"name\" is not given the currently selected item is used.\n\
00083 "));
00085 PyObject *scribus_setlineblend(PyObject */*self*/, PyObject* args);
00086 
00088 PyDoc_STRVAR(scribus_setlinewidth__doc__,
00089 QT_TR_NOOP("setLineWidth(width, [\"name\"])\n\
00090 \n\
00091 Sets line width of the object \"name\" to \"width\". \"width\" must be in the\n\
00092 range from 0.0 to 12.0 inclusive, and is measured in points. If \"name\" is not\n\
00093 given the currently selected item is used.\n\
00094 \n\
00095 May raise ValueError if the line width is out of bounds.\n\
00096 "));
00098 PyObject *scribus_setlinewidth(PyObject */*self*/, PyObject* args);
00099 
00101 PyDoc_STRVAR(scribus_setlineshade__doc__,
00102 QT_TR_NOOP("setLineShade(shade, [\"name\"])\n\
00103 \n\
00104 Sets the shading of the line color of the object \"name\" to \"shade\".\n\
00105 \"shade\" must be an integer value in the range from 0 (lightest) to 100\n\
00106 (full color intensity). If \"name\" is not given the currently selected item\n\
00107 is used.\n\
00108 \n\
00109 May raise ValueError if the line shade is out of bounds.\n\
00110 "));
00112 PyObject *scribus_setlineshade(PyObject */*self*/, PyObject* args);
00113 
00115 PyDoc_STRVAR(scribus_setlinejoin__doc__,
00116 QT_TR_NOOP("setLineJoin(join, [\"name\"])\n\
00117 \n\
00118 Sets the line join style of the object \"name\" to the style \"join\".\n\
00119 If \"name\" is not given the currently selected item is used. There are\n\
00120 predefined constants for join - JOIN_<type>.\n\
00121 "));
00123 PyObject *scribus_setlinejoin(PyObject */*self*/, PyObject* args);
00124 
00126 PyDoc_STRVAR(scribus_setlineend__doc__,
00127 QT_TR_NOOP("setLineEnd(endtype, [\"name\"])\n\
00128 \n\
00129 Sets the line cap style of the object \"name\" to the style \"cap\".\n\
00130 If \"name\" is not given the currently selected item is used. There are\n\
00131 predefined constants for \"cap\" - CAP_<type>.\n\
00132 "));
00134 PyObject *scribus_setlineend(PyObject */*self*/, PyObject* args);
00135 
00137 PyDoc_STRVAR(scribus_setlinestyle__doc__,
00138 QT_TR_NOOP("setLineStyle(style, [\"name\"])\n\
00139 \n\
00140 Sets the line style of the object \"name\" to the style \"style\". If \"name\"\n\
00141 is not given the currently selected item is used. There are predefined\n\
00142 constants for \"style\" - LINE_<style>.\n\
00143 "));
00145 PyObject *scribus_setlinestyle(PyObject */*self*/, PyObject* args);
00146 
00148 PyDoc_STRVAR(scribus_setfillshade__doc__,
00149 QT_TR_NOOP("setFillShade(shade, [\"name\"])\n\
00150 \n\
00151 Sets the shading of the fill color of the object \"name\" to \"shade\".\n\
00152 \"shade\" must be an integer value in the range from 0 (lightest) to 100\n\
00153 (full Color intensity). If \"name\" is not given the currently selected\n\
00154 Item is used.\n\
00155 \n\
00156 May raise ValueError if the fill shade is out of bounds.\n\
00157 "));
00159 PyObject *scribus_setfillshade(PyObject */*self*/, PyObject* args);
00160 
00162 PyDoc_STRVAR(scribus_setcornerrad__doc__,
00163 QT_TR_NOOP("setCornerRadius(radius, [\"name\"])\n\
00164 \n\
00165 Sets the corner radius of the object \"name\". The radius is expressed\n\
00166 in points. If \"name\" is not given the currently selected item is used.\n\
00167 \n\
00168 May raise ValueError if the corner radius is negative.\n\
00169 "));
00171 PyObject *scribus_setcornerrad(PyObject */*self*/, PyObject* args);
00172 
00174 PyDoc_STRVAR(scribus_setmultiline__doc__,
00175 QT_TR_NOOP("setMultiLine(\"namedStyle\", [\"name\"])\n\
00176 \n\
00177 Sets the line style of the object \"name\" to the named style \"namedStyle\".\n\
00178 If \"name\" is not given the currently selected item is used.\n\
00179 \n\
00180 May raise NotFoundError if the line style doesn't exist.\n\
00181 "));
00183 PyObject *scribus_setmultiline(PyObject */*self*/, PyObject* args);
00184 
00185 #endif
00186