Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25265 → Rev 25266

/branches/Version15x/Scribus/doc/de/scripterapi-select.html
33,7 → 33,9
 
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Selects the object with the given "name".</p></dd>
<p>Adds the object with the given "name" to the current selection.</p>
<p>Lots of scripter function use the concept of "currently selected item" if an object name is not provided. In the case of multiple selections, the currently selected item is always the first item in the selection. As a consequence if you are planning to use object "name" as the currently selected item for following operations and current selection is not empty, you should call deselectAll() before calling this function.</p>
<p>If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b>.</p></dd>
 
</dl>
</body>
/branches/Version15x/Scribus/doc/en/scripterapi-select.html
33,7 → 33,9
 
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Selects the object with the given "name". If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b></p></dd>
<p>Adds the object with the given "name" to the current selection.</p>
<p>Lots of scripter function use the concept of "currently selected item" if an object name is not provided. In the case of multiple selections, the currently selected item is always the first item in the selection. As a consequence if you are planning to use object "name" as the currently selected item for following operations and current selection is not empty, you should call deselectAll() before calling this function.</p>
<p>If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b>.</p></dd>
 
</dl>
</body>
/branches/Version15x/Scribus/doc/fr/scripterapi-select.html
15,7 → 15,15
<dt><a name="-getSelectedObject"><strong>getSelectedObject</strong></a>(...)</dt>
<dd><code>getSelectedObject([nr]) -&gt; chaîne</code>
<p>Retourne le nom de l'objet sélectionné. "nr", s'il est fourni, indique le numéro de l'objet sélectionné, par exemple 0 signifie le premier objet sélectionné, 1, le second objet sélectionné et ainsi de suite.</p></dd>
 
<dt><a name="-moveSelectionToBack"><strong>moveSelectionToBack</strong></a>(...)</dt>
<dd><code>moveSelectionToBack()</code>
<p>Déplace les objets contenus dans la sélection courante à l'arrière plan.</p></dd>
 
<dt><a name="-moveSelectionToFront"><strong>moveSelectionToFront</strong></a>(...)</dt>
<dd><code>moveSelectionToFront()</code>
<p>Déplace les objets contenus dans la sélection courante au premier plan.</p></dd>
 
<dt><a name="-selectionCount"><strong>selectionCount</strong></a>(...)</dt>
<dd><code>selectionCount() -&gt; nombre entier</code>
<p>Retourne le nombre d'objets sélectionnés.</p></dd>
22,7 → 30,8
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("nom")</code>
<p>Sélectionne l'objet nommé "nom".</p></dd>
<p>Ajoute l'objet nommé "nom" à la sélection courante.</p>
<p>De nombreuses fonctions de script utilisent le concept d'objet sélectionné courant si un nom d'objet n'est pas fourni en argument. Dans le cas de sélections multiples, l'objet sélectionné courant est toujours le premier objet de la sélection. Par conséquence si vous désirez utiliser l'objet "nom" en tant qu'objet sélectionné courant et que la sélection courante n'est pas vide, vous devrez appeler deselectAll() avant d'appeler cette fonction.</p></dd>
 
</dl>
</body>
/branches/Version15x/Scribus/doc/it/scripterapi-select.html
1,37 → 1,42
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Selecting Objects</title>
</head>
<body>
<h2>Selecting Objects</h2>
 
<dl>
 
<dt><a name="-deselectAll"><strong>deselectAll</strong></a>(...)</dt>
<dd><code>deselectAll()</code>
<p>Deselects all objects in the whole document.</p></dd></dt>
 
<dt><a name="-getSelectedObject"><strong>getSelectedObject</strong></a>(...)</dt>
<dd><code>getSelectedObject([nr]) -&gt; string</code>
<p>Returns the name of the selected 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.</p></dd>
 
<dt><a name="-moveSelectionToBack"><strong>moveSelectionToBack</strong></a>(...)</dt>
<dd><code>moveSelectionToBack()</code>
<p>Moves the current selection to the back.</p></dd>
 
<dt><a name="-moveSelectionToFront"><strong>moveSelectionToFront</strong></a>(...)</dt>
<dd><code>moveSelectionToFront()</code>
<p>Moves the current selection to the front.</p></dd>
 
<dt><a name="-selectionCount"><strong>selectionCount</strong></a>(...)</dt>
<dd><code>selectionCount() -&gt; integer</code>
<p>Returns the number of selected objects.</p></dd>
 
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Selects the object with the given "name".</p></dd>
 
</dl>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Selecting Objects</title>
</head>
<style>
@import "manual.css";
</style>
<body>
<h2>Selecting Objects</h2>
 
<dl>
 
<dt><a name="-deselectAll"><strong>deselectAll</strong></a>(...)</dt>
<dd><code>deselectAll()</code>
<p>Deselects all objects in the whole document.</p></dd></dt>
 
<dt><a name="-getSelectedObject"><strong>getSelectedObject</strong></a>(...)</dt>
<dd><code>getSelectedObject([nr]) -&gt; string</code>
<p>Returns the name of the selected 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.</p></dd>
 
<dt><a name="-moveSelectionToBack"><strong>moveSelectionToBack</strong></a>(...)</dt>
<dd><code>moveSelectionToBack()</code>
<p>Moves the current selection to the back.</p></dd>
 
<dt><a name="-moveSelectionToFront"><strong>moveSelectionToFront</strong></a>(...)</dt>
<dd><code>moveSelectionToFront()</code>
<p>Moves the current selection to the front.</p></dd>
 
<dt><a name="-selectionCount"><strong>selectionCount</strong></a>(...)</dt>
<dd><code>selectionCount() -&gt; integer</code>
<p>Returns the number of selected objects.</p></dd>
 
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Adds the object with the given "name" to the current selection.</p>
<p>Lots of scripter function use the concept of "currently selected item" if an object name is not provided. In the case of multiple selections, the currently selected item is always the first item in the selection. As a consequence if you are planning to use object "name" as the currently selected item for following operations and current selection is not empty, you should call deselectAll() before calling this function.</p>
<p>If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b>.</p></dd>
 
</dl>
</body>
</html>
/branches/Version15x/Scribus/doc/ru/scripterapi-select.html
33,7 → 33,9
 
<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Selects the object with the given "name". If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b></p></dd>
<p>Adds the object with the given "name" to the current selection.</p>
<p>Lots of scripter function use the concept of "currently selected item" if an object name is not provided. In the case of multiple selections, the currently selected item is always the first item in the selection. As a consequence if you are planning to use object "name" as the currently selected item for following operations and current selection is not empty, you should call deselectAll() before calling this function.</p>
<p>If what you wish to do is to paste a copy of the object to another page, you must first <b>copyObject()</b>, then <b>pasteObject()</b>. See <b>Manipulating Objects</b>.</p></dd>
 
</dl>
</body>
/branches/Version15x/Scribus/scribus/plugins/scriptplugin/cmdmani.h
94,7 → 94,13
PyDoc_STRVAR(scribus_selectobject__doc__,
QT_TR_NOOP("selectObject(\"name\")\n\
\n\
Selects the object with the given \"name\".\n\
Adds the object with the given \"name\" to the current selection.\n\
\n\
Lots of scripter function use the concept of \"currently selected item\" if an object name\n\
is not provided. In the case of multiple selections, the currently selected item is always\n\
the first item in the selection. As a consequence if you are planning to use object \"name\"\n\
as the currently selected item for following operations and current selection is not empty,\n\
you should call deselectAll() before calling this function.\n\
"));
/*! Count selection */
PyObject *scribus_selectobject(PyObject * /*self*/, PyObject* args);