Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 137 → Rev 138

/trunk/Scribus/ChangeLogCVS
1,4 → 1,14
Changes since Version 1.1.4
28.12.2003 Text flows now around both Sides of Objects.
You can use now Units like pt or mm in Floating Point Spinboxes where applicable.
Added some new Commands to the Scripter:
- MessageBox
- StatusMessage
- GetColums
- GetColumnGap
- SetColums
- SetColumnGap
 
27.12.2003 All Floating Point Spinboxes can now evaluate Expressions like
(1 + 3) * 5, there is now a full calculator available. (Code borrowed from QCad)
 
/trunk/Scribus/scribus/pageitem.cpp
569,8 → 569,7
CurrCol = 0;
ColWidth = (Width - (ColGap * (Cols - 1)) - Extra - RExtra) / Cols;
ColBound = FPoint((ColWidth + ColGap) * CurrCol, ColWidth * (CurrCol+1) + ColGap * CurrCol + Extra+lineCorr);
if (Cols > 1)
ColBound = FPoint(ColBound.x(), ColBound.y()+RExtra+lineCorr);
ColBound = FPoint(ColBound.x(), ColBound.y()+RExtra+lineCorr);
CurX = Extra + lineCorr + ColBound.x();
CurY = Doc->Vorlagen[0].LineSpa+TExtra+lineCorr;
LiList.clear();
655,6 → 654,7
wide = wide * (hl->cscale / 100.0);
desc = static_cast<int>(-(*Doc->AllFonts)[hl->cfont]->numDescender * (chs / 10.0));
asce = static_cast<int>((*Doc->AllFonts)[hl->cfont]->numAscent * (chs / 10.0));
fBorder = false;
if (LiList.isEmpty())
{
pt1 = QPoint(static_cast<int>(CurX), static_cast<int>(CurY+desc+BExtra+lineCorr));
705,7 → 705,7
}
hl->xp = CurX+hl->cextra;
hl->yp = CurY;
CurY = oldCurY;
// CurY = oldCurY;
CurX += wide+hl->cextra;
pt1 = QPoint(static_cast<int>(CurX+RExtra+lineCorr), static_cast<int>(CurY+desc+BExtra+lineCorr));
pt2 = QPoint(static_cast<int>(CurX+RExtra+lineCorr), static_cast<int>(CurY-asce));
886,18 → 886,55
BuPos2 = a;
BuPos2++;
uint BuPos3 = BuPos;
CurY += Doc->Vorlagen[0].LineSpa;
if (CurrCol == 0)
CurX = Extra+lineCorr+ColBound.x();
else
CurX = ColBound.x();
if (hl->ch != QChar(13))
CurX += Doc->Vorlagen[hl->cab].Indent;
else
if ((outs) || (hl->ch == QChar(13)))
{
CurY += Doc->Vorlagen[hl->cab].Anach;
if (BuPos3 > 0)
BuPos3 -= 1;
if ((outs) && (CurX+RExtra+lineCorr < ColBound.y()))
{
bool fromOut = true;
pt1 = QPoint(static_cast<int>(CurX), static_cast<int>(CurY+desc+BExtra+lineCorr));
pt2 = QPoint(static_cast<int>(CurX), static_cast<int>(CurY-asce));
while ((!cl.contains(pf.xForm(pt1))) || (!cl.contains(pf.xForm(pt2))))
{
CurX++;
if (CurX+RExtra+lineCorr > ColBound.y())
{
fromOut = false;
CurY += Doc->Vorlagen[0].LineSpa;
CurX = ColBound.x();
if (hl->ch != QChar(13))
CurX += Doc->Vorlagen[hl->cab].Indent;
else
{
CurY += Doc->Vorlagen[hl->cab].Anach;
if (BuPos3 > 0)
BuPos3 -= 1;
}
break;
}
pt1 = QPoint(static_cast<int>(CurX), static_cast<int>(CurY+desc+BExtra+lineCorr));
pt2 = QPoint(static_cast<int>(CurX), static_cast<int>(CurY-asce));
}
if (CurrCol == 0)
CurX += Extra+lineCorr;
else if (fromOut)
CurX--;
}
else
{
CurY += Doc->Vorlagen[0].LineSpa;
if (CurrCol == 0)
CurX = Extra+lineCorr+ColBound.x();
else
CurX = ColBound.x();
if (hl->ch != QChar(13))
CurX += Doc->Vorlagen[hl->cab].Indent;
else
{
CurY += Doc->Vorlagen[hl->cab].Anach;
if (BuPos3 > 0)
BuPos3 -= 1;
}
}
}
hl->xp = CurX;
hl->yp = CurY;
/trunk/Scribus/scribus/libabout/about.cpp
38,7 → 38,7
tabLayout1->addWidget( PixmapLabel1 );
BuildID = new QLabel( tab, "BB" );
BuildID->setAlignment(Qt::AlignCenter);
QString bu = tr("%1. %2 %3 ").arg(27).arg("December").arg(2003);
QString bu = tr("%1. %2 %3 ").arg(28).arg("December").arg(2003);
#ifdef HAVE_CMS
bu += "C";
#else
/trunk/Scribus/scribus/mspinbox.cpp
23,6 → 23,10
{
switch (s)
{
case 0:
Decimals = 1;
Width = 0;
break;
case 1:
Decimals = 10;
Width = 1;
47,7 → 51,7
QKeyEvent* k = (QKeyEvent*)ev;
if (k->key() == Key_Shift)
{
setLineStep(Decimals / 10);
setLineStep(QMAX(Decimals / 10, 1));
retval = true;
qApp->sendEvent( this, ev );
return retval;
77,7 → 81,42
{
double dez = Width == 1 ? 10.0 : 100.0;
FunctionParser fp;
int ret = fp.Parse(cleanText().latin1(), "", true);
QString ts = text();
QString su = suffix();
ts.replace(",", ".");
if (su == tr( " pt" ))
{
ts.replace("pt", "");
ts.replace("mm", "/25.4*72");
ts.replace("in", "*72");
ts.replace("p", "*12");
}
else if (su == tr( " mm" ))
{
ts.replace("pt", "/72*25.4");
ts.replace("mm", "");
ts.replace("in", "*25.4");
ts.replace("p", "/12*25.4");
}
else if (su == tr( " in" ))
{
ts.replace("pt", "/72");
ts.replace("mm", "/25.4");
ts.replace("in", "");
ts.replace("p", "/6");
}
else if (su == tr( " p" ))
{
ts.replace("pt", "/12");
ts.replace("mm", "/25.4*6");
ts.replace("in", "*6");
ts.replace("p", "");
}
else if (su != "")
{
ts.replace(su, " ");
}
int ret = fp.Parse(ts.latin1(), "", true);
if (ret >= 0)
return 0;
double erg = fp.Eval(NULL);
88,6 → 127,8
{
Decimals = deci;
setLineStep(Decimals);
if (deci < 10)
Width = 0;
if (deci > 9 && deci < 100)
Width = 1;
if (deci > 99)
/trunk/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp
68,6 → 68,19
PyInt_FromLong(0L);
}
 
PyObject *scribus_getcolumns(PyObject *self, PyObject* args)
{
char *Name = "";
if (!PyArg_ParseTuple(args, "|s", &Name))
return NULL;
if (!Carrier->HaveDoc)
return PyInt_FromLong(0L);
int i = GetItem(QString(Name));
return i != -1 ?
PyInt_FromLong(static_cast<long>(doc->ActPage->Items.at(i)->Cols)) :
PyInt_FromLong(0L);
}
 
PyObject *scribus_getlinespace(PyObject *self, PyObject* args)
{
char *Name = "";
81,6 → 94,19
PyFloat_FromDouble(0.0);
}
 
PyObject *scribus_getcolumngap(PyObject *self, PyObject* args)
{
char *Name = "";
if (!PyArg_ParseTuple(args, "|s", &Name))
return NULL;
if (!Carrier->HaveDoc)
return PyFloat_FromDouble(0.0);
int i = GetItem(QString(Name));
return i != -1 ?
PyFloat_FromDouble(static_cast<double>(doc->ActPage->Items.at(i)->ColGap)) :
PyFloat_FromDouble(0.0);
}
 
PyObject *scribus_getframetext(PyObject *self, PyObject* args)
{
char *Name = "";
364,6 → 390,36
return Py_None;
}
 
PyObject *scribus_setcolumngap(PyObject *self, PyObject* args)
{
char *Name = "";
double w;
if (!PyArg_ParseTuple(args, "d|s", &w, &Name))
return NULL;
Py_INCREF(Py_None);
if ((!Carrier->HaveDoc) || (w < 0.0))
return Py_None;
int i = GetItem(QString(Name));
if (i != -1)
doc->ActPage->Items.at(i)->ColGap = w;
return Py_None;
}
 
PyObject *scribus_setcolumns(PyObject *self, PyObject* args)
{
char *Name = "";
int w;
if (!PyArg_ParseTuple(args, "i|s", &w, &Name))
return NULL;
Py_INCREF(Py_None);
if ((!Carrier->HaveDoc) || (w < 1))
return Py_None;
int i = GetItem(QString(Name));
if (i != -1)
doc->ActPage->Items.at(i)->Cols = w;
return Py_None;
}
 
PyObject *scribus_selecttext(PyObject *self, PyObject* args)
{
char *Name = "";
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node7.html
1,53 → 1,55
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Creating and Destructing Objects</title>
<meta name="description" content="Creating and Destructing Objects">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.1 Creating and Destructing Objects</TITLE>
<META NAME="description" CONTENT="3.3.1 Creating and Destructing Objects">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node8.html">
<link rel="previous" href="node6.html">
<link rel="up" href="node6.html">
<link rel="next" href="node8.html">
</head>
<LINK REL="next" HREF="node8.html">
<LINK REL="previous" HREF="node6.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node8.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html128"
href="node8.html">Selecting Objects</a>
<b> Up:</b> <a name="tex2html124"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html118"
href="node6.html">Object related Commands</a>
&nbsp; <b> <a name="tex2html126"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html128"
HREF="node8.html">3.3.2 Selecting Objects</A>
<B> Up:</B> <A NAME="tex2html124"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html118"
HREF="node6.html">3.3 Object related Commands</A>
&nbsp <B> <A NAME="tex2html126"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00331000000000000000">
Creating and Destructing Objects</a>
</h2>
<H2><A NAME="SECTION00331000000000000000">
3.3.1 Creating and Destructing Objects</A>
</H2>
 
<p>
<dl>
<dt><strong>CreateBezierLine<a name="106"></a>(<i>list</i>,&nbsp;[''name''])</strong></dt>
<dd>Creates
<P>
<DL>
<DT><STRONG>CreateBezierLine<A NAME="106"></A>(<I>list</I>,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Bezier Curve and returns its Name. The Points for the Bezier
Curve are stored in the List ``list'' in the following Order:
x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn. Where x and
57,41 → 59,41
Identifier for the Object because you need this Name for further referencing
of that Object. If ``name is not given Scribus will create one
for you.
</dd>
<dt><strong>CreateEllipse<a name="113"></a>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreateEllipse<A NAME="113"></A>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Ellipse on the actual Page and returns its Name. The Coordinates
are given in the actual measurement Unit of the Document. ``name''
should be a unique Identifier for the Object because you need this
Name for further referencing of that Object. If ``name is not given
Scribus will create one for you.
</dd>
<dt><strong>CreateImage<a name="118"></a>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreateImage<A NAME="118"></A>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Picture on the actual Page and returns its Name. The Coordinates
are given in the actual measurement Unit of the Document. ``name''
should be a unique Identifier for the Object because you need this
Name for further referencing of that Object. If ``name is not given
Scribus will create one for you.
</dd>
<dt><strong>CreateLine<a name="123"></a>(x1,&nbsp;y1,&nbsp;x2,&nbsp;y2,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreateLine<A NAME="123"></A>(x1,&nbsp;y1,&nbsp;x2,&nbsp;y2,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Line from the Point(x1, y1) to the Point(x2, y2) and returns
its Name. The Coordinates are given in the actual measurement Unit
of the Document. ``name'' should be a unique Identifier for the
Object because you need this Name for further referencing of that
Object. If ``name is not given Scribus will create one for you.
</dd>
<dt><strong>CreatePathText(x,&nbsp;y,&nbsp;``textbox'',&nbsp;''beziercurve'',&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreatePathText(x,&nbsp;y,&nbsp;``textbox'',&nbsp;''beziercurve'',&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a nex PathText by merging the 2 Objects ``textbox'' and ``beziercurve''
and returns its Name. The Coordinates are given in the actual measurement
Unit of the Document ``name'' should be a unique Identifier for
the Object because you need this Name for further referencing of that
Object. If ``name is not given Scribus will create one for you.
</dd>
<dt><strong>CreatePolygon<a name="135"></a>(<i>list</i>,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreatePolygon<A NAME="135"></A>(<I>list</I>,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Polygon and returns its Name. The Points for the Polygon are
stored in the List ``list'' in the following Order: x1, y1, x2,
y2...xn. yn. At least three Points are required. There is no need
101,9 → 103,9
should be a unique Identifier for the Object because you need this
Name for further referencing of that Object. If ``name is not given
Scribus will create one for you.
</dd>
<dt><strong>CreatePolyLine<a name="142"></a>(<i>list</i>,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreatePolyLine<A NAME="142"></A>(<I>list</I>,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Polyline and returns its Name. The Points for the Polyline are
stored in the List ``list'' in the following Order: x1, y1, x2,
y2...xn. yn. The Coordinates are given in the actual measurement Unit
110,43 → 112,40
of the Document. ``name'' should be a unique Identifier for the
Object because you need this Name for further referencing of that
Object. If ``name is not given Scribus will create one for you.
</dd>
<dt><strong>CreateRect<a name="149"></a>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreateRect<A NAME="149"></A>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Rectangle on the actual Page and returns its Name. The Coordinates
are given in the actual measurement Unit of the Document. ``name''
should be a unique Identifier for the Object because you need this
Name for further referencing of that Object. If ``name is not given
Scribus will create one for you.
</dd>
<dt><strong>CreateText<a name="154"></a>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>CreateText<A NAME="154"></A>(x,&nbsp;y,&nbsp;width,&nbsp;height,&nbsp;[''name''])</STRONG></DT>
<DD>Creates
a new Rectangle on the actual Page and returns its Name. The Coordinates
are given in the actual measurement Unit of the Document. ``name''
should be a unique Identifier for the Object because you need this
Name for further referencing of that Object. If ``name is not given
Scribus will create one for you.
</dd>
<dt><strong>DeleteObject<a name="159"></a>([``name''])</strong></dt>
<dd>Deletes the
</DD>
<DT><STRONG>DeleteObject<A NAME="159"></A>([``name''])</STRONG></DT>
<DD>Deletes the
Item with the Name ``name''. If ``name'' is not given the
currently selected Item is deleted.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html128"
href="node8.html">Selecting Objects</a>
<b> Up:</b> <a name="tex2html124"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html118"
href="node6.html">Object related Commands</a>
&nbsp; <b> <a name="tex2html126"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html128"
HREF="node8.html">3.3.2 Selecting Objects</A>
<B> Up:</B> <A NAME="tex2html124"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html118"
HREF="node6.html">3.3 Object related Commands</A>
&nbsp <B> <A NAME="tex2html126"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node8.html
1,72 → 1,72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Selecting Objects</title>
<meta name="description" content="Selecting Objects">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.2 Selecting Objects</TITLE>
<META NAME="description" CONTENT="3.3.2 Selecting Objects">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node9.html">
<link rel="previous" href="node7.html">
<link rel="up" href="node6.html">
<link rel="next" href="node9.html">
</head>
<LINK REL="next" HREF="node9.html">
<LINK REL="previous" HREF="node7.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node9.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html140"
href="node9.html">Setting Object Properties</a>
<b> Up:</b> <a name="tex2html136"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html130"
href="node7.html">Creating and Destructing Objects</a>
&nbsp; <b> <a name="tex2html138"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html140"
HREF="node9.html">3.3.3 Setting Object Properties</A>
<B> Up:</B> <A NAME="tex2html136"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html130"
HREF="node7.html">3.3.1 Creating and Destructing</A>
&nbsp <B> <A NAME="tex2html138"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00332000000000000000">
Selecting Objects</a>
</h2>
<H2><A NAME="SECTION00332000000000000000">
3.3.2 Selecting Objects</A>
</H2>
 
<p>
<dl>
<dt><strong>DeselectAll<a name="168"></a>()</strong></dt>
<dd>Deselects all Objects.
</dd>
<dt><strong>GetSelectedObject<a name="169"></a>([nr])</strong></dt>
<dd>Returns the
<P>
<DL>
<DT><STRONG>DeselectAll<A NAME="168"></A>()</STRONG></DT>
<DD>Deselects all Objects.
</DD>
<DT><STRONG>GetSelectedObject<A NAME="169"></A>([nr])</STRONG></DT>
<DD>Returns the
Name of the selecteted Object. ``nr'' if given indicates the Number
of the selected Object, e.g. 0 means the first selected Object, 1
means the second selected Object and so on.
</dd>
<dt><strong>SelectionCount<a name="173"></a>()</strong></dt>
<dd>Returns the Number of selected
</DD>
<DT><STRONG>SelectionCount<A NAME="173"></A>()</STRONG></DT>
<DD>Returns the Number of selected
Objects.
</dd>
<dt><strong>SelectObject<a name="174"></a>(``name'')</strong></dt>
<dd>Selects the Object
</DD>
<DT><STRONG>SelectObject<A NAME="174"></A>(``name'')</STRONG></DT>
<DD>Selects the Object
with the given Name.
</dd>
</dl>
</DD>
</DL>
 
<p>
<br><hr>
 
</body>
</html>
<P>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node9.html
1,142 → 1,140
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Setting Object Properties</title>
<meta name="description" content="Setting object Properties">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.3 Setting Object Properties</TITLE>
<META NAME="description" CONTENT="3.3.3 Setting Object Properties">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node10.html">
<link rel="previous" href="node8.html">
<link rel="up" href="node6.html">
<link rel="next" href="node10.html">
</head>
<LINK REL="next" HREF="node10.html">
<LINK REL="previous" HREF="node8.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node10.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html152"
href="node10.html">Getting Object Properties</a>
<b> Up:</b> <a name="tex2html148"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html142"
href="node8.html">Selecting Objects</a>
&nbsp; <b> <a name="tex2html150"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html152"
HREF="node10.html">3.3.4 Getting Object Properties</A>
<B> Up:</B> <A NAME="tex2html148"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html142"
HREF="node8.html">3.3.2 Selecting Objects</A>
&nbsp <B> <A NAME="tex2html150"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00333000000000000000">
Setting Object Properties</a>
</h2>
<H2><A NAME="SECTION00333000000000000000">
3.3.3 Setting Object Properties</A>
</H2>
 
<p>
<dl>
<dt><strong>LoadImage<a name="179"></a>(''picture'',&nbsp;[``name''])</strong></dt>
<dd>Loads
<P>
<DL>
<DT><STRONG>LoadImage<A NAME="179"></A>(''picture'',&nbsp;[``name''])</STRONG></DT>
<DD>Loads
the Picture ``picture'' into the Image Frame ``name''. If
``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>ScaleImage<a name="186"></a>(x-scaling,&nbsp;y-scaling,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>ScaleImage<A NAME="186"></A>(x-scaling,&nbsp;y-scaling,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Scaling Factors of the Picture in the Image Frame ``name''.
If ``name'' is not given the currently selected Item is used.
A Number of 1 means 100 %.
</dd>
<dt><strong>SetCornerRadius<a name="192"></a>(radius,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetCornerRadius<A NAME="192"></A>(radius,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Corner Radius of the Object ``name'' The Radius is expressed
in Points. If ``name'' is not given the currently selected Item
is used.
</dd>
<dt><strong>SetFillColor<a name="198"></a>(''color'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetFillColor<A NAME="198"></A>(''color'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Fill Color of the Object ``name'' to the Color ``color''.
``color'' is the Name of one of the defined Colors. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>SetFillShade<a name="206"></a>(shade,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetFillShade<A NAME="206"></A>(shade,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the shading of the Fill Color of the Object ``name'' to ``shade''.
``shade'' must be an Integer Value in the range from 0 (lightest)
to 100 (full Color intensity). If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>SetGradientFill<a name="214"></a>(type,&nbsp;``color1'',&nbsp;shade1,&nbsp;``color2'',&nbsp;shade2,&nbsp;[''name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetGradientFill<A NAME="214"></A>(type,&nbsp;``color1'',&nbsp;shade1,&nbsp;``color2'',&nbsp;shade2,&nbsp;[''name''])</STRONG></DT>
<DD>Sets
the Gradient Fill of the Object ``name'' to type. Color Descriptions
are the same as for ``SetFillColor'' and ``SetFillShade''.
</dd>
<dt><strong>SetLineCap<a name="222"></a>(''cap'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineCap<A NAME="222"></A>(''cap'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Line Cap Style of the Object ``name'' to the Style ``cap''.
If ``name'' is not given the currently selected Item is used.
There are predefined Constants for ``cap''.
</dd>
<dt><strong>SetLineColor<a name="230"></a>(''color'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineColor<A NAME="230"></A>(''color'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Line Color of the Object ``name'' to the Color ``color''.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>SetMultiLine<a name="237"></a>(``namedStyle'',&nbsp;[''name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetMultiLine<A NAME="237"></A>(``namedStyle'',&nbsp;[''name''])</STRONG></DT>
<DD>Sets
the Line Style of the Object ``name'' to the Named Style ``namedStyle''
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>SetLineJoin<a name="244"></a>(''join'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineJoin<A NAME="244"></A>(''join'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Line Join Style of the Object ``name'' to the Style ``join''.
If ``name'' is not given the currently selected Item is used.
There are predefined Constants for ``join''.
</dd>
<dt><strong>SetLineShade<a name="252"></a>(shade,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineShade<A NAME="252"></A>(shade,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the shading of the Line Color of the Object ``name'' to ``shade''.
``shade'' must be an Integer Value in the range from 0 (lightest)
to 100 (full Color intensity). If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>SetLineStyle<a name="260"></a>(''style'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineStyle<A NAME="260"></A>(''style'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Line Style of the Object ``name'' to the Style ``style''.
If ``name'' is not given the currently selected Item is used.
There are predefined Constants for ``style''.
</dd>
<dt><strong>SetLineWidth<a name="268"></a>(width,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLineWidth<A NAME="268"></A>(width,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
Line Width of the Object ``name'' to ``width''. ``width''
must be in the range from 0.0 to 12.0 inclusive. If ``name'' is
not given the currently selected Item is used.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html152"
href="node10.html">Getting Object Properties</a>
<b> Up:</b> <a name="tex2html148"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html142"
href="node8.html">Selecting Objects</a>
&nbsp; <b> <a name="tex2html150"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html152"
HREF="node10.html">3.3.4 Getting Object Properties</A>
<B> Up:</B> <A NAME="tex2html148"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html142"
HREF="node8.html">3.3.2 Selecting Objects</A>
&nbsp <B> <A NAME="tex2html150"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/Manual.lyx
32,7 → 32,7
Franz Schmid
\layout Date
 
04.11.2003
28.12.2003
\layout Abstract
 
This is the description how to use the Scripting Plugin for Scribus.
2598,8 → 2598,8
is not given the currently selected Item is used.
\layout Description
 
GetLineSpacing
\begin_inset LatexCommand \index{GetLineSpacing}
GetAllText
\begin_inset LatexCommand \index{GetText}
 
\end_inset
 
2611,7 → 2611,7
\begin_inset Quotes erd
\end_inset
 
]) Gets the Linespacing of the Text Frame
]) Returns the Text of the Textframe
\begin_inset Quotes eld
\end_inset
 
2619,6 → 2619,40
\begin_inset Quotes erd
\end_inset
 
and of all Textframes which are linked with this Frame.
If this Textframe has some Text selected, this Text is returned.
If
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
is not given the currently selected Item is used.
\layout Description
 
GetColumnGap
\begin_inset LatexCommand \index{GetColumnGap}
 
\end_inset
 
([
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
]) Gets the Column Gap of the Text Frame
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
expressed in Points.
If
\begin_inset Quotes eld
2631,6 → 2665,39
is not given the currently selected Item is used.
\layout Description
 
GetColumns
\begin_inset LatexCommand \index{GetColumns}
 
\end_inset
 
([
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
]) Gets the number of Columns of the Text Frame
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
.
If
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
is not given the currently selected Item is used.
\layout Description
 
GetFont
\begin_inset LatexCommand \index{GetFont}
 
2701,8 → 2768,8
is not given the currently selected Item is used.
\layout Description
 
GetAllText
\begin_inset LatexCommand \index{GetText}
GetLineSpacing
\begin_inset LatexCommand \index{GetLineSpacing}
 
\end_inset
 
2714,7 → 2781,7
\begin_inset Quotes erd
\end_inset
 
]) Returns the Text of the Textframe
]) Gets the Linespacing of the Text Frame
\begin_inset Quotes eld
\end_inset
 
2722,8 → 2789,7
\begin_inset Quotes erd
\end_inset
 
and of all Textframes which are linked with this Frame.
If this Textframe has some Text selected, this Text is returned.
expressed in Points.
If
\begin_inset Quotes eld
\end_inset
2931,12 → 2997,13
is not given the currently selected Item is used.
\layout Description
 
SetTextAlignment
\begin_inset LatexCommand \index{SetTextAlignment}
SelectText
\begin_inset LatexCommand \index{SelectText}
 
\end_inset
 
(align,\SpecialChar ~
(start,\SpecialChar ~
count,\SpecialChar ~
[
\begin_inset Quotes eld
\end_inset
2945,16 → 3012,15
\begin_inset Quotes erd
\end_inset
 
]) Sets the Textalignment of the Text Frame
]) Selects
\begin_inset Quotes eld
\end_inset
 
name
count
\begin_inset Quotes erd
\end_inset
 
to the specified Alignment.
If
Characters Text of the Textframe
\begin_inset Quotes eld
\end_inset
 
2962,35 → 3028,26
\begin_inset Quotes erd
\end_inset
 
is not given the currently selected Item is used.
starting from the Character
\begin_inset Quotes eld
\end_inset
 
align
start
\begin_inset Quotes erd
\end_inset
 
can have the following values:
\layout Quotation
\noindent \align left
0 = Left Aligned
\newline
1 = Centered
\newline
2 = Right Aligned
\newline
3 = Forced
\layout Description
.
Character Counting starts at 0.
If
\begin_inset Quotes eld
\end_inset
 
SelectText
\begin_inset LatexCommand \index{SelectText}
 
count
\begin_inset Quotes erd
\end_inset
 
(start,\SpecialChar ~
count,\SpecialChar ~
[
is zero, any Text Selection will be cleared.
If
\begin_inset Quotes eld
\end_inset
 
2998,15 → 3055,16
\begin_inset Quotes erd
\end_inset
 
]) Selects
\begin_inset Quotes eld
\end_inset
is not given the currently selected Item is used.
\layout Description
 
count
\begin_inset Quotes erd
SetColumns
\begin_inset LatexCommand \index{SetColumns}
 
\end_inset
 
Characters Text of the Textframe
(nr,\SpecialChar ~
[
\begin_inset Quotes eld
\end_inset
 
3014,25 → 3072,23
\begin_inset Quotes erd
\end_inset
 
starting from the Character
]) Sets the number of Columns of the Text Frame
\begin_inset Quotes eld
\end_inset
 
start
name
\begin_inset Quotes erd
\end_inset
 
.
Character Counting starts at 0.
If
to the Value
\begin_inset Quotes eld
\end_inset
 
count
nr
\begin_inset Quotes erd
\end_inset
 
is zero, any Text Selection will be cleared.
.
If
\begin_inset Quotes eld
\end_inset
3042,10 → 3098,11
\end_inset
 
is not given the currently selected Item is used.
\layout Description
 
SetLineSpacing
\begin_inset LatexCommand \index{SetLineSpacing}
SetColumnGap
\begin_inset LatexCommand \index{SetColumnGap}
 
\end_inset
 
3058,7 → 3115,7
\begin_inset Quotes erd
\end_inset
 
]) Sets the Linespacing of the Text Frame
]) Sets the Column Gap of the Text Frame
\begin_inset Quotes eld
\end_inset
 
3066,7 → 3123,7
\begin_inset Quotes erd
\end_inset
 
to the Pointsize
to the Value
\begin_inset Quotes eld
\end_inset
 
3187,6 → 3244,48
is not given the currently selected Item is used.
\layout Description
 
SetLineSpacing
\begin_inset LatexCommand \index{SetLineSpacing}
 
\end_inset
 
(size,\SpecialChar ~
[
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
]) Sets the Linespacing of the Text Frame
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
to the Pointsize
\begin_inset Quotes eld
\end_inset
 
size
\begin_inset Quotes erd
\end_inset
 
.
If
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
is not given the currently selected Item is used.
\layout Description
 
SetText
\begin_inset LatexCommand \index{SetText}
 
3237,6 → 3336,58
is not given the currently selected Item is used.
\layout Description
 
SetTextAlignment
\begin_inset LatexCommand \index{SetTextAlignment}
 
\end_inset
 
(align,\SpecialChar ~
[
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
]) Sets the Textalignment of the Text Frame
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
to the specified Alignment.
If
\begin_inset Quotes eld
\end_inset
 
name
\begin_inset Quotes erd
\end_inset
 
is not given the currently selected Item is used.
\begin_inset Quotes eld
\end_inset
 
align
\begin_inset Quotes erd
\end_inset
 
can have the following values:
\layout Quotation
\noindent \align left
0 = Left Aligned
\newline
1 = Centered
\newline
2 = Right Aligned
\newline
3 = Forced
\layout Description
 
SetTextColor
\begin_inset LatexCommand \index{SetTextColor}
 
3927,6 → 4078,55
The default for both of the opional Parameters is 0.
\layout Description
 
MessageBox
\begin_inset LatexCommand \index{MessageBox}
 
\end_inset
 
(
\begin_inset Quotes eld
\end_inset
 
caption
\begin_inset Quotes erd
\end_inset
 
,\SpecialChar ~
 
\begin_inset Quotes eld
\end_inset
 
message
\begin_inset Quotes erd
\end_inset
 
,\SpecialChar ~
icon,\SpecialChar ~
Button1\SpecialChar ~
[Button2,\SpecialChar ~
Button3] Shows a Message Box with the Title
\begin_inset Quotes eld
\end_inset
 
caption
\begin_inset Quotes erd
\end_inset
 
, the Message
\begin_inset Quotes eld
\end_inset
 
message
\begin_inset Quotes erd
\end_inset
 
, and an Icon icon and up to 3 Buttons.
Button1 is always needed.
For the icon and the Button Parameters there are predefined Constants available
with the same Names as in the Qt Documentation.
Returns the number of the selected Button.
\layout Description
 
NewDocDialog
\begin_inset LatexCommand \index{NewDocDialog}
 
3942,6 → 4142,30
 
Dialog Box.
Returns true if a new Document was created.
\layout Description
 
StatusMessage
\begin_inset LatexCommand \index{StatusMessage}
 
\end_inset
 
(
\begin_inset Quotes eld
\end_inset
 
string
\begin_inset Quotes erd
\end_inset
 
) Displays the Message
\begin_inset Quotes eld
\end_inset
 
string
\begin_inset Quotes erd
\end_inset
 
in the StatusBar.
\layout Section
 
Predefined Constants
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node10.html
1,139 → 1,137
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Getting Object Properties</title>
<meta name="description" content="Getting object Properties">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.4 Getting Object Properties</TITLE>
<META NAME="description" CONTENT="3.3.4 Getting Object Properties">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node11.html">
<link rel="previous" href="node9.html">
<link rel="up" href="node6.html">
<link rel="next" href="node11.html">
</head>
<LINK REL="next" HREF="node11.html">
<LINK REL="previous" HREF="node9.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node11.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html164"
href="node11.html">Manipulating Objects</a>
<b> Up:</b> <a name="tex2html160"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html154"
href="node9.html">Setting Object Properties</a>
&nbsp; <b> <a name="tex2html162"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html164"
HREF="node11.html">3.3.5 Manipulating Objects</A>
<B> Up:</B> <A NAME="tex2html160"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html154"
HREF="node9.html">3.3.3 Setting Object Properties</A>
&nbsp <B> <A NAME="tex2html162"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00334000000000000000">
Getting Object Properties</a>
</h2>
<H2><A NAME="SECTION00334000000000000000">
3.3.4 Getting Object Properties</A>
</H2>
 
<p>
<dl>
<dt><strong>GetCornerRadius<a name="279"></a>([``name''])</strong></dt>
<dd>Returns
<P>
<DL>
<DT><STRONG>GetCornerRadius<A NAME="279"></A>([``name''])</STRONG></DT>
<DD>Returns
the Corner Radius of the Object ``name'' The Radius is expressed
in Points. If ``name'' is not given the currently selected Item
is used.
</dd>
<dt><strong>GetFillColor<a name="285"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetFillColor<A NAME="285"></A>([``name''])</STRONG></DT>
<DD>Returns the
name of the Fill Color of the Object ``name''. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>GetFillShade<a name="291"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetFillShade<A NAME="291"></A>([``name''])</STRONG></DT>
<DD>Returns the
shading Value of the Fill Color of the Object ``name''. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>GetImageFile<a name="297"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetImageFile<A NAME="297"></A>([``name''])</STRONG></DT>
<DD>Returns the
Filename for the Image in the Image Frame. If ``name'' is not
given the currently selected Item is used.
</dd>
<dt><strong>GetImageScale<a name="302"></a>([``name''])</strong></dt>
<dd>Returns
</DD>
<DT><STRONG>GetImageScale<A NAME="302"></A>([``name''])</STRONG></DT>
<DD>Returns
a Tuple containing the Scaling Values of the Image Frame ``name''.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>GetLineCap<a name="308"></a>([``name''])</strong></dt>
<dd>Returns the Line
</DD>
<DT><STRONG>GetLineCap<A NAME="308"></A>([``name''])</STRONG></DT>
<DD>Returns the Line
Cap Style of the Object ``name''. If ``name'' is not given
the currently selected Item is used.
</dd>
<dt><strong>GetLineColor<a name="314"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetLineColor<A NAME="314"></A>([``name''])</STRONG></DT>
<DD>Returns the
name of the Line Color of the Object ``name''. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>GetLineJoin<a name="320"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetLineJoin<A NAME="320"></A>([``name''])</STRONG></DT>
<DD>Returns the
Line Join Style of the Object ``name''. If ``name'' is not
given the currently selected Item is used.
</dd>
<dt><strong>GetLineShade<a name="326"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetLineShade<A NAME="326"></A>([``name''])</STRONG></DT>
<DD>Returns the
shading Value of the Line Color of the Object ``name''. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>GetLineStyle<a name="332"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetLineStyle<A NAME="332"></A>([``name''])</STRONG></DT>
<DD>Returns the
Line Style of the Object ``name''. If ``name'' is not given
the currently selected Item is used.
</dd>
<dt><strong>GetLineWidth<a name="338"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetLineWidth<A NAME="338"></A>([``name''])</STRONG></DT>
<DD>Returns the
Line Width of the Object ``name''. If ``name'' is not given
the currently selected Item is used.
</dd>
<dt><strong>GetPosition<a name="344"></a>([``name''])</strong></dt>
<dd>Returns a tuple
</DD>
<DT><STRONG>GetPosition<A NAME="344"></A>([``name''])</STRONG></DT>
<DD>Returns a tuple
with the actual Position of the Object ``name'' If ``name''
is not given the currently selected Item is used. The Position is
expressed in the actual Measurement Unit of the Document.
</dd>
<dt><strong>GetRotation<a name="350"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetRotation<A NAME="350"></A>([``name''])</STRONG></DT>
<DD>Returns the
Rotation of the Object ``name''. The value is expressed in Degrees.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>GetSize<a name="356"></a>([``name''])</strong></dt>
<dd>Returns a tuple with
</DD>
<DT><STRONG>GetSize<A NAME="356"></A>([``name''])</STRONG></DT>
<DD>Returns a tuple with
the actual Size of the Object ``name'' If ``name'' is not
given the currently selected Item is used. The Size is expressed in
the actual Measurement Unit of the Document.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html164"
href="node11.html">Manipulating Objects</a>
<b> Up:</b> <a name="tex2html160"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html154"
href="node9.html">Setting Object Properties</a>
&nbsp; <b> <a name="tex2html162"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html164"
HREF="node11.html">3.3.5 Manipulating Objects</A>
<B> Up:</B> <A NAME="tex2html160"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html154"
HREF="node9.html">3.3.3 Setting Object Properties</A>
&nbsp <B> <A NAME="tex2html162"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node11.html
1,85 → 1,86
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Manipulating Objects</title>
<meta name="description" content="Manipulating Objects">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.5 Manipulating Objects</TITLE>
<META NAME="description" CONTENT="3.3.5 Manipulating Objects">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node12.html">
<link rel="previous" href="node10.html">
<link rel="up" href="node6.html">
<link rel="next" href="node12.html">
</head>
<LINK REL="next" HREF="node12.html">
<LINK REL="previous" HREF="node10.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node12.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html176"
href="node12.html">Handling Text Frames</a>
<b> Up:</b> <a name="tex2html172"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html166"
href="node10.html">Getting Object Properties</a>
&nbsp; <b> <a name="tex2html174"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html176"
HREF="node12.html">3.3.6 Handling Text Frames</A>
<B> Up:</B> <A NAME="tex2html172"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html166"
HREF="node10.html">3.3.4 Getting Object Properties</A>
&nbsp <B> <A NAME="tex2html174"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00335000000000000000">
Manipulating Objects</a>
</h2>
<H2><A NAME="SECTION00335000000000000000">
3.3.5 Manipulating Objects</A>
</H2>
 
<p>
<dl>
<dt><strong>GroupObjects<a name="365"></a>([<i>list</i>])</strong></dt>
<dd>Groups the
Objects in ``<i>list</i>'' together. ``<i>list</i>'' must
contain the Names of the Objects to be grouped. If ``<i>list</i>''
<P>
<DL>
<DT><STRONG>GroupObjects<A NAME="365"></A>([<I>list</I>])</STRONG></DT>
<DD>Groups the
Objects in ``<I>list</I>'' together. ``<I>list</I>'' must
contain the Names of the Objects to be grouped. If ``<I>list</I>''
is not given the currently selected Items are used.
</dd>
<dt><strong>MoveObject<a name="375"></a>(dx,&nbsp;dy,&nbsp;[``name''])</strong></dt>
<dd>Moves
</DD>
<DT><STRONG>MoveObject<A NAME="375"></A>(dx,&nbsp;dy,&nbsp;[``name''])</STRONG></DT>
<DD>Moves
the Object ``name'' by dx and dy relative to its origin. The Distances
are expressed in the actual Measurement Unit of the Document. If ``name''
is not given the currently selected Item is used. If the Object ``name''
belongs to a Group, the whole Group is moved.
</dd>
<dt><strong>MoveObjectAbs<a name="382"></a>(x,&nbsp;y,&nbsp;[``name''])</strong></dt>
<dd>Moves
</DD>
<DT><STRONG>MoveObjectAbs<A NAME="382"></A>(x,&nbsp;y,&nbsp;[``name''])</STRONG></DT>
<DD>Moves
the Object ``name'' to a new Location. The Coordinates are expressed
in the actual Measurement Unit of the Document. If ``name'' is
not given the currently selected Item is used. If the Object &#34;name&#34;
belongs to a Group, the whole Group is moved.
</dd>
<dt><strong>RotateObject<a name="390"></a>(rot,&nbsp;[``name''])</strong></dt>
<dd>Rotates
</DD>
<DT><STRONG>RotateObject<A NAME="390"></A>(rot,&nbsp;[``name''])</STRONG></DT>
<DD>Rotates
the Object ``name'' by ``rot'' Degrees. Positve Values mean
counter clockwise Rotation. If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>RotateObjectAbs<a name="397"></a>(rot,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>RotateObjectAbs<A NAME="397"></A>(rot,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Rotation of the Object ``name'' to ``rot''. Positve Values
mean counter clockwise Rotation. If ``name'' is not given the
currently selected Item is used.
</dd>
<dt><strong>ScaleGroup<a name="404"></a>(factor,&nbsp;[``name''])</strong></dt>
<dd>Scales
</DD>
<DT><STRONG>ScaleGroup<A NAME="404"></A>(factor,&nbsp;[``name''])</STRONG></DT>
<DD>Scales
the Group the Object ``name'' belongs to. Values greater than
1 enlarge the Group, Values smaller than 1 make the Group smaller
e.g a Value of 0.5 scales the Group to 50 % of is original Size,
86,32 → 87,29
a Value of 1.5 scales the Group to 150 % of its original Size. The
Value for ``factor'' must be greater than 0. If ``name'' is
not given the currently selected Item is used.
</dd>
<dt><strong>SizeObject<a name="411"></a>(width,&nbsp;height,&nbsp;[``name''])</strong></dt>
<dd>Resizes
</DD>
<DT><STRONG>SizeObject<A NAME="411"></A>(width,&nbsp;height,&nbsp;[``name''])</STRONG></DT>
<DD>Resizes
the Object ``name'' to the given Width and Height. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>UnGroupObject<a name="417"></a>([``name''])</strong></dt>
<dd>Destructs
</DD>
<DT><STRONG>UnGroupObject<A NAME="417"></A>([``name''])</STRONG></DT>
<DD>Destructs
the Group the Object ``name'' belongs to. If ``name'' is not
given the currently selected Item is used.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html176"
href="node12.html">Handling Text Frames</a>
<b> Up:</b> <a name="tex2html172"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html166"
href="node10.html">Getting Object Properties</a>
&nbsp; <b> <a name="tex2html174"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html176"
HREF="node12.html">3.3.6 Handling Text Frames</A>
<B> Up:</B> <A NAME="tex2html172"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html166"
HREF="node10.html">3.3.4 Getting Object Properties</A>
&nbsp <B> <A NAME="tex2html174"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node12.html
1,183 → 1,208
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Handling Text Frames</title>
<meta name="description" content="Handling text Frames">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3.6 Handling Text Frames</TITLE>
<META NAME="description" CONTENT="3.3.6 Handling Text Frames">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="previous" href="node11.html">
<link rel="up" href="node6.html">
<link rel="next" href="node13.html">
</head>
<LINK REL="previous" HREF="node11.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node13.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html186"
href="node13.html">Other Commands</a>
<b> Up:</b> <a name="tex2html182"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html178"
href="node11.html">Manipulating Objects</a>
&nbsp; <b> <a name="tex2html184"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html186"
HREF="node13.html">3.4 Other Commands</A>
<B> Up:</B> <A NAME="tex2html182"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html178"
HREF="node11.html">3.3.5 Manipulating Objects</A>
&nbsp <B> <A NAME="tex2html184"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00336000000000000000">
Handling Text Frames</a>
</h2>
<H2><A NAME="SECTION00336000000000000000">
3.3.6 Handling Text Frames</A>
</H2>
 
<p>
<dl>
<dt><strong>DeleteText<a name="426"></a>([``name''])</strong></dt>
<dd>Deletes the Text
<P>
<DL>
<DT><STRONG>DeleteText<A NAME="426"></A>([``name''])</STRONG></DT>
<DD>Deletes the Text
of the Textframe ``name''. If there is some Text selected, this
Text will be deleted. If ``name'' is not given the currently selected
Item is used.
</dd>
<dt><strong>GetLineSpacing<a name="432"></a>([``name''])</strong></dt>
<dd>Gets the
Linespacing of the Text Frame ``name'' expressed in Points. If
``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>GetFont<a name="438"></a>([``name''])</strong></dt>
<dd>Returns the Font for
</DD>
<DT><STRONG>GetAllText<A NAME="432"></A>([``name''])</STRONG></DT>
<DD>Returns the Text
of the Textframe ``name'' and of all Textframes which are linked
with this Frame. If this Textframe has some Text selected, this Text
is returned. If ``name'' is not given the currently selected Item
is used.
</DD>
<DT><STRONG>GetColumnGap<A NAME="438"></A>([``name''])</STRONG></DT>
<DD>Gets the Column
Gap of the Text Frame ``name'' expressed in Points. If ``name''
is not given the currently selected Item is used.
</DD>
<DT><STRONG>GetColumns<A NAME="444"></A>([``name''])</STRONG></DT>
<DD>Gets the number
of Columns of the Text Frame ``name''. If ``name'' is not
given the currently selected Item is used.
</DD>
<DT><STRONG>GetFont<A NAME="450"></A>([``name''])</STRONG></DT>
<DD>Returns the Font for
the Textframe ``name''. If this Textframe has some Text selected
the Value assigned to the first Character of the Selection is returned.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>GetFontSize<a name="444"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetFontSize<A NAME="456"></A>([``name''])</STRONG></DT>
<DD>Returns the
Fontsize for the Textframe ``name''. If this Textframe has some
Text selected the Value assigned to the first Character of the Selection
is returned. If ``name'' is not given the currently selected Item
is used.
</dd>
<dt><strong>GetText<a name="450"></a>([``name''])</strong></dt>
<dd>Returns the Text of
</DD>
<DT><STRONG>GetLineSpacing<A NAME="462"></A>([``name''])</STRONG></DT>
<DD>Gets the
Linespacing of the Text Frame ``name'' expressed in Points. If
``name'' is not given the currently selected Item is used.
</DD>
<DT><STRONG>GetText<A NAME="468"></A>([``name''])</STRONG></DT>
<DD>Returns the Text of
the Textframe ``name''. If this Textframe has some Text selected,
this Text is returned. If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>GetTextColor<a name="456"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetTextColor<A NAME="474"></A>([``name''])</STRONG></DT>
<DD>Returns the
name of the Text Color of the Object ``name''. If this Textframe
has some Text selected the Value assigned to the first Character of
the Selection is returned. If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>GetTextLength<a name="462"></a>([``name''])</strong></dt>
<dd>Returns
</DD>
<DT><STRONG>GetTextLength<A NAME="480"></A>([``name''])</STRONG></DT>
<DD>Returns
the Length of the Text in the Textframe ``name''. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>GetTextShade<a name="468"></a>([``name''])</strong></dt>
<dd>Returns the
</DD>
<DT><STRONG>GetTextShade<A NAME="486"></A>([``name''])</STRONG></DT>
<DD>Returns the
shading Value of the Text Color of the Object ``name''. If this
Textframe has some Text selected the Value assigned to the first Character
of the Selection is returned. If ``name'' is not given the currently
selected Item is used.
</dd>
<dt><strong>InsertText<a name="474"></a>(``text'',&nbsp;pos,&nbsp;[``name''])</strong></dt>
<dd>Inserts
</DD>
<DT><STRONG>InsertText<A NAME="492"></A>(``text'',&nbsp;pos,&nbsp;[``name''])</STRONG></DT>
<DD>Inserts
the Text ``text'' at the Position ``pos'' into the Textframe
The first Character has an Index of 0. ``name'' If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>SetTextAlignment<a name="483"></a>(align,&nbsp;[``name''])</strong></dt>
<dd>Sets
the Textalignment of the Text Frame ``name'' to the specified
Alignment. If ``name'' is not given the currently selected Item
is used. ``align'' can have the following values:
</dd>
</dl>
<blockquote>
<div align="LEFT">
0 = Left Aligned
<br>
1 = Centered
<br>
2 = Right Aligned
<br>
3 = Forced
</div>
</blockquote>
<dl>
<dt><strong>SelectText<a name="496"></a>(start,&nbsp;count,&nbsp;[``name''])</strong></dt>
<dd>Selects
</DD>
<DT><STRONG>SelectText<A NAME="501"></A>(start,&nbsp;count,&nbsp;[``name''])</STRONG></DT>
<DD>Selects
``count'' Characters Text of the Textframe ``name'' starting
from the Character ``start''. Character Counting starts at 0.
If ``count'' is zero, any Text Selection will be cleared. If ``name''
is not given the currently selected Item is used.
</dd>
<dt><strong>SetLineSpacing<a name="505"></a>(size,&nbsp;[``name''])</strong></dt>
<dd>Sets
the Linespacing of the Text Frame ``name'' to the Pointsize ``size''.
</DD>
<DT><STRONG>SetColumns<A NAME="510"></A>(nr,&nbsp;[``name''])</STRONG></DT>
<DD>Sets the
number of Columns of the Text Frame ``name'' to the Value ``nr''.
If ``name'' is not given the currently selected Item is used.
</DD>
<DT><STRONG>SetColumnGap<A NAME="517"></A>(size,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Column Gap of the Text Frame ``name'' to the Value ``size''.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>SetFont<a name="512"></a>(''font'',&nbsp;[``name''])</strong></dt>
<dd>Sets the
</DD>
<DT><STRONG>SetFont<A NAME="524"></A>(''font'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets the
Font of the Text Frame ``name'' to ``font'', if there is some
Text selected only the selected Text is changed. If ``name'' is
not given the currently selected Item is used.
</dd>
<dt><strong>SetFontSize<a name="519"></a>(size,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetFontSize<A NAME="531"></A>(size,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Fontsize of the Text Frame ``name'' to the Pointsize ``size'',
if there is some Text selected only the selected Text is changed.
``size'' must be in the Range 1 to 512. If ``name'' is not
given the currently selected Item is used.
</dd>
<dt><strong>SetText<a name="527"></a>(''text'',&nbsp;[``name''])</strong></dt>
<dd>Sets the
</DD>
<DT><STRONG>SetLineSpacing<A NAME="539"></A>(size,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Linespacing of the Text Frame ``name'' to the Pointsize ``size''.
If ``name'' is not given the currently selected Item is used.
</DD>
<DT><STRONG>SetText<A NAME="546"></A>(''text'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets the
Text of the Text Frame ``name'' to the Text of the String ``text''.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>SetTextColor<a name="534"></a>(''color'',&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetTextAlignment<A NAME="553"></A>(align,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Textalignment of the Text Frame ``name'' to the specified
Alignment. If ``name'' is not given the currently selected Item
is used. ``align'' can have the following values:
</DD>
</DL>
<BLOCKQUOTE>
<DIV ALIGN="LEFT">
0 = Left Aligned
<BR>
1 = Centered
<BR>
2 = Right Aligned
<BR>
3 = Forced
</DIV>
</BLOCKQUOTE>
<DL>
<DT><STRONG>SetTextColor<A NAME="566"></A>(''color'',&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the Text Color of the Object ``name'' to the Color ``color'',
if there is some Text selected only the selected Text is changed.
If ``name'' is not given the currently selected Item is used.
</dd>
<dt><strong>SetTextShade<a name="541"></a>(shade,&nbsp;[``name''])</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetTextShade<A NAME="573"></A>(shade,&nbsp;[``name''])</STRONG></DT>
<DD>Sets
the shading of the Text Color of the Object ``name'' to ``shade'',
if there is some Text selected only the selected Text is changed.
``shade'' must be an Integer Value in the range from 0 (lightest)
to 100 (full Color intensity). If ``name'' is not given the currently
selected Item is used.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html186"
href="node13.html">Other Commands</a>
<b> Up:</b> <a name="tex2html182"
href="node6.html">Object related Commands</a>
<b> Previous:</b> <a name="tex2html178"
href="node11.html">Manipulating Objects</a>
&nbsp; <b> <a name="tex2html184"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html186"
HREF="node13.html">3.4 Other Commands</A>
<B> Up:</B> <A NAME="tex2html182"
HREF="node6.html">3.3 Object related Commands</A>
<B> Previous:</B> <A NAME="tex2html178"
HREF="node11.html">3.3.5 Manipulating Objects</A>
&nbsp <B> <A NAME="tex2html184"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node13.html
1,64 → 1,64
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Other Commands</title>
<meta name="description" content="Other Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.4 Other Commands</TITLE>
<META NAME="description" CONTENT="3.4 Other Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node17.html">
<link rel="previous" href="node6.html">
<link rel="up" href="node3.html">
<link rel="next" href="node14.html">
</head>
<LINK REL="next" HREF="node17.html">
<LINK REL="previous" HREF="node6.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node14.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html198"
href="node14.html">Color related Commands</a>
<b> Up:</b> <a name="tex2html194"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html188"
href="node12.html">Handling Text Frames</a>
&nbsp; <b> <a name="tex2html196"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html198"
HREF="node14.html">3.4.1 Color related Commands</A>
<B> Up:</B> <A NAME="tex2html194"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html188"
HREF="node12.html">3.3.6 Handling Text Frames</A>
&nbsp <B> <A NAME="tex2html196"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00340000000000000000">
Other Commands</a>
</h1>
<H1><A NAME="SECTION00340000000000000000">
3.4 Other Commands</A>
</H1>
 
<p>
<br><hr>
<P>
<BR><HR>
<!--Table of Child-Links-->
<a name="CHILD_LINKS"><strong>Subsections</strong></a>
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
<ul>
<li><a name="tex2html199"
href="node14.html">Color related Commands</a>
<li><a name="tex2html200"
href="node15.html">Font related Commands</a>
<li><a name="tex2html201"
href="node16.html">Layer related Commands</a>
</ul>
<UL>
<LI><A NAME="tex2html199"
HREF="node14.html">3.4.1 Color related Commands</A>
<LI><A NAME="tex2html200"
HREF="node15.html">3.4.2 Font related Commands</A>
<LI><A NAME="tex2html201"
HREF="node16.html">3.4.3 Layer related Commands</A>
</UL>
<!--End of Table of Child-Links-->
<br><hr>
 
</body>
</html>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node14.html
1,84 → 1,84
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Color related Commands</title>
<meta name="description" content="Color related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.4.1 Color related Commands</TITLE>
<META NAME="description" CONTENT="3.4.1 Color related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node15.html">
<link rel="previous" href="node13.html">
<link rel="up" href="node13.html">
<link rel="next" href="node15.html">
</head>
<LINK REL="next" HREF="node15.html">
<LINK REL="previous" HREF="node13.html">
<LINK REL="up" HREF="node13.html">
<LINK REL="next" HREF="node15.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html213"
href="node15.html">Font related Commands</a>
<b> Up:</b> <a name="tex2html209"
href="node13.html">Other Commands</a>
<b> Previous:</b> <a name="tex2html203"
href="node13.html">Other Commands</a>
&nbsp; <b> <a name="tex2html211"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html213"
HREF="node15.html">3.4.2 Font related Commands</A>
<B> Up:</B> <A NAME="tex2html209"
HREF="node13.html">3.4 Other Commands</A>
<B> Previous:</B> <A NAME="tex2html203"
HREF="node13.html">3.4 Other Commands</A>
&nbsp <B> <A NAME="tex2html211"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00341000000000000000">
Color related Commands</a>
</h2>
<H2><A NAME="SECTION00341000000000000000">
3.4.1 Color related Commands</A>
</H2>
 
<p>
<dl>
<dt><strong>ChangeColor<a name="553"></a>(``name'',&nbsp;c,&nbsp;m,&nbsp;y,&nbsp;k)</strong></dt>
<dd>Changes
<P>
<DL>
<DT><STRONG>ChangeColor<A NAME="585"></A>(``name'',&nbsp;c,&nbsp;m,&nbsp;y,&nbsp;k)</STRONG></DT>
<DD>Changes
the Color ``name'', The Color Value is defined via four Components
c = Cyan, m = Magenta, y = Yello and k = Black. Color Compontens should
be in the range from 0 to 255.
</dd>
<dt><strong>DefineColor<a name="556"></a>(``name'',&nbsp;c,&nbsp;m,&nbsp;y,&nbsp;k)</strong></dt>
<dd>Defines
</DD>
<DT><STRONG>DefineColor<A NAME="588"></A>(``name'',&nbsp;c,&nbsp;m,&nbsp;y,&nbsp;k)</STRONG></DT>
<DD>Defines
a new Color ``name''. The Color Value is defined via four Components
c = Cyan, m = Magenta, y = Yello and k = Black. Color Compontens should
be in the range from 0 to 255.
</dd>
<dt><strong>DeleteColor<a name="559"></a>(``name'',&nbsp;''replace'')</strong></dt>
<dd>Deletes
</DD>
<DT><STRONG>DeleteColor<A NAME="591"></A>(``name'',&nbsp;''replace'')</STRONG></DT>
<DD>Deletes
the Color ``name''. Every occurence of that Color is replaced
by the Color ``replace''.
</dd>
<dt><strong>GetColor<a name="563"></a>(``name'')</strong></dt>
<dd>Returns a Tuple containing
</DD>
<DT><STRONG>GetColor<A NAME="595"></A>(``name'')</STRONG></DT>
<DD>Returns a Tuple containing
the four Color Components of the Color ``name''.
</dd>
<dt><strong>GetColorNames<a name="566"></a>()</strong></dt>
<dd>Returns a List with the Names
</DD>
<DT><STRONG>GetColorNames<A NAME="598"></A>()</STRONG></DT>
<DD>Returns a List with the Names
of all defined Colors.
</dd>
<dt><strong>ReplaceColor<a name="567"></a>(``name'',&nbsp;''replace'')</strong></dt>
<dd>Every
</DD>
<DT><STRONG>ReplaceColor<A NAME="599"></A>(``name'',&nbsp;''replace'')</STRONG></DT>
<DD>Every
occurence of that Color is replaced by the Color ``replace''.
</dd>
</dl>
</DD>
</DL>
 
<p>
<br><hr>
 
</body>
</html>
<P>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node15.html
1,59 → 1,59
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Font related Commands</title>
<meta name="description" content="Font related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.4.2 Font related Commands</TITLE>
<META NAME="description" CONTENT="3.4.2 Font related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node16.html">
<link rel="previous" href="node14.html">
<link rel="up" href="node13.html">
<link rel="next" href="node16.html">
</head>
<LINK REL="next" HREF="node16.html">
<LINK REL="previous" HREF="node14.html">
<LINK REL="up" HREF="node13.html">
<LINK REL="next" HREF="node16.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html225"
href="node16.html">Layer related Commands</a>
<b> Up:</b> <a name="tex2html221"
href="node13.html">Other Commands</a>
<b> Previous:</b> <a name="tex2html215"
href="node14.html">Color related Commands</a>
&nbsp; <b> <a name="tex2html223"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html225"
HREF="node16.html">3.4.3 Layer related Commands</A>
<B> Up:</B> <A NAME="tex2html221"
HREF="node13.html">3.4 Other Commands</A>
<B> Previous:</B> <A NAME="tex2html215"
HREF="node14.html">3.4.1 Color related Commands</A>
&nbsp <B> <A NAME="tex2html223"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00342000000000000000">
Font related Commands</a>
</h2>
<H2><A NAME="SECTION00342000000000000000">
3.4.2 Font related Commands</A>
</H2>
 
<p>
<dl>
<dt><strong>GetFontNames<a name="573"></a>()</strong></dt>
<dd>Returns a List with the Names
<P>
<DL>
<DT><STRONG>GetFontNames<A NAME="605"></A>()</STRONG></DT>
<DD>Returns a List with the Names
of all available Fonts.
</dd>
</dl>
</DD>
</DL>
 
<p>
<br><hr>
 
</body>
</html>
<P>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node16.html
1,116 → 1,114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Layer related Commands</title>
<meta name="description" content="Layer related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.4.3 Layer related Commands</TITLE>
<META NAME="description" CONTENT="3.4.3 Layer related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="previous" href="node15.html">
<link rel="up" href="node13.html">
<link rel="next" href="node17.html">
</head>
<LINK REL="previous" HREF="node15.html">
<LINK REL="up" HREF="node13.html">
<LINK REL="next" HREF="node17.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html235"
href="node17.html">Using Dialogs from Scribus</a>
<b> Up:</b> <a name="tex2html231"
href="node13.html">Other Commands</a>
<b> Previous:</b> <a name="tex2html227"
href="node15.html">Font related Commands</a>
&nbsp; <b> <a name="tex2html233"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html235"
HREF="node17.html">3.5 Using Dialogs from</A>
<B> Up:</B> <A NAME="tex2html231"
HREF="node13.html">3.4 Other Commands</A>
<B> Previous:</B> <A NAME="tex2html227"
HREF="node15.html">3.4.2 Font related Commands</A>
&nbsp <B> <A NAME="tex2html233"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2><a name="SECTION00343000000000000000">
Layer related Commands</a>
</h2>
<H2><A NAME="SECTION00343000000000000000">
3.4.3 Layer related Commands</A>
</H2>
 
<p>
<dl>
<dt><strong>CreateLayer<a name="577"></a>(``name'')</strong></dt>
<dd>Creates a new Layer
<P>
<DL>
<DT><STRONG>CreateLayer<A NAME="609"></A>(``name'')</STRONG></DT>
<DD>Creates a new Layer
with the Name ``name''.
</dd>
<dt><strong>DeleteLayer<a name="580"></a>(``name'')</strong></dt>
<dd>Deletes the Layer
</DD>
<DT><STRONG>DeleteLayer<A NAME="612"></A>(``name'')</STRONG></DT>
<DD>Deletes the Layer
with the Name ``name''. Nothing happens if the Layer doesn't exists
or if it's the only Layer in the Document.
</dd>
<dt><strong>GetActiveLayer<a name="583"></a>()</strong></dt>
<dd>Returns the Name of the
</DD>
<DT><STRONG>GetActiveLayer<A NAME="615"></A>()</STRONG></DT>
<DD>Returns the Name of the
current active Layer.
</dd>
<dt><strong>GetLayers<a name="584"></a>()</strong></dt>
<dd>Returns a List with the Names of all
</DD>
<DT><STRONG>GetLayers<A NAME="616"></A>()</STRONG></DT>
<DD>Returns a List with the Names of all
defined Layers.
</dd>
<dt><strong>IsLayerPrintable<a name="585"></a>(``name'')</strong></dt>
<dd>Returns
</DD>
<DT><STRONG>IsLayerPrintable<A NAME="617"></A>(``name'')</STRONG></DT>
<DD>Returns
wether the Layer ``layer'' is printable or not, a Value of 1 means
that the Layer ``layer'' can be printed, a Value of 0 means that
printing the Layer ``layer'' is disabled.
</dd>
<dt><strong>IsLayerVisible<a name="590"></a>(``layer'')</strong></dt>
<dd>Returns wether
</DD>
<DT><STRONG>IsLayerVisible<A NAME="622"></A>(``layer'')</STRONG></DT>
<DD>Returns wether
the Layer ``layer'' is visible or not, a Value of 1 means that
the Layer ``layer'' is visible, a Value of 0 means that the Layer
``layer'' is invisible.
</dd>
<dt><strong>SentToLayer<a name="595"></a>(``layer'',&nbsp;[``name''])</strong></dt>
<dd>Sends
</DD>
<DT><STRONG>SentToLayer<A NAME="627"></A>(``layer'',&nbsp;[``name''])</STRONG></DT>
<DD>Sends
the Object ``name'' to the Layer ``layer''. The Layer must
exist. If ``name'' is not given the currently selected Item is
used.
</dd>
<dt><strong>SetActiveLayer<a name="603"></a>(``name'')</strong></dt>
<dd>Sets the active
</DD>
<DT><STRONG>SetActiveLayer<A NAME="635"></A>(``name'')</STRONG></DT>
<DD>Sets the active
Layer to the Layer named ``name''.
</dd>
<dt><strong>SetLayerPrintable<a name="606"></a>(``layer'',&nbsp;flag)</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLayerPrintable<A NAME="638"></A>(``layer'',&nbsp;flag)</STRONG></DT>
<DD>Sets
the Layer ``layer'' to be printable or not. A Value of 1 for ``flag''
means that the Layer ``layer'' can be printed, a Value of 0 means
that printing the Layer ``layer'' is disabled.
</dd>
<dt><strong>SetLayerVisible<a name="612"></a>(``layer'',&nbsp;flag)</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetLayerVisible<A NAME="644"></A>(``layer'',&nbsp;flag)</STRONG></DT>
<DD>Sets
the Layer ``layer'' to be visible or not. A Value of 1 for ``flag''
means that the Layer ``layer'' is visible, a Value of 0 means
that the Layer ``layer'' is invisible.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html235"
href="node17.html">Using Dialogs from Scribus</a>
<b> Up:</b> <a name="tex2html231"
href="node13.html">Other Commands</a>
<b> Previous:</b> <a name="tex2html227"
href="node15.html">Font related Commands</a>
&nbsp; <b> <a name="tex2html233"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html235"
HREF="node17.html">3.5 Using Dialogs from</A>
<B> Up:</B> <A NAME="tex2html231"
HREF="node13.html">3.4 Other Commands</A>
<B> Previous:</B> <A NAME="tex2html227"
HREF="node15.html">3.4.2 Font related Commands</A>
&nbsp <B> <A NAME="tex2html233"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node17.html
1,59 → 1,92
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Using Dialogs from Scribus</title>
<meta name="description" content="Using dialogs from Scribus">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.5 Using Dialogs from Scribus</TITLE>
<META NAME="description" CONTENT="3.5 Using Dialogs from Scribus">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node18.html">
<link rel="previous" href="node13.html">
<link rel="up" href="node3.html">
<link rel="next" href="node18.html">
</head>
<LINK REL="next" HREF="node18.html">
<LINK REL="previous" HREF="node13.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node18.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html247"
href="node18.html">Predefined Constants</a>
<b> Up:</b> <a name="tex2html243"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html237"
href="node16.html">Layer related Commands</a>
&nbsp; <b> <a name="tex2html245"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html247"
HREF="node18.html">3.6 Predefined Constants</A>
<B> Up:</B> <A NAME="tex2html243"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html237"
HREF="node16.html">3.4.3 Layer related Commands</A>
&nbsp <B> <A NAME="tex2html245"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00350000000000000000">
Using Dialogs from Scribus</a>
</h1>
<H1><A NAME="SECTION00350000000000000000">
3.5 Using Dialogs from Scribus</A>
</H1>
 
<p>
<dl>
<dt><strong>NewDocDialog<a name="621"></a>()</strong></dt>
<dd>Shows the ``New Document''
<P>
<DL>
<DT><STRONG>FileDialog<A NAME="653"></A>(``caption'',&nbsp;``filter''&nbsp;``defaultName''&nbsp;[preview,&nbsp;mode])</STRONG></DT>
<DD>Shows
a FileSelect Box with the Caption ``caption''. Files are filtered
with the Filter String ``filter'', refer to the Qt-Documentation
for it's use. A default Filename can also supplied, leave this string
empty when you don't want to use it. A Value of 1 for preview enables
a small Preview Widget in the FileSelect Box.
<BR>
When the mode parameter is set to 1 the Dialog acts like a ``Save
As'' Dialog otherwise it acts like a ``File Open Dialog''. The
default for both of the opional Parameters is 0.
</DD>
<DT><STRONG>MessageBox<A NAME="663"></A>(``caption'',&nbsp;``message'',&nbsp;icon,&nbsp;Button1&nbsp;[Button2,&nbsp;Button3]</STRONG></DT>
<DD>Shows
a Message Box with the Title ``caption'', the Message ``message'',
and an Icon icon and up to 3 Buttons. Button1 is always needed. For
the icon and the Button Parameters there are predefined Constants
available with the same Names as in the Qt Documentation. Returns
the number of the selected Button.
</DD>
<DT><STRONG>NewDocDialog<A NAME="670"></A>()</STRONG></DT>
<DD>Shows the ``New Document''
Dialog Box. Returns true if a new Document was created.
</dd>
</dl>
</DD>
<DT><STRONG>StatusMessage<A NAME="672"></A>(``string'')</STRONG></DT>
<DD>Displays the
Message ``string'' in the StatusBar.
</DD>
</DL>
 
<p>
<br><hr>
<P>
 
</body>
</html>
<B> Next:</B> <A NAME="tex2html247"
HREF="node18.html">3.6 Predefined Constants</A>
<B> Up:</B> <A NAME="tex2html243"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html237"
HREF="node16.html">3.4.3 Layer related Commands</A>
&nbsp <B> <A NAME="tex2html245"
HREF="node19.html">Index</A></B>
 
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node18.html
1,282 → 1,280
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Predefined Constants</title>
<meta name="description" content="Predefined Constants">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.6 Predefined Constants</TITLE>
<META NAME="description" CONTENT="3.6 Predefined Constants">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="previous" href="node17.html">
<link rel="up" href="node3.html">
<link rel="next" href="node19.html">
</head>
<LINK REL="previous" HREF="node17.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node19.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Next:</b> <a name="tex2html257"
href="node19.html">Index</a>
<b> Up:</b> <a name="tex2html253"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html249"
href="node17.html">Using Dialogs from Scribus</a>
&nbsp; <b> <a name="tex2html255"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html257"
HREF="node19.html">Index</A>
<B> Up:</B> <A NAME="tex2html253"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html249"
HREF="node17.html">3.5 Using Dialogs from</A>
&nbsp <B> <A NAME="tex2html255"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00360000000000000000">
Predefined Constants</a>
</h1>
<H1><A NAME="SECTION00360000000000000000">
3.6 Predefined Constants</A>
</H1>
 
<p>
<P>
There are some Constants defined to help using the Commands:
 
<p>
<P>
Unit Definitions:
 
<p>
<dl>
<dt><strong>Points<a name="626"></a></strong></dt>
<dd>Measurement Unit Point = 0
</dd>
<dt><strong>Milimeters<a name="627"></a></strong></dt>
<dd>Measurement Unit Millimeter = 1
</dd>
<dt><strong>Inches<a name="628"></a></strong></dt>
<dd>Measurement Unit Inch = 2
</dd>
<dt><strong>Picas<a name="629"></a></strong></dt>
<dd>Measurement Unit Pica = 3
</dd>
</dl>
<P>
<DL>
<DT><STRONG>Points<A NAME="678"></A></STRONG></DT>
<DD>Measurement Unit Point = 0
</DD>
<DT><STRONG>Milimeters<A NAME="679"></A></STRONG></DT>
<DD>Measurement Unit Millimeter = 1
</DD>
<DT><STRONG>Inches<A NAME="680"></A></STRONG></DT>
<DD>Measurement Unit Inch = 2
</DD>
<DT><STRONG>Picas<A NAME="681"></A></STRONG></DT>
<DD>Measurement Unit Pica = 3
</DD>
</DL>
Page Orientation Definitions:
 
<p>
<dl>
<dt><strong>Portrait<a name="632"></a></strong></dt>
<dd>Pageformat Portrait = 0
</dd>
<dt><strong>Landscape<a name="633"></a></strong></dt>
<dd>Pageformat Portrait = 1
</dd>
</dl>
<P>
<DL>
<DT><STRONG>Portrait<A NAME="684"></A></STRONG></DT>
<DD>Pageformat Portrait = 0
</DD>
<DT><STRONG>Landscape<A NAME="685"></A></STRONG></DT>
<DD>Pageformat Portrait = 1
</DD>
</DL>
Definitions for Page Formats:
 
<p>
<dl>
<dt><strong>Paper_A0<a name="636"></a></strong></dt>
<dd>Paperformat A0 = 2380 x 3368 Points
</dd>
<dt><strong>Paper_A1<a name="637"></a></strong></dt>
<dd>Paperformat A1 = 1684 x 2380 Points
</dd>
<dt><strong>Paper_A2<a name="638"></a></strong></dt>
<dd>Paperformat A2 = 1190 x 1684 Points
</dd>
<dt><strong>Paper_A3<a name="639"></a></strong></dt>
<dd>Paperformat A3 = 842 x 1190 Points
</dd>
<dt><strong>Paper_A4<a name="640"></a></strong></dt>
<dd>Paperformat A4 = 595 x 842 Points
</dd>
<dt><strong>Paper_A5<a name="641"></a></strong></dt>
<dd>Paperformat A5 = 421 x 595 Points
</dd>
<dt><strong>Paper_A6<a name="642"></a></strong></dt>
<dd>Paperformat A6 = 297 x 421 Points
</dd>
<dt><strong>Paper_A7<a name="643"></a></strong></dt>
<dd>Paperformat A7 = 210 x 297 Points
</dd>
<dt><strong>Paper_A8<a name="644"></a></strong></dt>
<dd>Paperformat A8 = 148 x 210 Points
</dd>
<dt><strong>Paper_A9<a name="645"></a></strong></dt>
<dd>Paperformat A9 = 105 x 148 Points
</dd>
<dt><strong>Paper_B0<a name="646"></a></strong></dt>
<dd>Paperformat B0 = 2836 x 4008 Points
</dd>
<dt><strong>Paper_B1<a name="647"></a></strong></dt>
<dd>Paperformat B1 = 2004 x 2836 Points
</dd>
<dt><strong>Paper_B2<a name="648"></a></strong></dt>
<dd>Paperformat B2 = 1418 x 2004 Points
</dd>
<dt><strong>Paper_B3<a name="649"></a></strong></dt>
<dd>Paperformat B3 = 1002 x 1418 Points
</dd>
<dt><strong>Paper_B4<a name="650"></a></strong></dt>
<dd>Paperformat B4 = 709 x 1002 Points
</dd>
<dt><strong>Paper_B5<a name="651"></a></strong></dt>
<dd>Paperformat B5 = 501 x 709 Points
</dd>
<dt><strong>Paper_B6<a name="652"></a></strong></dt>
<dd>Paperformat B6 = 355 x 501 Points
</dd>
<dt><strong>Paper_B7<a name="653"></a></strong></dt>
<dd>Paperformat B7 = 250 x 355 Points
</dd>
<dt><strong>Paper_B8<a name="654"></a></strong></dt>
<dd>Paperformat B8 = 178 x 250 Points
</dd>
<dt><strong>Paper_B9<a name="655"></a></strong></dt>
<dd>Paperformat B9 = 125 x 178 Points
</dd>
<dt><strong>Paper_B10<a name="656"></a></strong></dt>
<dd>Paperformat B10 = 89 x 125 Points
</dd>
<dt><strong>Paper_C5E<a name="657"></a></strong></dt>
<dd>Paperformat C5E = 462 x 649 Points
</dd>
<dt><strong>Paper_Comm10E<a name="658"></a></strong></dt>
<dd>Paperformat Comm10E = 298 x 683 Points
</dd>
<dt><strong>Paper_DLE<a name="659"></a></strong></dt>
<dd>Paperformat DLE = 312 x 624 Points
</dd>
<dt><strong>Paper_Executive<a name="660"></a></strong></dt>
<dd>Paperformat Executive = 542 x
<P>
<DL>
<DT><STRONG>Paper_A0<A NAME="688"></A></STRONG></DT>
<DD>Paperformat A0 = 2380 x 3368 Points
</DD>
<DT><STRONG>Paper_A1<A NAME="689"></A></STRONG></DT>
<DD>Paperformat A1 = 1684 x 2380 Points
</DD>
<DT><STRONG>Paper_A2<A NAME="690"></A></STRONG></DT>
<DD>Paperformat A2 = 1190 x 1684 Points
</DD>
<DT><STRONG>Paper_A3<A NAME="691"></A></STRONG></DT>
<DD>Paperformat A3 = 842 x 1190 Points
</DD>
<DT><STRONG>Paper_A4<A NAME="692"></A></STRONG></DT>
<DD>Paperformat A4 = 595 x 842 Points
</DD>
<DT><STRONG>Paper_A5<A NAME="693"></A></STRONG></DT>
<DD>Paperformat A5 = 421 x 595 Points
</DD>
<DT><STRONG>Paper_A6<A NAME="694"></A></STRONG></DT>
<DD>Paperformat A6 = 297 x 421 Points
</DD>
<DT><STRONG>Paper_A7<A NAME="695"></A></STRONG></DT>
<DD>Paperformat A7 = 210 x 297 Points
</DD>
<DT><STRONG>Paper_A8<A NAME="696"></A></STRONG></DT>
<DD>Paperformat A8 = 148 x 210 Points
</DD>
<DT><STRONG>Paper_A9<A NAME="697"></A></STRONG></DT>
<DD>Paperformat A9 = 105 x 148 Points
</DD>
<DT><STRONG>Paper_B0<A NAME="698"></A></STRONG></DT>
<DD>Paperformat B0 = 2836 x 4008 Points
</DD>
<DT><STRONG>Paper_B1<A NAME="699"></A></STRONG></DT>
<DD>Paperformat B1 = 2004 x 2836 Points
</DD>
<DT><STRONG>Paper_B2<A NAME="700"></A></STRONG></DT>
<DD>Paperformat B2 = 1418 x 2004 Points
</DD>
<DT><STRONG>Paper_B3<A NAME="701"></A></STRONG></DT>
<DD>Paperformat B3 = 1002 x 1418 Points
</DD>
<DT><STRONG>Paper_B4<A NAME="702"></A></STRONG></DT>
<DD>Paperformat B4 = 709 x 1002 Points
</DD>
<DT><STRONG>Paper_B5<A NAME="703"></A></STRONG></DT>
<DD>Paperformat B5 = 501 x 709 Points
</DD>
<DT><STRONG>Paper_B6<A NAME="704"></A></STRONG></DT>
<DD>Paperformat B6 = 355 x 501 Points
</DD>
<DT><STRONG>Paper_B7<A NAME="705"></A></STRONG></DT>
<DD>Paperformat B7 = 250 x 355 Points
</DD>
<DT><STRONG>Paper_B8<A NAME="706"></A></STRONG></DT>
<DD>Paperformat B8 = 178 x 250 Points
</DD>
<DT><STRONG>Paper_B9<A NAME="707"></A></STRONG></DT>
<DD>Paperformat B9 = 125 x 178 Points
</DD>
<DT><STRONG>Paper_B10<A NAME="708"></A></STRONG></DT>
<DD>Paperformat B10 = 89 x 125 Points
</DD>
<DT><STRONG>Paper_C5E<A NAME="709"></A></STRONG></DT>
<DD>Paperformat C5E = 462 x 649 Points
</DD>
<DT><STRONG>Paper_Comm10E<A NAME="710"></A></STRONG></DT>
<DD>Paperformat Comm10E = 298 x 683 Points
</DD>
<DT><STRONG>Paper_DLE<A NAME="711"></A></STRONG></DT>
<DD>Paperformat DLE = 312 x 624 Points
</DD>
<DT><STRONG>Paper_Executive<A NAME="712"></A></STRONG></DT>
<DD>Paperformat Executive = 542 x
720 Points
</dd>
<dt><strong>Paper_Folio<a name="661"></a></strong></dt>
<dd>Paperformat Folio = 595 x 935 Points
</dd>
<dt><strong>Paper_Ledger<a name="662"></a></strong></dt>
<dd>Paperformat Ledger = 1224 x 792 Points
</dd>
<dt><strong>Paper_Legal<a name="663"></a></strong></dt>
<dd>Paperformat Legal = 612 x 1008 Points
</dd>
<dt><strong>Paper_Letter<a name="664"></a></strong></dt>
<dd>Paperformat Letter = 612 x 792 Points
</dd>
<dt><strong>Paper_Tabloid<a name="665"></a></strong></dt>
<dd>Paperformat Tabloid = 792 x 1224Points
</dd>
</dl>
</DD>
<DT><STRONG>Paper_Folio<A NAME="713"></A></STRONG></DT>
<DD>Paperformat Folio = 595 x 935 Points
</DD>
<DT><STRONG>Paper_Ledger<A NAME="714"></A></STRONG></DT>
<DD>Paperformat Ledger = 1224 x 792 Points
</DD>
<DT><STRONG>Paper_Legal<A NAME="715"></A></STRONG></DT>
<DD>Paperformat Legal = 612 x 1008 Points
</DD>
<DT><STRONG>Paper_Letter<A NAME="716"></A></STRONG></DT>
<DD>Paperformat Letter = 612 x 792 Points
</DD>
<DT><STRONG>Paper_Tabloid<A NAME="717"></A></STRONG></DT>
<DD>Paperformat Tabloid = 792 x 1224Points
</DD>
</DL>
Definitions for Document Layout:
 
<p>
<dl>
<dt><strong>FacingPages<a name="668"></a></strong></dt>
<dd>Layout with facing Pages.
</dd>
<dt><strong>NoFacingPages<a name="669"></a></strong></dt>
<dd>Normal Layout of the Document.
</dd>
<dt><strong>FirstPageLeft<a name="670"></a></strong></dt>
<dd>The first Page of the Document
<P>
<DL>
<DT><STRONG>FacingPages<A NAME="720"></A></STRONG></DT>
<DD>Layout with facing Pages.
</DD>
<DT><STRONG>NoFacingPages<A NAME="721"></A></STRONG></DT>
<DD>Normal Layout of the Document.
</DD>
<DT><STRONG>FirstPageLeft<A NAME="722"></A></STRONG></DT>
<DD>The first Page of the Document
is a left Page.
</dd>
<dt><strong>FirstPageRight<a name="671"></a></strong></dt>
<dd>The first Page of the Document
</DD>
<DT><STRONG>FirstPageRight<A NAME="723"></A></STRONG></DT>
<DD>The first Page of the Document
is a right Page.
</dd>
</dl>
</DD>
</DL>
Alignment Definitions
 
<p>
<dl>
<dt><strong>LeftAlign<a name="674"></a></strong></dt>
<dd>Text is aligned to the Left.
</dd>
<dt><strong>Centered<a name="675"></a></strong></dt>
<dd>The Text is centered in the Textframe.
</dd>
<dt><strong>RightAlign<a name="676"></a></strong></dt>
<dd>The Text is aligned to the Right Side
<P>
<DL>
<DT><STRONG>LeftAlign<A NAME="726"></A></STRONG></DT>
<DD>Text is aligned to the Left.
</DD>
<DT><STRONG>Centered<A NAME="727"></A></STRONG></DT>
<DD>The Text is centered in the Textframe.
</DD>
<DT><STRONG>RightAlign<A NAME="728"></A></STRONG></DT>
<DD>The Text is aligned to the Right Side
of the Textframe
</dd>
<dt><strong>Forced<a name="677"></a></strong></dt>
<dd>The Text has forced Alignment
</dd>
</dl>
</DD>
<DT><STRONG>Forced<A NAME="729"></A></STRONG></DT>
<DD>The Text has forced Alignment
</DD>
</DL>
Line related Definitions:
 
<p>
<dl>
<dt><strong>SolidLine<a name="680"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>DashLine<a name="681"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>DashDotLine<a name="682"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>DashDotDotLine<a name="683"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>MiterJoin<a name="684"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>BevelJoin<a name="685"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>RoundJoin<a name="686"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>FlatCap<a name="687"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>SquareCap<a name="688"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>RoundCap<a name="689"></a></strong></dt>
<dd>&nbsp;
</dd>
</dl>
<P>
<DL>
<DT><STRONG>SolidLine<A NAME="732"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>DashLine<A NAME="733"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>DashDotLine<A NAME="734"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>DashDotDotLine<A NAME="735"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>MiterJoin<A NAME="736"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>BevelJoin<A NAME="737"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>RoundJoin<A NAME="738"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>FlatCap<A NAME="739"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>SquareCap<A NAME="740"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>RoundCap<A NAME="741"></A></STRONG></DT>
<DD>&nbsp;
</DD>
</DL>
Fill related Definitions:
 
<p>
<dl>
<dt><strong>NoGradient<a name="692"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>HorizontalGradient<a name="693"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>VerticalGradient<a name="694"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>DiagonalGradient<a name="695"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>CrossDiagonalGradient<a name="696"></a></strong></dt>
<dd>&nbsp;
</dd>
<dt><strong>RadialGradient<a name="697"></a></strong></dt>
<dd>&nbsp;
</dd>
</dl><hr>
<!--Navigation Panel-->
<P>
<DL>
<DT><STRONG>NoGradient<A NAME="744"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>HorizontalGradient<A NAME="745"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>VerticalGradient<A NAME="746"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>DiagonalGradient<A NAME="747"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>CrossDiagonalGradient<A NAME="748"></A></STRONG></DT>
<DD>&nbsp;
</DD>
<DT><STRONG>RadialGradient<A NAME="749"></A></STRONG></DT>
<DD>&nbsp;
</DD>
</DL>
<B> Next:</B> <A NAME="tex2html257"
HREF="node19.html">Index</A>
<B> Up:</B> <A NAME="tex2html253"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html249"
HREF="node17.html">3.5 Using Dialogs from</A>
&nbsp <B> <A NAME="tex2html255"
HREF="node19.html">Index</A></B>
 
<b> Next:</b> <a name="tex2html257"
href="node19.html">Index</a>
<b> Up:</b> <a name="tex2html253"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html249"
href="node17.html">Using Dialogs from Scribus</a>
&nbsp; <b> <a name="tex2html255"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node19.html
1,372 → 1,387
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Index</title>
<meta name="description" content="Index">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>Index</TITLE>
<META NAME="description" CONTENT="Index">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="previous" href="node3.html">
<link rel="up" href="Manual.html">
</head>
<LINK REL="previous" HREF="node3.html">
<LINK REL="up" HREF="Manual.html">
</HEAD>
 
<body >
<!--Navigation Panel-->
<BODY >
 
<b> Up:</b> <a name="tex2html263"
href="Manual.html">Scripting Scribus with Python</a>
<b> Previous:</b> <a name="tex2html259"
href="node18.html">Predefined Constants</a>
<br>
<br>
<B> Up:</B> <A NAME="tex2html263"
HREF="index.html">Scripting Scribus with Python</A>
<B> Previous:</B> <A NAME="tex2html259"
HREF="node18.html">3.6 Predefined Constants</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<br>
<BR>
 
<h2><a name="SECTION00400000000000000000">
Index</a>
</h2><dl compact>
<dt><strong>A0</strong>
<dd><a href="node18.html#636">Predefined Constants</a>
<dt><strong>A1</strong>
<dd><a href="node18.html#637">Predefined Constants</a>
<dt><strong>A2</strong>
<dd><a href="node18.html#638">Predefined Constants</a>
<dt><strong>A3</strong>
<dd><a href="node18.html#639">Predefined Constants</a>
<dt><strong>A4</strong>
<dd><a href="node18.html#640">Predefined Constants</a>
<dt><strong>A5</strong>
<dd><a href="node18.html#641">Predefined Constants</a>
<dt><strong>A6</strong>
<dd><a href="node18.html#642">Predefined Constants</a>
<dt><strong>A7</strong>
<dd><a href="node18.html#643">Predefined Constants</a>
<dt><strong>A8</strong>
<dd><a href="node18.html#644">Predefined Constants</a>
<dt><strong>A9</strong>
<dd><a href="node18.html#645">Predefined Constants</a>
<dt><strong>B0</strong>
<dd><a href="node18.html#646">Predefined Constants</a>
<dt><strong>B1</strong>
<dd><a href="node18.html#647">Predefined Constants</a>
<dt><strong>B10</strong>
<dd><a href="node18.html#656">Predefined Constants</a>
<dt><strong>B2</strong>
<dd><a href="node18.html#648">Predefined Constants</a>
<dt><strong>B3</strong>
<dd><a href="node18.html#649">Predefined Constants</a>
<dt><strong>B4</strong>
<dd><a href="node18.html#650">Predefined Constants</a>
<dt><strong>B5</strong>
<dd><a href="node18.html#651">Predefined Constants</a>
<dt><strong>B6</strong>
<dd><a href="node18.html#652">Predefined Constants</a>
<dt><strong>B7</strong>
<dd><a href="node18.html#653">Predefined Constants</a>
<dt><strong>B8</strong>
<dd><a href="node18.html#654">Predefined Constants</a>
<dt><strong>B9</strong>
<dd><a href="node18.html#655">Predefined Constants</a>
<dt><strong>BevelJoin</strong>
<dd><a href="node18.html#685">Predefined Constants</a>
<dt><strong>C5E</strong>
<dd><a href="node18.html#657">Predefined Constants</a>
<dt><strong>Centered</strong>
<dd><a href="node18.html#675">Predefined Constants</a>
<dt><strong>ChangeColor</strong>
<dd><a href="node14.html#553">Color related Commands</a>
<dt><strong>CloseDoc</strong>
<dd><a href="node4.html#45">Document related Commands</a>
<dt><strong>Comm10E</strong>
<dd><a href="node18.html#658">Predefined Constants</a>
<dt><strong>CreateBezierLine</strong>
<dd><a href="node7.html#106">Creating and Destructing Objects</a>
<dt><strong>CreateEllipse</strong>
<dd><a href="node7.html#113">Creating and Destructing Objects</a>
<dt><strong>CreateImage</strong>
<dd><a href="node7.html#118">Creating and Destructing Objects</a>
<dt><strong>CreateLayer</strong>
<dd><a href="node16.html#577">Layer related Commands</a>
<dt><strong>CreateLine</strong>
<dd><a href="node7.html#123">Creating and Destructing Objects</a>
<dt><strong>CreatePolygon</strong>
<dd><a href="node7.html#135">Creating and Destructing Objects</a>
<dt><strong>CreatePolyLine</strong>
<dd><a href="node7.html#142">Creating and Destructing Objects</a>
<dt><strong>CreateRect</strong>
<dd><a href="node7.html#149">Creating and Destructing Objects</a>
<dt><strong>CreateText</strong>
<dd><a href="node7.html#154">Creating and Destructing Objects</a>
<dt><strong>CrossDiagonalGradient</strong>
<dd><a href="node18.html#696">Predefined Constants</a>
<dt><strong>CurrentPage</strong>
<dd><a href="node5.html#84">Page related Commands</a>
<dt><strong>DashDotDotLine</strong>
<dd><a href="node18.html#683">Predefined Constants</a>
<dt><strong>DashDotLine</strong>
<dd><a href="node18.html#682">Predefined Constants</a>
<dt><strong>DashLine</strong>
<dd><a href="node18.html#681">Predefined Constants</a>
<dt><strong>DefineColor</strong>
<dd><a href="node14.html#556">Color related Commands</a>
<dt><strong>DeleteColor</strong>
<dd><a href="node14.html#559">Color related Commands</a>
<dt><strong>DeleteLayer</strong>
<dd><a href="node16.html#580">Layer related Commands</a>
<dt><strong>DeleteObject</strong>
<dd><a href="node7.html#159">Creating and Destructing Objects</a>
<dt><strong>DeletePage</strong>
<dd><a href="node5.html#85">Page related Commands</a>
<dt><strong>DeleteText</strong>
<dd><a href="node12.html#426">Handling Text Frames</a>
<dt><strong>DeselectAll</strong>
<dd><a href="node8.html#168">Selecting Objects</a>
<dt><strong>DiagonalGradient</strong>
<dd><a href="node18.html#695">Predefined Constants</a>
<dt><strong>DLE</strong>
<dd><a href="node18.html#659">Predefined Constants</a>
<dt><strong>Executive</strong>
<dd><a href="node18.html#660">Predefined Constants</a>
<dt><strong>FacingPages</strong>
<dd><a href="node18.html#668">Predefined Constants</a>
<dt><strong>FirstPageLeft</strong>
<dd><a href="node18.html#670">Predefined Constants</a>
<dt><strong>FirstPageRight</strong>
<dd><a href="node18.html#671">Predefined Constants</a>
<dt><strong>FlatCap</strong>
<dd><a href="node18.html#687">Predefined Constants</a>
<dt><strong>Folio</strong>
<dd><a href="node18.html#661">Predefined Constants</a>
<dt><strong>Forced</strong>
<dd><a href="node18.html#677">Predefined Constants</a>
<dt><strong>GetActiveLayer</strong>
<dd><a href="node16.html#583">Layer related Commands</a>
<dt><strong>GetAllObjects</strong>
<dd><a href="node5.html#86">Page related Commands</a>
<dt><strong>GetColor</strong>
<dd><a href="node14.html#563">Color related Commands</a>
<dt><strong>GetColorNames</strong>
<dd><a href="node14.html#566">Color related Commands</a>
<dt><strong>GetCornerRadius</strong>
<dd><a href="node10.html#279">Getting Object Properties</a>
<dt><strong>GetFillColor</strong>
<dd><a href="node10.html#285">Getting Object Properties</a>
<dt><strong>GetFillShade</strong>
<dd><a href="node10.html#291">Getting Object Properties</a>
<dt><strong>GetFont</strong>
<dd><a href="node12.html#438">Handling Text Frames</a>
<dt><strong>GetFontNames</strong>
<dd><a href="node15.html#573">Font related Commands</a>
<dt><strong>GetFontSize</strong>
<dd><a href="node12.html#444">Handling Text Frames</a>
<dt><strong>GetImageFile</strong>
<dd><a href="node10.html#297">Getting Object Properties</a>
<dt><strong>GetImageScale</strong>
<dd><a href="node10.html#302">Getting Object Properties</a>
<dt><strong>GetLayers</strong>
<dd><a href="node16.html#584">Layer related Commands</a>
<dt><strong>GetLineCap</strong>
<dd><a href="node10.html#308">Getting Object Properties</a>
<dt><strong>GetLineColor</strong>
<dd><a href="node10.html#314">Getting Object Properties</a>
<dt><strong>GetLineJoin</strong>
<dd><a href="node10.html#320">Getting Object Properties</a>
<dt><strong>GetLineShade</strong>
<dd><a href="node10.html#326">Getting Object Properties</a>
<dt><strong>GetLineSpacing</strong>
<dd><a href="node12.html#432">Handling Text Frames</a>
<dt><strong>GetLineStyle</strong>
<dd><a href="node10.html#332">Getting Object Properties</a>
<dt><strong>GetLineWidth</strong>
<dd><a href="node10.html#338">Getting Object Properties</a>
<dt><strong>GetPosition</strong>
<dd><a href="node10.html#344">Getting Object Properties</a>
<dt><strong>GetRotation</strong>
<dd><a href="node10.html#350">Getting Object Properties</a>
<dt><strong>GetSelectedObject</strong>
<dd><a href="node8.html#169">Selecting Objects</a>
<dt><strong>GetSize</strong>
<dd><a href="node10.html#356">Getting Object Properties</a>
<dt><strong>GetText</strong>
<dd><a href="node12.html#450">Handling Text Frames</a>
<dt><strong>GetTextColor</strong>
<dd><a href="node12.html#456">Handling Text Frames</a>
<dt><strong>GetTextLength</strong>
<dd><a href="node12.html#462">Handling Text Frames</a>
<dt><strong>GetTextShade</strong>
<dd><a href="node12.html#468">Handling Text Frames</a>
<dt><strong>GetUnit</strong>
<dd><a href="node4.html#46">Document related Commands</a>
<dt><strong>GotoPage</strong>
<dd><a href="node5.html#87">Page related Commands</a>
<dt><strong>GroupObjects</strong>
<dd><a href="node11.html#365">Manipulating Objects</a>
<dt><strong>HaveDoc</strong>
<dd><a href="node4.html#51">Document related Commands</a>
<dt><strong>HorizontalGradient</strong>
<dd><a href="node18.html#693">Predefined Constants</a>
<dt><strong>Inches</strong>
<dd><a href="node18.html#628">Predefined Constants</a>
<dt><strong>InsertText</strong>
<dd><a href="node12.html#474">Handling Text Frames</a>
<dt><strong>IsLayerPrintable</strong>
<dd><a href="node16.html#585">Layer related Commands</a>
<dt><strong>IsLayerVisible</strong>
<dd><a href="node16.html#590">Layer related Commands</a>
<dt><strong>Landscape</strong>
<dd><a href="node18.html#633">Predefined Constants</a>
<dt><strong>Ledger</strong>
<dd><a href="node18.html#662">Predefined Constants</a>
<dt><strong>LeftAlign</strong>
<dd><a href="node18.html#674">Predefined Constants</a>
<dt><strong>Legal</strong>
<dd><a href="node18.html#663">Predefined Constants</a>
<dt><strong>Letter</strong>
<dd><a href="node18.html#664">Predefined Constants</a>
<dt><strong>LoadImage</strong>
<dd><a href="node9.html#179">Setting Object Properties</a>
<dt><strong>Milimeters</strong>
<dd><a href="node18.html#627">Predefined Constants</a>
<dt><strong>MiterJoin</strong>
<dd><a href="node18.html#684">Predefined Constants</a>
<dt><strong>MoveObject</strong>
<dd><a href="node11.html#375">Manipulating Objects</a>
<dt><strong>MoveObjectAbs</strong>
<dd><a href="node11.html#382">Manipulating Objects</a>
<dt><strong>NewDoc</strong>
<dd><a href="node4.html#52">Document related Commands</a>
<dt><strong>NewDocDialog</strong>
<dd><a href="node17.html#621">Using Dialogs from Scribus</a>
<dt><strong>NewPage</strong>
<dd><a href="node5.html#90">Page related Commands</a>
<dt><strong>NoFacingPages</strong>
<dd><a href="node18.html#669">Predefined Constants</a>
<dt><strong>NoGradient</strong>
<dd><a href="node18.html#692">Predefined Constants</a>
<dt><strong>OpenDoc</strong>
<dd><a href="node4.html#65">Document related Commands</a>
<dt><strong>PageCount</strong>
<dd><a href="node5.html#97">Page related Commands</a>
<dt><strong>Picas</strong>
<dd><a href="node18.html#629">Predefined Constants</a>
<dt><strong>Points</strong>
<dd><a href="node18.html#626">Predefined Constants</a>
<dt><strong>Portrait</strong>
<dd><a href="node18.html#632">Predefined Constants</a>
<dt><strong>RadialGradient</strong>
<dd><a href="node18.html#697">Predefined Constants</a>
<dt><strong>RedrawAll</strong>
<dd><a href="node5.html#98">Page related Commands</a>
<dt><strong>ReplaceColor</strong>
<dd><a href="node14.html#567">Color related Commands</a>
<dt><strong>RightAlign</strong>
<dd><a href="node18.html#676">Predefined Constants</a>
<dt><strong>RotateObject</strong>
<dd><a href="node11.html#390">Manipulating Objects</a>
<dt><strong>RotateObjectAbs</strong>
<dd><a href="node11.html#397">Manipulating Objects</a>
<dt><strong>RoundCap</strong>
<dd><a href="node18.html#689">Predefined Constants</a>
<dt><strong>RoundJoin</strong>
<dd><a href="node18.html#686">Predefined Constants</a>
<dt><strong>SaveDoc</strong>
<dd><a href="node4.html#68">Document related Commands</a>
<dt><strong>SaveDocAs</strong>
<dd><a href="node4.html#69">Document related Commands</a>
<dt><strong>SavePageAsEPS</strong>
<dd><a href="node5.html#100">Page related Commands</a>
<dt><strong>ScaleGroup</strong>
<dd><a href="node11.html#404">Manipulating Objects</a>
<dt><strong>ScaleImage</strong>
<dd><a href="node9.html#186">Setting Object Properties</a>
<dt><strong>SelectionCount</strong>
<dd><a href="node8.html#173">Selecting Objects</a>
<dt><strong>SelectObject</strong>
<dd><a href="node8.html#174">Selecting Objects</a>
<dt><strong>SelectText</strong>
<dd><a href="node12.html#496">Handling Text Frames</a>
<dt><strong>SentToLayer</strong>
<dd><a href="node16.html#595">Layer related Commands</a>
<dt><strong>SetActiveLayer</strong>
<dd><a href="node16.html#603">Layer related Commands</a>
<dt><strong>SetCornerRadius</strong>
<dd><a href="node9.html#192">Setting Object Properties</a>
<dt><strong>SetDocType</strong>
<dd><a href="node4.html#77">Document related Commands</a>
<dt><strong>SetFillColor</strong>
<dd><a href="node9.html#198">Setting Object Properties</a>
<dt><strong>SetFillShade</strong>
<dd><a href="node9.html#206">Setting Object Properties</a>
<dt><strong>SetFont</strong>
<dd><a href="node12.html#512">Handling Text Frames</a>
<dt><strong>SetFontSize</strong>
<dd><a href="node12.html#519">Handling Text Frames</a>
<dt><strong>SetGradientFill</strong>
<dd><a href="node9.html#214">Setting Object Properties</a>
<dt><strong>SetInfo</strong>
<dd><a href="node4.html#72">Document related Commands</a>
<dt><strong>SetLayerPrintable</strong>
<dd><a href="node16.html#606">Layer related Commands</a>
<dt><strong>SetLayerVisible</strong>
<dd><a href="node16.html#612">Layer related Commands</a>
<dt><strong>SetLineCap</strong>
<dd><a href="node9.html#222">Setting Object Properties</a>
<dt><strong>SetLineColor</strong>
<dd><a href="node9.html#230">Setting Object Properties</a>
<dt><strong>SetLineJoin</strong>
<dd><a href="node9.html#244">Setting Object Properties</a>
<dt><strong>SetLineShade</strong>
<dd><a href="node9.html#252">Setting Object Properties</a>
<dt><strong>SetLineSpacing</strong>
<dd><a href="node12.html#505">Handling Text Frames</a>
<dt><strong>SetLineStyle</strong>
<dd><a href="node9.html#260">Setting Object Properties</a>
<dt><strong>SetLineWidth</strong>
<dd><a href="node9.html#268">Setting Object Properties</a>
<dt><strong>SetMargins</strong>
<dd><a href="node4.html#74">Document related Commands</a>
<dt><strong>SetMultiLine</strong>
<dd><a href="node9.html#237">Setting Object Properties</a>
<dt><strong>SetRedraw</strong>
<dd><a href="node5.html#99">Page related Commands</a>
<dt><strong>SetText</strong>
<dd><a href="node12.html#527">Handling Text Frames</a>
<dt><strong>SetTextAlignment</strong>
<dd><a href="node12.html#483">Handling Text Frames</a>
<dt><strong>SetTextColor</strong>
<dd><a href="node12.html#534">Handling Text Frames</a>
<dt><strong>SetTextShade</strong>
<dd><a href="node12.html#541">Handling Text Frames</a>
<dt><strong>SetUnit</strong>
<dd><a href="node4.html#78">Document related Commands</a>
<dt><strong>SizeObject</strong>
<dd><a href="node11.html#411">Manipulating Objects</a>
<dt><strong>SolidLine</strong>
<dd><a href="node18.html#680">Predefined Constants</a>
<dt><strong>SquareCap</strong>
<dd><a href="node18.html#688">Predefined Constants</a>
<dt><strong>Tabloid</strong>
<dd><a href="node18.html#665">Predefined Constants</a>
<dt><strong>UnGroupObject</strong>
<dd><a href="node11.html#417">Manipulating Objects</a>
<dt><strong>VerticalGradient</strong>
<dd><a href="node18.html#694">Predefined Constants</a>
<H2><A NAME="SECTION00400000000000000000">
Index</A>
</H2><DL COMPACT>
<DT><STRONG>A0</STRONG>
<DD><A HREF="node18.html#688">3.6</A>
<DT><STRONG>A1</STRONG>
<DD><A HREF="node18.html#689">3.6</A>
<DT><STRONG>A2</STRONG>
<DD><A HREF="node18.html#690">3.6</A>
<DT><STRONG>A3</STRONG>
<DD><A HREF="node18.html#691">3.6</A>
<DT><STRONG>A4</STRONG>
<DD><A HREF="node18.html#692">3.6</A>
<DT><STRONG>A5</STRONG>
<DD><A HREF="node18.html#693">3.6</A>
<DT><STRONG>A6</STRONG>
<DD><A HREF="node18.html#694">3.6</A>
<DT><STRONG>A7</STRONG>
<DD><A HREF="node18.html#695">3.6</A>
<DT><STRONG>A8</STRONG>
<DD><A HREF="node18.html#696">3.6</A>
<DT><STRONG>A9</STRONG>
<DD><A HREF="node18.html#697">3.6</A>
<DT><STRONG>B0</STRONG>
<DD><A HREF="node18.html#698">3.6</A>
<DT><STRONG>B1</STRONG>
<DD><A HREF="node18.html#699">3.6</A>
<DT><STRONG>B10</STRONG>
<DD><A HREF="node18.html#708">3.6</A>
<DT><STRONG>B2</STRONG>
<DD><A HREF="node18.html#700">3.6</A>
<DT><STRONG>B3</STRONG>
<DD><A HREF="node18.html#701">3.6</A>
<DT><STRONG>B4</STRONG>
<DD><A HREF="node18.html#702">3.6</A>
<DT><STRONG>B5</STRONG>
<DD><A HREF="node18.html#703">3.6</A>
<DT><STRONG>B6</STRONG>
<DD><A HREF="node18.html#704">3.6</A>
<DT><STRONG>B7</STRONG>
<DD><A HREF="node18.html#705">3.6</A>
<DT><STRONG>B8</STRONG>
<DD><A HREF="node18.html#706">3.6</A>
<DT><STRONG>B9</STRONG>
<DD><A HREF="node18.html#707">3.6</A>
<DT><STRONG>BevelJoin</STRONG>
<DD><A HREF="node18.html#737">3.6</A>
<DT><STRONG>C5E</STRONG>
<DD><A HREF="node18.html#709">3.6</A>
<DT><STRONG>Centered</STRONG>
<DD><A HREF="node18.html#727">3.6</A>
<DT><STRONG>ChangeColor</STRONG>
<DD><A HREF="node14.html#585">3.4.1</A>
<DT><STRONG>CloseDoc</STRONG>
<DD><A HREF="node4.html#45">3.1</A>
<DT><STRONG>Comm10E</STRONG>
<DD><A HREF="node18.html#710">3.6</A>
<DT><STRONG>CreateBezierLine</STRONG>
<DD><A HREF="node7.html#106">3.3.1</A>
<DT><STRONG>CreateEllipse</STRONG>
<DD><A HREF="node7.html#113">3.3.1</A>
<DT><STRONG>CreateImage</STRONG>
<DD><A HREF="node7.html#118">3.3.1</A>
<DT><STRONG>CreateLayer</STRONG>
<DD><A HREF="node16.html#609">3.4.3</A>
<DT><STRONG>CreateLine</STRONG>
<DD><A HREF="node7.html#123">3.3.1</A>
<DT><STRONG>CreatePolygon</STRONG>
<DD><A HREF="node7.html#135">3.3.1</A>
<DT><STRONG>CreatePolyLine</STRONG>
<DD><A HREF="node7.html#142">3.3.1</A>
<DT><STRONG>CreateRect</STRONG>
<DD><A HREF="node7.html#149">3.3.1</A>
<DT><STRONG>CreateText</STRONG>
<DD><A HREF="node7.html#154">3.3.1</A>
<DT><STRONG>CrossDiagonalGradient</STRONG>
<DD><A HREF="node18.html#748">3.6</A>
<DT><STRONG>CurrentPage</STRONG>
<DD><A HREF="node5.html#84">3.2</A>
<DT><STRONG>DashDotDotLine</STRONG>
<DD><A HREF="node18.html#735">3.6</A>
<DT><STRONG>DashDotLine</STRONG>
<DD><A HREF="node18.html#734">3.6</A>
<DT><STRONG>DashLine</STRONG>
<DD><A HREF="node18.html#733">3.6</A>
<DT><STRONG>DefineColor</STRONG>
<DD><A HREF="node14.html#588">3.4.1</A>
<DT><STRONG>DeleteColor</STRONG>
<DD><A HREF="node14.html#591">3.4.1</A>
<DT><STRONG>DeleteLayer</STRONG>
<DD><A HREF="node16.html#612">3.4.3</A>
<DT><STRONG>DeleteObject</STRONG>
<DD><A HREF="node7.html#159">3.3.1</A>
<DT><STRONG>DeletePage</STRONG>
<DD><A HREF="node5.html#85">3.2</A>
<DT><STRONG>DeleteText</STRONG>
<DD><A HREF="node12.html#426">3.3.6</A>
<DT><STRONG>DeselectAll</STRONG>
<DD><A HREF="node8.html#168">3.3.2</A>
<DT><STRONG>DiagonalGradient</STRONG>
<DD><A HREF="node18.html#747">3.6</A>
<DT><STRONG>DLE</STRONG>
<DD><A HREF="node18.html#711">3.6</A>
<DT><STRONG>Executive</STRONG>
<DD><A HREF="node18.html#712">3.6</A>
<DT><STRONG>FacingPages</STRONG>
<DD><A HREF="node18.html#720">3.6</A>
<DT><STRONG>FileDialog</STRONG>
<DD><A HREF="node17.html#653">3.5</A>
<DT><STRONG>FirstPageLeft</STRONG>
<DD><A HREF="node18.html#722">3.6</A>
<DT><STRONG>FirstPageRight</STRONG>
<DD><A HREF="node18.html#723">3.6</A>
<DT><STRONG>FlatCap</STRONG>
<DD><A HREF="node18.html#739">3.6</A>
<DT><STRONG>Folio</STRONG>
<DD><A HREF="node18.html#713">3.6</A>
<DT><STRONG>Forced</STRONG>
<DD><A HREF="node18.html#729">3.6</A>
<DT><STRONG>GetActiveLayer</STRONG>
<DD><A HREF="node16.html#615">3.4.3</A>
<DT><STRONG>GetAllObjects</STRONG>
<DD><A HREF="node5.html#86">3.2</A>
<DT><STRONG>GetColor</STRONG>
<DD><A HREF="node14.html#595">3.4.1</A>
<DT><STRONG>GetColorNames</STRONG>
<DD><A HREF="node14.html#598">3.4.1</A>
<DT><STRONG>GetColumnGap</STRONG>
<DD><A HREF="node12.html#438">3.3.6</A>
<DT><STRONG>GetColumns</STRONG>
<DD><A HREF="node12.html#444">3.3.6</A>
<DT><STRONG>GetCornerRadius</STRONG>
<DD><A HREF="node10.html#279">3.3.4</A>
<DT><STRONG>GetFillColor</STRONG>
<DD><A HREF="node10.html#285">3.3.4</A>
<DT><STRONG>GetFillShade</STRONG>
<DD><A HREF="node10.html#291">3.3.4</A>
<DT><STRONG>GetFont</STRONG>
<DD><A HREF="node12.html#450">3.3.6</A>
<DT><STRONG>GetFontNames</STRONG>
<DD><A HREF="node15.html#605">3.4.2</A>
<DT><STRONG>GetFontSize</STRONG>
<DD><A HREF="node12.html#456">3.3.6</A>
<DT><STRONG>GetImageFile</STRONG>
<DD><A HREF="node10.html#297">3.3.4</A>
<DT><STRONG>GetImageScale</STRONG>
<DD><A HREF="node10.html#302">3.3.4</A>
<DT><STRONG>GetLayers</STRONG>
<DD><A HREF="node16.html#616">3.4.3</A>
<DT><STRONG>GetLineCap</STRONG>
<DD><A HREF="node10.html#308">3.3.4</A>
<DT><STRONG>GetLineColor</STRONG>
<DD><A HREF="node10.html#314">3.3.4</A>
<DT><STRONG>GetLineJoin</STRONG>
<DD><A HREF="node10.html#320">3.3.4</A>
<DT><STRONG>GetLineShade</STRONG>
<DD><A HREF="node10.html#326">3.3.4</A>
<DT><STRONG>GetLineSpacing</STRONG>
<DD><A HREF="node12.html#462">3.3.6</A>
<DT><STRONG>GetLineStyle</STRONG>
<DD><A HREF="node10.html#332">3.3.4</A>
<DT><STRONG>GetLineWidth</STRONG>
<DD><A HREF="node10.html#338">3.3.4</A>
<DT><STRONG>GetPosition</STRONG>
<DD><A HREF="node10.html#344">3.3.4</A>
<DT><STRONG>GetRotation</STRONG>
<DD><A HREF="node10.html#350">3.3.4</A>
<DT><STRONG>GetSelectedObject</STRONG>
<DD><A HREF="node8.html#169">3.3.2</A>
<DT><STRONG>GetSize</STRONG>
<DD><A HREF="node10.html#356">3.3.4</A>
<DT><STRONG>GetText</STRONG>
<DD><A HREF="node12.html#432">3.3.6</A>
| <A HREF="node12.html#468">3.3.6</A>
<DT><STRONG>GetTextColor</STRONG>
<DD><A HREF="node12.html#474">3.3.6</A>
<DT><STRONG>GetTextLength</STRONG>
<DD><A HREF="node12.html#480">3.3.6</A>
<DT><STRONG>GetTextShade</STRONG>
<DD><A HREF="node12.html#486">3.3.6</A>
<DT><STRONG>GetUnit</STRONG>
<DD><A HREF="node4.html#46">3.1</A>
<DT><STRONG>GotoPage</STRONG>
<DD><A HREF="node5.html#87">3.2</A>
<DT><STRONG>GroupObjects</STRONG>
<DD><A HREF="node11.html#365">3.3.5</A>
<DT><STRONG>HaveDoc</STRONG>
<DD><A HREF="node4.html#51">3.1</A>
<DT><STRONG>HorizontalGradient</STRONG>
<DD><A HREF="node18.html#745">3.6</A>
<DT><STRONG>Inches</STRONG>
<DD><A HREF="node18.html#680">3.6</A>
<DT><STRONG>InsertText</STRONG>
<DD><A HREF="node12.html#492">3.3.6</A>
<DT><STRONG>IsLayerPrintable</STRONG>
<DD><A HREF="node16.html#617">3.4.3</A>
<DT><STRONG>IsLayerVisible</STRONG>
<DD><A HREF="node16.html#622">3.4.3</A>
<DT><STRONG>Landscape</STRONG>
<DD><A HREF="node18.html#685">3.6</A>
<DT><STRONG>Ledger</STRONG>
<DD><A HREF="node18.html#714">3.6</A>
<DT><STRONG>LeftAlign</STRONG>
<DD><A HREF="node18.html#726">3.6</A>
<DT><STRONG>Legal</STRONG>
<DD><A HREF="node18.html#715">3.6</A>
<DT><STRONG>Letter</STRONG>
<DD><A HREF="node18.html#716">3.6</A>
<DT><STRONG>LoadImage</STRONG>
<DD><A HREF="node9.html#179">3.3.3</A>
<DT><STRONG>MessageBox</STRONG>
<DD><A HREF="node17.html#663">3.5</A>
<DT><STRONG>Milimeters</STRONG>
<DD><A HREF="node18.html#679">3.6</A>
<DT><STRONG>MiterJoin</STRONG>
<DD><A HREF="node18.html#736">3.6</A>
<DT><STRONG>MoveObject</STRONG>
<DD><A HREF="node11.html#375">3.3.5</A>
<DT><STRONG>MoveObjectAbs</STRONG>
<DD><A HREF="node11.html#382">3.3.5</A>
<DT><STRONG>NewDoc</STRONG>
<DD><A HREF="node4.html#52">3.1</A>
<DT><STRONG>NewDocDialog</STRONG>
<DD><A HREF="node17.html#670">3.5</A>
<DT><STRONG>NewPage</STRONG>
<DD><A HREF="node5.html#90">3.2</A>
<DT><STRONG>NoFacingPages</STRONG>
<DD><A HREF="node18.html#721">3.6</A>
<DT><STRONG>NoGradient</STRONG>
<DD><A HREF="node18.html#744">3.6</A>
<DT><STRONG>OpenDoc</STRONG>
<DD><A HREF="node4.html#65">3.1</A>
<DT><STRONG>PageCount</STRONG>
<DD><A HREF="node5.html#97">3.2</A>
<DT><STRONG>Picas</STRONG>
<DD><A HREF="node18.html#681">3.6</A>
<DT><STRONG>Points</STRONG>
<DD><A HREF="node18.html#678">3.6</A>
<DT><STRONG>Portrait</STRONG>
<DD><A HREF="node18.html#684">3.6</A>
<DT><STRONG>RadialGradient</STRONG>
<DD><A HREF="node18.html#749">3.6</A>
<DT><STRONG>RedrawAll</STRONG>
<DD><A HREF="node5.html#98">3.2</A>
<DT><STRONG>ReplaceColor</STRONG>
<DD><A HREF="node14.html#599">3.4.1</A>
<DT><STRONG>RightAlign</STRONG>
<DD><A HREF="node18.html#728">3.6</A>
<DT><STRONG>RotateObject</STRONG>
<DD><A HREF="node11.html#390">3.3.5</A>
<DT><STRONG>RotateObjectAbs</STRONG>
<DD><A HREF="node11.html#397">3.3.5</A>
<DT><STRONG>RoundCap</STRONG>
<DD><A HREF="node18.html#741">3.6</A>
<DT><STRONG>RoundJoin</STRONG>
<DD><A HREF="node18.html#738">3.6</A>
<DT><STRONG>SaveDoc</STRONG>
<DD><A HREF="node4.html#68">3.1</A>
<DT><STRONG>SaveDocAs</STRONG>
<DD><A HREF="node4.html#69">3.1</A>
<DT><STRONG>SavePageAsEPS</STRONG>
<DD><A HREF="node5.html#100">3.2</A>
<DT><STRONG>ScaleGroup</STRONG>
<DD><A HREF="node11.html#404">3.3.5</A>
<DT><STRONG>ScaleImage</STRONG>
<DD><A HREF="node9.html#186">3.3.3</A>
<DT><STRONG>SelectionCount</STRONG>
<DD><A HREF="node8.html#173">3.3.2</A>
<DT><STRONG>SelectObject</STRONG>
<DD><A HREF="node8.html#174">3.3.2</A>
<DT><STRONG>SelectText</STRONG>
<DD><A HREF="node12.html#501">3.3.6</A>
<DT><STRONG>SentToLayer</STRONG>
<DD><A HREF="node16.html#627">3.4.3</A>
<DT><STRONG>SetActiveLayer</STRONG>
<DD><A HREF="node16.html#635">3.4.3</A>
<DT><STRONG>SetColumnGap</STRONG>
<DD><A HREF="node12.html#517">3.3.6</A>
<DT><STRONG>SetColumns</STRONG>
<DD><A HREF="node12.html#510">3.3.6</A>
<DT><STRONG>SetCornerRadius</STRONG>
<DD><A HREF="node9.html#192">3.3.3</A>
<DT><STRONG>SetDocType</STRONG>
<DD><A HREF="node4.html#77">3.1</A>
<DT><STRONG>SetFillColor</STRONG>
<DD><A HREF="node9.html#198">3.3.3</A>
<DT><STRONG>SetFillShade</STRONG>
<DD><A HREF="node9.html#206">3.3.3</A>
<DT><STRONG>SetFont</STRONG>
<DD><A HREF="node12.html#524">3.3.6</A>
<DT><STRONG>SetFontSize</STRONG>
<DD><A HREF="node12.html#531">3.3.6</A>
<DT><STRONG>SetGradientFill</STRONG>
<DD><A HREF="node9.html#214">3.3.3</A>
<DT><STRONG>SetInfo</STRONG>
<DD><A HREF="node4.html#72">3.1</A>
<DT><STRONG>SetLayerPrintable</STRONG>
<DD><A HREF="node16.html#638">3.4.3</A>
<DT><STRONG>SetLayerVisible</STRONG>
<DD><A HREF="node16.html#644">3.4.3</A>
<DT><STRONG>SetLineCap</STRONG>
<DD><A HREF="node9.html#222">3.3.3</A>
<DT><STRONG>SetLineColor</STRONG>
<DD><A HREF="node9.html#230">3.3.3</A>
<DT><STRONG>SetLineJoin</STRONG>
<DD><A HREF="node9.html#244">3.3.3</A>
<DT><STRONG>SetLineShade</STRONG>
<DD><A HREF="node9.html#252">3.3.3</A>
<DT><STRONG>SetLineSpacing</STRONG>
<DD><A HREF="node12.html#539">3.3.6</A>
<DT><STRONG>SetLineStyle</STRONG>
<DD><A HREF="node9.html#260">3.3.3</A>
<DT><STRONG>SetLineWidth</STRONG>
<DD><A HREF="node9.html#268">3.3.3</A>
<DT><STRONG>SetMargins</STRONG>
<DD><A HREF="node4.html#74">3.1</A>
<DT><STRONG>SetMultiLine</STRONG>
<DD><A HREF="node9.html#237">3.3.3</A>
<DT><STRONG>SetRedraw</STRONG>
<DD><A HREF="node5.html#99">3.2</A>
<DT><STRONG>SetText</STRONG>
<DD><A HREF="node12.html#546">3.3.6</A>
<DT><STRONG>SetTextAlignment</STRONG>
<DD><A HREF="node12.html#553">3.3.6</A>
<DT><STRONG>SetTextColor</STRONG>
<DD><A HREF="node12.html#566">3.3.6</A>
<DT><STRONG>SetTextShade</STRONG>
<DD><A HREF="node12.html#573">3.3.6</A>
<DT><STRONG>SetUnit</STRONG>
<DD><A HREF="node4.html#78">3.1</A>
<DT><STRONG>SizeObject</STRONG>
<DD><A HREF="node11.html#411">3.3.5</A>
<DT><STRONG>SolidLine</STRONG>
<DD><A HREF="node18.html#732">3.6</A>
<DT><STRONG>SquareCap</STRONG>
<DD><A HREF="node18.html#740">3.6</A>
<DT><STRONG>StatusMessage</STRONG>
<DD><A HREF="node17.html#672">3.5</A>
<DT><STRONG>Tabloid</STRONG>
<DD><A HREF="node18.html#717">3.6</A>
<DT><STRONG>UnGroupObject</STRONG>
<DD><A HREF="node11.html#417">3.3.5</A>
<DT><STRONG>VerticalGradient</STRONG>
<DD><A HREF="node18.html#746">3.6</A>
 
</dl>
<br><hr>
 
</body>
</html>
</DL>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/Manual.css
1,10 → 1,30
<!--
TD P { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif }
H2 { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif}
H3 { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif }
H4 { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif }
P { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif }
ul { font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif }
a:hover {color: #FF0000; font-family: Verdana, MS Trebuchet, Arial, Helvetica, sans-serif ; font-weight: bold}
code { font-family: courier, fixed, monospace; }
-->
/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */
.MATH { font-family: "Century Schoolbook", serif; }
.MATH I { font-family: "Century Schoolbook", serif; font-style: italic }
.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold }
 
/* implement both fixed-size and relative sizes */
SMALL.XTINY { font-size : xx-small }
SMALL.TINY { font-size : x-small }
SMALL.SCRIPTSIZE { font-size : smaller }
SMALL.FOOTNOTESIZE { font-size : small }
SMALL.SMALL { }
BIG.LARGE { }
BIG.XLARGE { font-size : large }
BIG.XXLARGE { font-size : x-large }
BIG.HUGE { font-size : larger }
BIG.XHUGE { font-size : xx-large }
 
/* heading styles */
H1 { }
H2 { }
H3 { }
H4 { }
H5 { }
 
/* mathematics styles */
DIV.displaymath { } /* math displays */
TD.eqno { } /* equation-number cells */
 
 
/* document-specific styles come next */
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node1.html
1,81 → 1,84
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Installation</title>
<meta name="description" content="Installation">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>1. Installation</TITLE>
<META NAME="description" CONTENT="1. Installation">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node2.html">
<link rel="previous" href="Manual.html">
<link rel="up" href="Manual.html">
<link rel="next" href="node2.html">
</head>
<LINK REL="next" HREF="node2.html">
<LINK REL="previous" HREF="Manual.html">
<LINK REL="up" HREF="Manual.html">
<LINK REL="next" HREF="node2.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html35"
href="node2.html">Using the Plugin</a>
<b> Up:</b> <a name="tex2html31"
href="Manual.html">Scripting Scribus with Python</a>
<b> Previous:</b> <a name="tex2html25"
href="Manual.html">Scripting Scribus with Python</a>
&nbsp; <b> <a name="tex2html33"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html35"
HREF="node2.html">2. Using the Plugin</A>
<B> Up:</B> <A NAME="tex2html31"
HREF="index.html">Scripting Scribus with Python</A>
<B> Previous:</B> <A NAME="tex2html25"
HREF="Manual.html">Scripting Scribus with Python</A>
&nbsp <B> <A NAME="tex2html33"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00100000000000000000">
Installation</a>
</h1>
<H1><A NAME="SECTION00100000000000000000">
1. Installation</A>
</H1>
 
<p>
<P>
For installing this Plugin you must have installed:
 
<p>
<P>
 
<ul>
<li>Scribus Version 1.0 or higher
</li>
<li>Python Version 1.52 or higher
</li>
</ul>
<UL>
<LI>Scribus Version 1.0 or higher
</LI>
<LI>Python Version 1.52 or higher
</LI>
</UL>
The Installation is easy, just unpack the tarball and enter the following
Commands:
 
<p>
<blockquote>
<P>
<BLOCKQUOTE>
./configure -prefix=(use the same prefix as for Scribus itself)
</blockquote>
<p>
<blockquote>make
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>make
 
</blockquote>
</BLOCKQUOTE>
and finally as root:
 
<p>
<blockquote>
<P>
<BLOCKQUOTE>
make install
 
</blockquote>
</BLOCKQUOTE>
That's it. After restarting Scribus you should see a new Entry in
the Menubar left to the Help Item called ``Script''
 
<p>
</body>
</html>
<P>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/index.html
1,36 → 1,38
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Scripting Scribus with Python</title>
<meta name="description" content="Scripting scribus with Python">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>Scripting Scribus with Python</TITLE>
<META NAME="description" CONTENT="Scripting Scribus with Python">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node1.html">
</head>
<LINK REL="next" HREF="node1.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html4"
href="node1.html">Installation</a>
&nbsp; <b> <a name="tex2html2"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html4"
HREF="node1.html">1. Installation</A>
&nbsp <B> <A NAME="tex2html2"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<center><IMG SRC="../scribus_head.png" NAME="Graphic1" ALT="Scribus Logo" ALIGN=MIDDLE WIDTH=400 HEIGHT=79 BORDER=0></center><BR>
39,7 → 41,7
<div>
 
<p align="CENTER"><strong>Franz Schmid</strong></p>
<p align="CENTER"><strong>18.07.2003</strong></p>
<p align="CENTER"><strong>28.12.2003</strong></p>
</div>
 
<h3>Abstract:</h3>
53,64 → 55,60
<p>There are some simple example scripts in the <code>samples</code> subdirectory where Scribus is installed. If you have created scripts which would be useful for other users, please feel free to contribute a copy to the program author, Franz Schmid. Hopefully, in the near future, a Scribus plug-in gallery will be added.
</div>
<H4>Program Author Franz Schmid <A HREF="mailto:Franz.Schmid@altmuehlnet.de">Franz.Schmid@altmuehlnet.de</A></H4>
<P>Scripting Plug-in Version 0.5, 18 July 2003</p>
 
<P>Reference Documentation by Franz Schmid with the assistance of Peter Linnell, <A HREF="mailto:netscribe@attbi.com">netscribe@attbi.com</A> completed for 1.0</p>
<hr>
<!--Table of Child-Links-->
<a name="CHILD_LINKS"></a>
<A NAME="CHILD_LINKS"></A>
 
<ul>
<li><a name="tex2html5"
href="node1.html">Installation</a>
<li><a name="tex2html6"
href="node2.html">Using the Plugin</a>
<li><a name="tex2html7"
href="node3.html">The available Commands</a>
<ul>
<li><a name="tex2html8"
href="node4.html">Document related Commands</a>
<li><a name="tex2html9"
href="node5.html">Page related Commands</a>
<li><a name="tex2html10"
href="node6.html">Object related Commands</a>
<ul>
<li><a name="tex2html11"
href="node7.html">Creating and Destructing Objects</a>
<li><a name="tex2html12"
href="node8.html">Selecting Objects</a>
<li><a name="tex2html13"
href="node9.html">Setting Object Properties</a>
<li><a name="tex2html14"
href="node10.html">Getting Object Properties</a>
<li><a name="tex2html15"
href="node11.html">Manipulating Objects</a>
<li><a name="tex2html16"
href="node12.html">Handling Text Frames</a>
</ul>
<li><a name="tex2html17"
href="node13.html">Other Commands</a>
<ul>
<li><a name="tex2html18"
href="node14.html">Color related Commands</a>
<li><a name="tex2html19"
href="node15.html">Font related Commands</a>
<li><a name="tex2html20"
href="node16.html">Layer related Commands</a>
</ul>
<li><a name="tex2html21"
href="node17.html">Using Dialogs from Scribus</a>
<li><a name="tex2html22"
href="node18.html">Predefined Constants</a>
</ul>
<br>
<li><a name="tex2html23"
href="node19.html">Index</a>
</ul>
<UL>
<LI><A NAME="tex2html5"
HREF="node1.html">1. Installation</A>
<LI><A NAME="tex2html6"
HREF="node2.html">2. Using the Plugin</A>
<LI><A NAME="tex2html7"
HREF="node3.html">3. The available Commands</A>
<UL>
<LI><A NAME="tex2html8"
HREF="node4.html">3.1 Document related Commands</A>
<LI><A NAME="tex2html9"
HREF="node5.html">3.2 Page related Commands</A>
<LI><A NAME="tex2html10"
HREF="node6.html">3.3 Object related Commands</A>
<UL>
<LI><A NAME="tex2html11"
HREF="node7.html">3.3.1 Creating and Destructing Objects</A>
<LI><A NAME="tex2html12"
HREF="node8.html">3.3.2 Selecting Objects</A>
<LI><A NAME="tex2html13"
HREF="node9.html">3.3.3 Setting Object Properties</A>
<LI><A NAME="tex2html14"
HREF="node10.html">3.3.4 Getting Object Properties</A>
<LI><A NAME="tex2html15"
HREF="node11.html">3.3.5 Manipulating Objects</A>
<LI><A NAME="tex2html16"
HREF="node12.html">3.3.6 Handling Text Frames</A>
</UL>
<LI><A NAME="tex2html17"
HREF="node13.html">3.4 Other Commands</A>
<UL>
<LI><A NAME="tex2html18"
HREF="node14.html">3.4.1 Color related Commands</A>
<LI><A NAME="tex2html19"
HREF="node15.html">3.4.2 Font related Commands</A>
<LI><A NAME="tex2html20"
HREF="node16.html">3.4.3 Layer related Commands</A>
</UL>
<LI><A NAME="tex2html21"
HREF="node17.html">3.5 Using Dialogs from Scribus</A>
<LI><A NAME="tex2html22"
HREF="node18.html">3.6 Predefined Constants</A>
</UL>
<BR>
<LI><A NAME="tex2html23"
HREF="node19.html">Index</A>
</UL>
<!--End of Table of Child-Links-->
<br><hr>
<address>
Franz Schmid
2003-07-18
</address>
</body>
</html>
<BR><HR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node2.html
1,49 → 1,53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Using the Plugin</title>
<meta name="description" content="Using the Plugin">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>2. Using the Plugin</TITLE>
<META NAME="description" CONTENT="2. Using the Plugin">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node3.html">
<link rel="previous" href="node1.html">
<link rel="up" href="Manual.html">
<link rel="next" href="node3.html">
</head>
<LINK REL="next" HREF="node3.html">
<LINK REL="previous" HREF="node1.html">
<LINK REL="up" HREF="Manual.html">
<LINK REL="next" HREF="node3.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html47"
href="node3.html">The available Commands</a>
<b> Up:</b> <a name="tex2html43"
href="Manual.html">Scripting Scribus with Python</a>
<b> Previous:</b> <a name="tex2html37"
href="node1.html">Installation</a>
&nbsp; <b> <a name="tex2html45"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html47"
HREF="node3.html">3. The available Commands</A>
<B> Up:</B> <A NAME="tex2html43"
HREF="index.html">Scripting Scribus with Python</A>
<B> Previous:</B> <A NAME="tex2html37"
HREF="node1.html">1. Installation</A>
&nbsp <B> <A NAME="tex2html45"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h2 align=center><a name="SECTION00200000000000000000">
Using the Plugin</a><br><br>
<img src="Scripter.png" width="416" height="156" align="center"></h2>
<p>
<H1><A NAME="SECTION00200000000000000000">
2. Using the Plugin</A><br><br>
<img src="Scripter.png" width="416" height="156" align="center">
</H1>
 
<P>
To execute a Python Script select ``Script-&gt;Execute Script...''
Scribus will display a Fileselect Box which allows you to select a
Python Script. Below there is an extra Menu item ``Recent Scripts''
51,23 → 55,23
remembered depends on your Setting for Recent Documents in the Scribus
Preferences.
 
<p>
<P>
You can use many Python Programs with this Plugin. The only exception
are Scripts who expect Parameters from the Command Line. They won't
work because the Plugin gives the Python Interpreter an empty Command
Line.
 
<p>
<P>
The Menu Item ``Show Console'' gives you an interactive Python
Console, where you can execute Commands directly. There is no need
to do a ``from scribus import *'', this has already been done.
You can use all the following Commands directly without any Prefix.
 
<p>
<P>
You can display this Reference Manual when you select ``Script-&gt;Online
Help''.
 
<p>
 
</body>
</html>
<P>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node3.html
1,117 → 1,118
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>The available Commands</title>
<meta name="description" content="The available Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3. The available Commands</TITLE>
<META NAME="description" CONTENT="3. The available Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node19.html">
<link rel="previous" href="node2.html">
<link rel="up" href="Manual.html">
<link rel="next" href="node4.html">
</head>
<LINK REL="next" HREF="node19.html">
<LINK REL="previous" HREF="node2.html">
<LINK REL="up" HREF="Manual.html">
<LINK REL="next" HREF="node4.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html59"
href="node4.html">Document related Commands</a>
<b> Up:</b> <a name="tex2html55"
href="Manual.html">Scripting Scribus with Python</a>
<b> Previous:</b> <a name="tex2html49"
href="node2.html">Using the Plugin</a>
&nbsp; <b> <a name="tex2html57"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html59"
HREF="node4.html">3.1 Document related Commands</A>
<B> Up:</B> <A NAME="tex2html55"
HREF="index.html">Scripting Scribus with Python</A>
<B> Previous:</B> <A NAME="tex2html49"
HREF="node2.html">2. Using the Plugin</A>
&nbsp <B> <A NAME="tex2html57"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00300000000000000000">
The available Commands</a>
</h1>
<H1><A NAME="SECTION00300000000000000000">
3. The available Commands</A>
</H1>
 
<p>
<P>
The Plugin installs a buildin Module ``scribus''. Thus to use
the extensions to the Python language you must do a ``import scribus''
or ``from scribus import *''
 
<p>
<P>
Conventions used in this Document:
 
<p>
<dl>
<dt><strong>number</strong></dt>
<dd>means that ``number'' is an ordinary Interger or Floating
<P>
<DL>
<DT><STRONG>number</STRONG></DT>
<DD>means that ``number'' is an ordinary Interger or Floating
Point Number.
</dd>
<dt><strong>``name''</strong></dt>
<dd>means that ``name'' is a String Literal or Variable.
</dd>
<dt><strong><i>list</i></strong></dt>
<dd>means that ``<i>list</i>'' is a Python List.
</dd>
</dl>
</DD>
<DT><STRONG>``name''</STRONG></DT>
<DD>means that ``name'' is a String Literal or Variable.
</DD>
<DT><STRONG><I>list</I></STRONG></DT>
<DD>means that ``<I>list</I>'' is a Python List.
</DD>
</DL>
Variables in angled Brackets are optional.
 
<p>
<br><hr>
<P>
<BR><HR>
<!--Table of Child-Links-->
<a name="CHILD_LINKS"><strong>Subsections</strong></a>
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
<ul>
<li><a name="tex2html60"
href="node4.html">Document related Commands</a>
<li><a name="tex2html61"
href="node5.html">Page related Commands</a>
<li><a name="tex2html62"
href="node6.html">Object related Commands</a>
<ul>
<li><a name="tex2html63"
href="node7.html">Creating and Destructing Objects</a>
<li><a name="tex2html64"
href="node8.html">Selecting Objects</a>
<li><a name="tex2html65"
href="node9.html">Setting Object Properties</a>
<li><a name="tex2html66"
href="node10.html">Getting Object Properties</a>
<li><a name="tex2html67"
href="node11.html">Manipulating Objects</a>
<li><a name="tex2html68"
href="node12.html">Handling Text Frames</a>
</ul>
<br>
<li><a name="tex2html69"
href="node13.html">Other Commands</a>
<ul>
<li><a name="tex2html70"
href="node14.html">Color related Commands</a>
<li><a name="tex2html71"
href="node15.html">Font related Commands</a>
<li><a name="tex2html72"
href="node16.html">Layer related Commands</a>
</ul>
<br>
<li><a name="tex2html73"
href="node17.html">Using Dialogs from Scribus</a>
<li><a name="tex2html74"
href="node18.html">Predefined Constants</a>
</ul>
<UL>
<LI><A NAME="tex2html60"
HREF="node4.html">3.1 Document related Commands</A>
<LI><A NAME="tex2html61"
HREF="node5.html">3.2 Page related Commands</A>
<LI><A NAME="tex2html62"
HREF="node6.html">3.3 Object related Commands</A>
<UL>
<LI><A NAME="tex2html63"
HREF="node7.html">3.3.1 Creating and Destructing Objects</A>
<LI><A NAME="tex2html64"
HREF="node8.html">3.3.2 Selecting Objects</A>
<LI><A NAME="tex2html65"
HREF="node9.html">3.3.3 Setting Object Properties</A>
<LI><A NAME="tex2html66"
HREF="node10.html">3.3.4 Getting Object Properties</A>
<LI><A NAME="tex2html67"
HREF="node11.html">3.3.5 Manipulating Objects</A>
<LI><A NAME="tex2html68"
HREF="node12.html">3.3.6 Handling Text Frames</A>
</UL>
<BR>
<LI><A NAME="tex2html69"
HREF="node13.html">3.4 Other Commands</A>
<UL>
<LI><A NAME="tex2html70"
HREF="node14.html">3.4.1 Color related Commands</A>
<LI><A NAME="tex2html71"
HREF="node15.html">3.4.2 Font related Commands</A>
<LI><A NAME="tex2html72"
HREF="node16.html">3.4.3 Layer related Commands</A>
</UL>
<BR>
<LI><A NAME="tex2html73"
HREF="node17.html">3.5 Using Dialogs from Scribus</A>
<LI><A NAME="tex2html74"
HREF="node18.html">3.6 Predefined Constants</A>
</UL>
<!--End of Table of Child-Links-->
<br><hr>
 
</body>
</html>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node4.html
1,182 → 1,182
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Document related Commands</title>
<meta name="description" content="Document related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.1 Document related Commands</TITLE>
<META NAME="description" CONTENT="3.1 Document related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node5.html">
<link rel="previous" href="node3.html">
<link rel="up" href="node3.html">
<link rel="next" href="node5.html">
</head>
<LINK REL="next" HREF="node5.html">
<LINK REL="previous" HREF="node3.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node5.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html86"
href="node5.html">Page related Commands</a>
<b> Up:</b> <a name="tex2html82"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html76"
href="node3.html">The available Commands</a>
&nbsp; <b> <a name="tex2html84"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html86"
HREF="node5.html">3.2 Page related Commands</A>
<B> Up:</B> <A NAME="tex2html82"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html76"
HREF="node3.html">3. The available Commands</A>
&nbsp <B> <A NAME="tex2html84"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00310000000000000000">
Document related Commands</a>
</h1>
<H1><A NAME="SECTION00310000000000000000">
3.1 Document related Commands</A>
</H1>
 
<p>
<dl>
<dt><strong>CloseDoc<a name="45"></a>()</strong></dt>
<dd>Closes the actual Document. Returns
<P>
<DL>
<DT><STRONG>CloseDoc<A NAME="45"></A>()</STRONG></DT>
<DD>Closes the actual Document. Returns
true if successful.
</dd>
<dt><strong>GetUnit<a name="46"></a>()</strong></dt>
<dd>Returns the Measurement Unit of the Document.
</DD>
<DT><STRONG>GetUnit<A NAME="46"></A>()</STRONG></DT>
<DD>Returns the Measurement Unit of the Document.
Possible Values for Unit are:
</dd>
</dl>
<blockquote>
</DD>
</DL>
<BLOCKQUOTE>
0 = Typographic Points
</blockquote>
<p>
<blockquote>1 = Millimeters
</blockquote>
<p>
<blockquote>2 = Inches
</blockquote>
<p>
<blockquote>3 = Picas
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>1 = Millimeters
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>2 = Inches
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>3 = Picas
 
</blockquote>
<dl>
<dt><strong>HaveDoc<a name="51"></a>()</strong></dt>
<dd>Returns true if there is a Document open.
</dd>
<dt><strong>NewDoc<a name="52"></a>(size,&nbsp;margins,&nbsp;orientation,&nbsp;firstPageNumber,&nbsp;unit,&nbsp;FacingPages,&nbsp;FirstSideLeft)</strong></dt>
<dd>Creates
</BLOCKQUOTE>
<DL>
<DT><STRONG>HaveDoc<A NAME="51"></A>()</STRONG></DT>
<DD>Returns true if there is a Document open.
</DD>
<DT><STRONG>NewDoc<A NAME="52"></A>(size,&nbsp;margins,&nbsp;orientation,&nbsp;firstPageNumber,&nbsp;unit,&nbsp;FacingPages,&nbsp;FirstSideLeft)</STRONG></DT>
<DD>Creates
a new Document. The Parameters have the following Meaning:
</dd>
</dl>
<blockquote>
<div align="LEFT">
</DD>
</DL>
<BLOCKQUOTE>
<DIV ALIGN="LEFT">
size = A Tuple (width, height) describing
the Size of the Document.
<br>
<BR>
margins = A Tuple (Left, Right, Top, Bottom) describing the Margins
of the Document.
<br>
<BR>
orientation = the Page Orientation, 0 means Portrait, 1 is Landscape
<br>
<BR>
firstPageNumer is the Number of the first Page in the Document used
for Pagenumbering
<br>
<BR>
unit: this Value sets the Measurement Unit of the Document
</div>
</DIV>
 
<blockquote>
<div align="LEFT">
<BLOCKQUOTE>
<DIV ALIGN="LEFT">
0 = Typograpic Points
<br>
<BR>
1 = Millimeters
<br>
<BR>
2 = Inches
<br>
<BR>
3 = Picas
</div>
</blockquote>
</DIV>
</BLOCKQUOTE>
 
<div align="LEFT">
<DIV ALIGN="LEFT">
FacingPages: 1 means FacingPages turned
on, 0 means FacingPages turned off
<br>
<BR>
FirstSideLeft: 1 means that the first Page in the Document is a left
Page, 0 means a right Page as first Page
<br>
<BR>
The values for Width, Height and the Margins are expressed in the
given unit for the Document.
</div>
</blockquote>
<dl>
<dt><strong>OpenDoc<a name="65"></a>(``name'')</strong></dt>
<dd>Opens the Document ``name''.
</DIV>
</BLOCKQUOTE>
<DL>
<DT><STRONG>OpenDoc<A NAME="65"></A>(``name'')</STRONG></DT>
<DD>Opens the Document ``name''.
Returns true if successful.
</dd>
<dt><strong>SaveDoc<a name="68"></a>()</strong></dt>
<dd>Saves the Document under its actual Name,
</DD>
<DT><STRONG>SaveDoc<A NAME="68"></A>()</STRONG></DT>
<DD>Saves the Document under its actual Name,
returns true if successful.
</dd>
<dt><strong>SaveDocAs<a name="69"></a>(``name'')</strong></dt>
<dd>Saves the actual Document
</DD>
<DT><STRONG>SaveDocAs<A NAME="69"></A>(``name'')</STRONG></DT>
<DD>Saves the actual Document
under the new Name ``name''. Returns true if successful.
</dd>
<dt><strong>SetInfo<a name="72"></a>(``Author'',&nbsp;''Info'',&nbsp;''Description'')</strong></dt>
<dd>Sets
</DD>
<DT><STRONG>SetInfo<A NAME="72"></A>(``Author'',&nbsp;''Info'',&nbsp;''Description'')</STRONG></DT>
<DD>Sets
the Document Information.
</dd>
<dt><strong>SetMargins<a name="74"></a>(lr,&nbsp;rr,&nbsp;tr,&nbsp;br)</strong></dt>
<dd>Sets the Printmargins
</DD>
<DT><STRONG>SetMargins<A NAME="74"></A>(lr,&nbsp;rr,&nbsp;tr,&nbsp;br)</STRONG></DT>
<DD>Sets the Printmargins
of the Document, Left(lr), Right(rr), Top(tr) and Bottom(br) Margins
are given in the actual measurement Unit of the Document.
</dd>
<dt><strong><font color="#ff0000">SetDocType</font><a name="77"></a>(FacingPages,&nbsp;FirstSideLeft)</strong></dt>
<dd>Sets
</DD>
<DT><STRONG><FONT COLOR="#ff0000">SetDocType</FONT><A NAME="77"></A>(FacingPages,&nbsp;FirstSideLeft)</STRONG></DT>
<DD>Sets
the Type of the Documents, to get Facing Pages set the first Parameter
to 1, to switch FacingPages off use 0 instead. If you want to be the
first Page a left Side set the second Parameter to 1, for a right
Page use 0.
</dd>
<dt><strong>SetUnit<a name="78"></a>(unit)</strong></dt>
<dd>Changes the Measurement Unit of the
</DD>
<DT><STRONG>SetUnit<A NAME="78"></A>(unit)</STRONG></DT>
<DD>Changes the Measurement Unit of the
Document. Possible Values for Unit are:
</dd>
</dl>
<blockquote>
</DD>
</DL>
<BLOCKQUOTE>
0 = Typographic Points
</blockquote>
<p>
<blockquote>1 = Millimeters
</blockquote>
<p>
<blockquote>2 = Inches
</blockquote>
<p>
<blockquote>3 = Picas
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>1 = Millimeters
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>2 = Inches
</BLOCKQUOTE>
<P>
<BLOCKQUOTE>3 = Picas
 
</blockquote>
</BLOCKQUOTE>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html86"
href="node5.html">Page related Commands</a>
<b> Up:</b> <a name="tex2html82"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html76"
href="node3.html">The available Commands</a>
&nbsp; <b> <a name="tex2html84"
href="node19.html">Index</a></b>
<B> Next:</B> <A NAME="tex2html86"
HREF="node5.html">3.2 Page related Commands</A>
<B> Up:</B> <A NAME="tex2html82"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html76"
HREF="node3.html">3. The available Commands</A>
&nbsp <B> <A NAME="tex2html84"
HREF="node19.html">Index</A></B>
<!--End of Navigation Panel-->
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node5.html
1,105 → 1,104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Page related Commands</title>
<meta name="description" content="Page related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.2 Page related Commands</TITLE>
<META NAME="description" CONTENT="3.2 Page related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node6.html">
<link rel="previous" href="node4.html">
<link rel="up" href="node3.html">
<link rel="next" href="node6.html">
</head>
<LINK REL="next" HREF="node6.html">
<LINK REL="previous" HREF="node4.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node6.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html98"
href="node6.html">Object related Commands</a>
<b> Up:</b> <a name="tex2html94"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html88"
href="node4.html">Document related Commands</a>
&nbsp; <b> <a name="tex2html96"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html98"
HREF="node6.html">3.3 Object related Commands</A>
<B> Up:</B> <A NAME="tex2html94"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html88"
HREF="node4.html">3.1 Document related Commands</A>
&nbsp <B> <A NAME="tex2html96"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00320000000000000000">
Page related Commands</a>
</h1>
<H1><A NAME="SECTION00320000000000000000">
3.2 Page related Commands</A>
</H1>
 
<p>
<dl>
<dt><strong>CurrentPage<a name="84"></a>()</strong></dt>
<dd>Returns the Number of the current
<P>
<DL>
<DT><STRONG>CurrentPage<A NAME="84"></A>()</STRONG></DT>
<DD>Returns the Number of the current
working Page. Pagenumbers are counted from 1 upwards.
</dd>
<dt><strong>DeletePage<a name="85"></a>(nr)</strong></dt>
<dd>Deletes the given Page, does nothing
</DD>
<DT><STRONG>DeletePage<A NAME="85"></A>(nr)</STRONG></DT>
<DD>Deletes the given Page, does nothing
if the Document contains only one Page. Pagenumbers are counted from
1 upwards.
</dd>
<dt><strong>GetAllObjects<a name="86"></a>()</strong></dt>
<dd>Returns a List containing
</DD>
<DT><STRONG>GetAllObjects<A NAME="86"></A>()</STRONG></DT>
<DD>Returns a List containing
the Names of all Objects on the actual Page.
</dd>
<dt><strong>GotoPage<a name="87"></a>(nr)</strong></dt>
<dd>Moves to the Page ``nr''. If ``nr''
</DD>
<DT><STRONG>GotoPage<A NAME="87"></A>(nr)</STRONG></DT>
<DD>Moves to the Page ``nr''. If ``nr''
is outside the current rage of Pages nothing happens.
</dd>
<dt><strong>NewPage<a name="90"></a>(where,&nbsp;[``template''])</strong></dt>
<dd>Creates
</DD>
<DT><STRONG>NewPage<A NAME="90"></A>(where,&nbsp;[``template''])</STRONG></DT>
<DD>Creates
a new Page If ``where'' is -1 the new Page is appended to the
Document, otherwise the new Page is inserted at ``where''. The
Pagenumbers are counted from 1 upwards. The optional Parameter ``template''
specifies the Name of the Template Page for the new Page.
</dd>
<dt><strong>PageCount<a name="97"></a>()</strong></dt>
<dd>Returns the Number of Pages in the
</DD>
<DT><STRONG>PageCount<A NAME="97"></A>()</STRONG></DT>
<DD>Returns the Number of Pages in the
Document.
</dd>
<dt><strong>RedrawAll<a name="98"></a>()</strong></dt>
<dd>Redraws all Pages.
</dd>
<dt><strong>SetRedraw<a name="99"></a>(bool)</strong></dt>
<dd>Disables Page Redraw when bool
</DD>
<DT><STRONG>RedrawAll<A NAME="98"></A>()</STRONG></DT>
<DD>Redraws all Pages.
</DD>
<DT><STRONG>SetRedraw<A NAME="99"></A>(bool)</STRONG></DT>
<DD>Disables Page Redraw when bool
= 0, otherwise redrawing is enabled.
</dd>
<dt><strong>SavePageAsEPS<a name="100"></a>(``name'')</strong></dt>
<dd>Saves the actual
</DD>
<DT><STRONG>SavePageAsEPS<A NAME="100"></A>(``name'')</STRONG></DT>
<DD>Saves the actual
Page as an EPS, returns true if successful.
</dd>
</dl>
</DD>
</DL>
 
<p>
<hr>
<!--Navigation Panel-->
<P>
 
<b> Next:</b> <a name="tex2html98"
href="node6.html">Object related Commands</a>
<b> Up:</b> <a name="tex2html94"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html88"
href="node4.html">Document related Commands</a>
&nbsp; <b> <a name="tex2html96"
href="node19.html">Index</a></b>
<!--End of Navigation Panel-->
<B> Next:</B> <A NAME="tex2html98"
HREF="node6.html">3.3 Object related Commands</A>
<B> Up:</B> <A NAME="tex2html94"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html88"
HREF="node4.html">3.1 Document related Commands</A>
&nbsp <B> <A NAME="tex2html96"
HREF="node19.html">Index</A></B>
 
</body>
</html>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/doc/en/node6.html
1,70 → 1,71
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
<!--Converted with LaTeX2HTML 2002-1 (1.69)
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<html>
<head>
<title>Object related Commands</title>
<meta name="description" content="Object related Commands">
<meta name="keywords" content="Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<HTML>
<HEAD>
<TITLE>3.3 Object related Commands</TITLE>
<META NAME="description" CONTENT="3.3 Object related Commands">
<META NAME="keywords" CONTENT="Manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="LaTeX2HTML v2002-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
<link rel="STYLESHEET" href="Manual.css">
<LINK REL="STYLESHEET" HREF="Manual.css">
 
<link rel="next" href="node13.html">
<link rel="previous" href="node5.html">
<link rel="up" href="node3.html">
<link rel="next" href="node7.html">
</head>
<LINK REL="next" HREF="node13.html">
<LINK REL="previous" HREF="node5.html">
<LINK REL="up" HREF="node3.html">
<LINK REL="next" HREF="node7.html">
</HEAD>
 
<body >
<BODY >
<!--Navigation Panel-->
 
<b> Next:</b> <a name="tex2html110"
href="node7.html">Creating and Destructing Objects</a>
<b> Up:</b> <a name="tex2html106"
href="node3.html">The available Commands</a>
<b> Previous:</b> <a name="tex2html100"
href="node5.html">Page related Commands</a>
&nbsp; <b> <a name="tex2html108"
href="node19.html">Index</a></b>
<br>
<br>
<B> Next:</B> <A NAME="tex2html110"
HREF="node7.html">3.3.1 Creating and Destructing</A>
<B> Up:</B> <A NAME="tex2html106"
HREF="node3.html">3. The available Commands</A>
<B> Previous:</B> <A NAME="tex2html100"
HREF="node5.html">3.2 Page related Commands</A>
&nbsp <B> <A NAME="tex2html108"
HREF="node19.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
 
<h1><a name="SECTION00330000000000000000">
Object related Commands</a>
</h1>
<H1><A NAME="SECTION00330000000000000000">
3.3 Object related Commands</A>
</H1>
 
<p>
<br><hr>
<P>
<BR><HR>
<!--Table of Child-Links-->
<a name="CHILD_LINKS"><strong>Subsections</strong></a>
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
<ul>
<li><a name="tex2html111"
href="node7.html">Creating and Destructing Objects</a>
<li><a name="tex2html112"
href="node8.html">Selecting Objects</a>
<li><a name="tex2html113"
href="node9.html">Setting Object Properties</a>
<li><a name="tex2html114"
href="node10.html">Getting Object Properties</a>
<li><a name="tex2html115"
href="node11.html">Manipulating Objects</a>
<li><a name="tex2html116"
href="node12.html">Handling Text Frames</a>
</ul>
<UL>
<LI><A NAME="tex2html111"
HREF="node7.html">3.3.1 Creating and Destructing Objects</A>
<LI><A NAME="tex2html112"
HREF="node8.html">3.3.2 Selecting Objects</A>
<LI><A NAME="tex2html113"
HREF="node9.html">3.3.3 Setting Object Properties</A>
<LI><A NAME="tex2html114"
HREF="node10.html">3.3.4 Getting Object Properties</A>
<LI><A NAME="tex2html115"
HREF="node11.html">3.3.5 Manipulating Objects</A>
<LI><A NAME="tex2html116"
HREF="node12.html">3.3.6 Handling Text Frames</A>
</UL>
<!--End of Table of Child-Links-->
<br><hr>
 
</body>
</html>
<BR>
</BODY>
</HTML>
/trunk/Scribus/scribus/plugins/scriptplugin/cmddialog.h
5,5 → 5,7
/** Calling Dialogs from Scribus */
PyObject *scribus_newdocdia(PyObject *self, PyObject* args);
PyObject *scribus_filedia(PyObject *self, PyObject* args);
PyObject *scribus_mess(PyObject *self, PyObject* args);
PyObject *scribus_messdia(PyObject *self, PyObject* args);
#endif
 
/trunk/Scribus/scribus/plugins/scriptplugin/cmdtext.h
8,11 → 8,15
PyObject *scribus_getframetext(PyObject *self, PyObject* args);
PyObject *scribus_gettext(PyObject *self, PyObject* args);
PyObject *scribus_getlinespace(PyObject *self, PyObject* args);
PyObject *scribus_getcolumngap(PyObject *self, PyObject* args);
PyObject *scribus_getcolumns(PyObject *self, PyObject* args);
PyObject *scribus_setboxtext(PyObject *self, PyObject* args);
PyObject *scribus_inserttext(PyObject *self, PyObject* args);
PyObject *scribus_setfont(PyObject *self, PyObject* args);
PyObject *scribus_setfontsize(PyObject *self, PyObject* args);
PyObject *scribus_setlinespace(PyObject *self, PyObject* args);
PyObject *scribus_setcolumngap(PyObject *self, PyObject* args);
PyObject *scribus_setcolumns(PyObject *self, PyObject* args);
PyObject *scribus_setalign(PyObject *self, PyObject* args);
PyObject *scribus_selecttext(PyObject *self, PyObject* args);
PyObject *scribus_deletetext(PyObject *self, PyObject* args);
/trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
311,6 → 311,8
static PyMethodDef scribus_methods[] = {
{"NewDocDialog", scribus_newdocdia, METH_VARARGS},
{"FileDialog", scribus_filedia, METH_VARARGS},
{"StatusMessage", scribus_mess, METH_VARARGS},
{"MessageBox", scribus_messdia, METH_VARARGS},
{"NewDoc", scribus_newdoc, METH_VARARGS},
{"CloseDoc", scribus_closedoc, METH_VARARGS},
{"HaveDoc", scribus_havedoc, METH_VARARGS},
358,6 → 360,8
{"GetTextLength", scribus_gettextsize, METH_VARARGS},
{"GetTextColor", scribus_getlinecolor, METH_VARARGS},
{"GetTextShade", scribus_getlineshade, METH_VARARGS},
{"GetColumns", scribus_getcolumns, METH_VARARGS},
{"GetColumnGap", scribus_getcolumngap, METH_VARARGS},
{"GetLineSpacing", scribus_getlinespace, METH_VARARGS},
{"GetText", scribus_getframetext, METH_VARARGS},
{"GetAllText", scribus_gettext, METH_VARARGS},
384,6 → 388,8
{"SetTextColor", scribus_settextfill, METH_VARARGS},
{"SetTextStroke", scribus_settextstroke, METH_VARARGS},
{"SetTextShade", scribus_settextshade, METH_VARARGS},
{"SetColumns", scribus_setcolumns, METH_VARARGS},
{"SetColumnGap", scribus_setcolumngap, METH_VARARGS},
{"SetLineSpacing", scribus_setlinespace, METH_VARARGS},
{"SetTextAlignment", scribus_setalign, METH_VARARGS},
{"MoveObject", scribus_moveobjrel, METH_VARARGS},
457,6 → 463,18
PyDict_SetItemString(d, "FlatCap", Py_BuildValue("i", Qt::FlatCap));
PyDict_SetItemString(d, "SquareCap", Py_BuildValue("i", Qt::SquareCap));
PyDict_SetItemString(d, "RoundCap", Py_BuildValue("i", Qt::RoundCap));
PyDict_SetItemString(d, "NoButton", Py_BuildValue("i", QMessageBox::NoButton));
PyDict_SetItemString(d, "Ok", Py_BuildValue("i", QMessageBox::Ok));
PyDict_SetItemString(d, "Cancel", Py_BuildValue("i", QMessageBox::Cancel));
PyDict_SetItemString(d, "Yes", Py_BuildValue("i", QMessageBox::Yes));
PyDict_SetItemString(d, "No", Py_BuildValue("i", QMessageBox::No));
PyDict_SetItemString(d, "Abort", Py_BuildValue("i", QMessageBox::Abort));
PyDict_SetItemString(d, "Retry", Py_BuildValue("i", QMessageBox::Retry));
PyDict_SetItemString(d, "Ignore", Py_BuildValue("i", QMessageBox::Ignore));
PyDict_SetItemString(d, "NoIcon", Py_BuildValue("i", QMessageBox::NoIcon));
PyDict_SetItemString(d, "Information", Py_BuildValue("i", QMessageBox::Information));
PyDict_SetItemString(d, "Warning", Py_BuildValue("i", QMessageBox::Warning));
PyDict_SetItemString(d, "Critical", Py_BuildValue("i", QMessageBox::Critical));
PyDict_SetItemString(d, "Paper_A0", Py_BuildValue("(ff)", 2380.0, 3368.0));
PyDict_SetItemString(d, "Paper_A1", Py_BuildValue("(ff)", 1684.0, 2380.0));
PyDict_SetItemString(d, "Paper_A2", Py_BuildValue("(ff)", 1190.0, 1684.0));
/trunk/Scribus/scribus/plugins/scriptplugin/cmddialog.cpp
1,6 → 1,7
#include <Python.h>
#include "cmddialog.h"
#include "cmdvar.h"
#include <qmessagebox.h>
 
PyObject *scribus_newdocdia(PyObject *self, PyObject* args)
{
23,3 → 24,26
PyString_FromString(Carrier->CFileDialog(caption, filter, defName, static_cast<bool>(pre), static_cast<bool>(mode), 0, 0));
}
 
PyObject *scribus_mess(PyObject *self, PyObject* args)
{
char *caption;
if (!PyArg_ParseTuple(args, "s", &caption))
return NULL;
Carrier->FMess->setText(caption);
return Py_None;
}
 
PyObject *scribus_messdia(PyObject *self, PyObject* args)
{
char *caption = "";
char *message = "";
QMessageBox::Icon ico = QMessageBox::NoIcon;
int butt1 = QMessageBox::NoButton;
int butt2 = QMessageBox::NoButton;
int butt3 = QMessageBox::NoButton;
if (!PyArg_ParseTuple(args, "ssii|ii", &caption, &message, &ico, &butt1, &butt2, &butt3))
return NULL;
QMessageBox mb(caption, message, ico, butt1, butt2, butt3, Carrier);
return PyInt_FromLong(static_cast<long>(mb.exec()));
}