r24179 by jghali - #16306: Add constants for the item types (text, image, ...)
scribus-commit
scribus-commit at lists.scribus.net
Wed Nov 4 20:59:38 UTC 2020
Author: jghali
Date: Wed Nov 4 20:59:38 2020
New Revision: 24179
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24179
Log:
#16306: Add constants for the item types (text, image, ...)
Modified:
trunk/Scribus/doc/de/scripterapi-constants.html
trunk/Scribus/doc/de/scripterapi-page.html
trunk/Scribus/doc/en/scripterapi-constants.html
trunk/Scribus/doc/en/scripterapi-page.html
trunk/Scribus/doc/fr/scripterapi-constants.html
trunk/Scribus/doc/fr/scripterapi-page.html
trunk/Scribus/doc/it/scripterapi-constants.html
trunk/Scribus/doc/it/scripterapi-page.html
trunk/Scribus/doc/ru/scripterapi-constants.html
trunk/Scribus/doc/ru/scripterapi-page.html
trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
trunk/Scribus/scribus/plugins/scriptplugin_py2x/scriptplugin.cpp
Modified: trunk/Scribus/doc/de/scripterapi-constants.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/de/scripterapi-constants.html
==============================================================================
--- trunk/Scribus/doc/de/scripterapi-constants.html (original)
+++ trunk/Scribus/doc/de/scripterapi-constants.html Wed Nov 4 20:59:38 2020
@@ -207,6 +207,32 @@
</dl>
</td></tr></table>
+<h4>Definitions for page item types:</h4>
+<table><tr><td>
+<dl>
+ <dt>ITEM_ITEMTYPE1</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_IMAGEFRAME</dt>
+ <dt>ITEM_ITEMTYPE3</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_TEXTFRAME</dt>
+ <dt>ITEM_LINE</dt>
+ <dt>ITEM_POLYGON</dt>
+ <dt>ITEM_POLYLINE</dt>
+ <dt>ITEM_PATHTEXT</dt>
+ <dt>ITEM_LATEXFRAME</dt>
+ <dt>ITEM_OSGFRAME</dt>
+ <dt>ITEM_SYMBOL</dt>
+ <dt>ITEM_GROUP</dt>
+ <dt>ITEM_REGULARPOLYGON</dt>
+ <dt>ITEM_ARC</dt>
+ <dt>ITEM_SPIRAL</dt>
+ <dt>ITEM_TABLE</dt>
+ <dt>ITEM_NOTEFRAME</dt>
+ <dt>ITEM_MULTIPLE</dt>
+</dl>
+</td></tr></table>
+
<h4>Alignment Definitions: </h4>
<table><tr><td>
<dl>
Modified: trunk/Scribus/doc/de/scripterapi-page.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/de/scripterapi-page.html
==============================================================================
--- trunk/Scribus/doc/de/scripterapi-page.html (original)
+++ trunk/Scribus/doc/de/scripterapi-page.html Wed Nov 4 20:59:38 2020
@@ -51,7 +51,7 @@
<p>Returns a list containing the names of all objects of specified type and located on specified page and/or layer.</p>
<p>This function accepts several optional keyword arguments:
<ul>
-<li>type (optional): integer corresponding to item type, by default all items will be returned.</li>
+<li>type (optional): integer corresponding to item type, by default all items will be returned. You can use one of the ITEMTYPE_* constants.</li>
<li>page (optional): index of page on which returned objects are located, by default the current page. The page index starts at 0 and goes to the total number of pages - 1.</li>
<li>"layer" (optional): name of layer on which returned objects are located, by default the function returns items located on all layers.</li>
</ul></p>
Modified: trunk/Scribus/doc/en/scripterapi-constants.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/en/scripterapi-constants.html
==============================================================================
--- trunk/Scribus/doc/en/scripterapi-constants.html (original)
+++ trunk/Scribus/doc/en/scripterapi-constants.html Wed Nov 4 20:59:38 2020
@@ -207,6 +207,32 @@
</dl>
</td></tr></table>
+<h4>Definitions for page item types:</h4>
+<table><tr><td>
+<dl>
+ <dt>ITEM_ITEMTYPE1</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_IMAGEFRAME</dt>
+ <dt>ITEM_ITEMTYPE3</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_TEXTFRAME</dt>
+ <dt>ITEM_LINE</dt>
+ <dt>ITEM_POLYGON</dt>
+ <dt>ITEM_POLYLINE</dt>
+ <dt>ITEM_PATHTEXT</dt>
+ <dt>ITEM_LATEXFRAME</dt>
+ <dt>ITEM_OSGFRAME</dt>
+ <dt>ITEM_SYMBOL</dt>
+ <dt>ITEM_GROUP</dt>
+ <dt>ITEM_REGULARPOLYGON</dt>
+ <dt>ITEM_ARC</dt>
+ <dt>ITEM_SPIRAL</dt>
+ <dt>ITEM_TABLE</dt>
+ <dt>ITEM_NOTEFRAME</dt>
+ <dt>ITEM_MULTIPLE</dt>
+</dl>
+</td></tr></table>
+
<h4>Alignment Definitions: </h4>
<table><tr><td>
<dl>
Modified: trunk/Scribus/doc/en/scripterapi-page.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/en/scripterapi-page.html
==============================================================================
--- trunk/Scribus/doc/en/scripterapi-page.html (original)
+++ trunk/Scribus/doc/en/scripterapi-page.html Wed Nov 4 20:59:38 2020
@@ -51,7 +51,7 @@
<p>Returns a list containing the names of all objects of specified type and located on specified page and/or layer.</p>
<p>This function accepts several optional keyword arguments:
<ul>
-<li>type (optional): integer corresponding to item type, by default all items will be returned.</li>
+<li>type (optional): integer corresponding to item type, by default all items will be returned. You can use one of the ITEMTYPE_* constants.</li>
<li>page (optional): index of page on which returned objects are located, by default the current page. The page index starts at 0 and goes to the total number of pages - 1.</li>
<li>"layer" (optional): name of layer on which returned objects are located, by default the function returns items located on all layers.</li>
</ul></p>
Modified: trunk/Scribus/doc/fr/scripterapi-constants.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/fr/scripterapi-constants.html
==============================================================================
--- trunk/Scribus/doc/fr/scripterapi-constants.html (original)
+++ trunk/Scribus/doc/fr/scripterapi-constants.html Wed Nov 4 20:59:38 2020
@@ -207,6 +207,32 @@
</dl>
</td></tr></table>
+<h4>Constantes de types d'objet de page:</h4>
+<table><tr><td>
+<dl>
+ <dt>ITEM_ITEMTYPE1</dt>
+ <dd>Obsolète, veuillez ne pas utiliser. Présent pour des raisons d'exhaustivité.</dd>
+ <dt>ITEM_IMAGEFRAME</dt>
+ <dt>ITEM_ITEMTYPE3</dt>
+ <dd>Obsolète, veuillez ne pas utiliser. Présent pour des raisons d'exhaustivité.</dd>
+ <dt>ITEM_TEXTFRAME</dt>
+ <dt>ITEM_LINE</dt>
+ <dt>ITEM_POLYGON</dt>
+ <dt>ITEM_POLYLINE</dt>
+ <dt>ITEM_PATHTEXT</dt>
+ <dt>ITEM_LATEXFRAME</dt>
+ <dt>ITEM_OSGFRAME</dt>
+ <dt>ITEM_SYMBOL</dt>
+ <dt>ITEM_GROUP</dt>
+ <dt>ITEM_REGULARPOLYGON</dt>
+ <dt>ITEM_ARC</dt>
+ <dt>ITEM_SPIRAL</dt>
+ <dt>ITEM_TABLE</dt>
+ <dt>ITEM_NOTEFRAME</dt>
+ <dt>ITEM_MULTIPLE</dt>
+</dl>
+</td></tr></table>
+
<h4>Constantes d'alignement :</h4>
<table><tr><td>
<dl>
Modified: trunk/Scribus/doc/fr/scripterapi-page.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/fr/scripterapi-page.html
==============================================================================
--- trunk/Scribus/doc/fr/scripterapi-page.html (original)
+++ trunk/Scribus/doc/fr/scripterapi-page.html Wed Nov 4 20:59:38 2020
@@ -44,7 +44,7 @@
<p>Retourne une liste contenant les noms de tous les objets du type spécifié et situés sur la page et/ou le calque spécifiés.</p>
<p>Cette fonction accepte les paramètres nommés suivants:
<ul>
-<li>type (optionel) : entier correspondant au type des objets retournés, par défaut tous les types d'objets sont retournés.</li>
+<li>type (optionel) : entier correspondant au type des objets retournés, par défaut tous les types d'objets sont retournés. Vous pouvez utiliser une des constantes ITEMTYPE_*.</li>
<li>page (optionel) : indice de la page où sont situés les objets retournés, par défault la page courante. L'indice de page est situé entre 0 et nombre de pages - 1.</li>
<li>"layer" (optionel) : nom du calque où sont situés les objets retournés, par défault la fonction retourne les objets situés sur tous les calques.</li>
</ul></p>
Modified: trunk/Scribus/doc/it/scripterapi-constants.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/it/scripterapi-constants.html
==============================================================================
--- trunk/Scribus/doc/it/scripterapi-constants.html (original)
+++ trunk/Scribus/doc/it/scripterapi-constants.html Wed Nov 4 20:59:38 2020
@@ -207,6 +207,32 @@
</dl>
</td></tr></table>
+<h4>Definitions for page item types:</h4>
+<table><tr><td>
+<dl>
+ <dt>ITEM_ITEMTYPE1</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_IMAGEFRAME</dt>
+ <dt>ITEM_ITEMTYPE3</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_TEXTFRAME</dt>
+ <dt>ITEM_LINE</dt>
+ <dt>ITEM_POLYGON</dt>
+ <dt>ITEM_POLYLINE</dt>
+ <dt>ITEM_PATHTEXT</dt>
+ <dt>ITEM_LATEXFRAME</dt>
+ <dt>ITEM_OSGFRAME</dt>
+ <dt>ITEM_SYMBOL</dt>
+ <dt>ITEM_GROUP</dt>
+ <dt>ITEM_REGULARPOLYGON</dt>
+ <dt>ITEM_ARC</dt>
+ <dt>ITEM_SPIRAL</dt>
+ <dt>ITEM_TABLE</dt>
+ <dt>ITEM_NOTEFRAME</dt>
+ <dt>ITEM_MULTIPLE</dt>
+</dl>
+</td></tr></table>
+
<h4>Alignment Definitions: </h4>
<table><tr><td>
<dl>
Modified: trunk/Scribus/doc/it/scripterapi-page.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/it/scripterapi-page.html
==============================================================================
--- trunk/Scribus/doc/it/scripterapi-page.html (original)
+++ trunk/Scribus/doc/it/scripterapi-page.html Wed Nov 4 20:59:38 2020
@@ -51,7 +51,7 @@
<p>Returns a list containing the names of all objects of specified type and located on specified page and/or layer.</p>
<p>This function accepts several optional keyword arguments:
<ul>
-<li>type (optional): integer corresponding to item type, by default all items will be returned.</li>
+<li>type (optional): integer corresponding to item type, by default all items will be returned. You can use one of the ITEMTYPE_* constants.</li>
<li>page (optional): index of page on which returned objects are located, by default the current page. The page index starts at 0 and goes to the total number of pages - 1.</li>
<li>"layer" (optional): name of layer on which returned objects are located, by default the function returns items located on all layers.</li>
</ul></p>
Modified: trunk/Scribus/doc/ru/scripterapi-constants.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/ru/scripterapi-constants.html
==============================================================================
--- trunk/Scribus/doc/ru/scripterapi-constants.html (original)
+++ trunk/Scribus/doc/ru/scripterapi-constants.html Wed Nov 4 20:59:38 2020
@@ -207,6 +207,32 @@
</dl>
</td></tr></table>
+<h4>Definitions for page item types:</h4>
+<table><tr><td>
+<dl>
+ <dt>ITEM_ITEMTYPE1</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_IMAGEFRAME</dt>
+ <dt>ITEM_ITEMTYPE3</dt>
+ <dd>Legacy type, do not use, just here for completeness.</dd>
+ <dt>ITEM_TEXTFRAME</dt>
+ <dt>ITEM_LINE</dt>
+ <dt>ITEM_POLYGON</dt>
+ <dt>ITEM_POLYLINE</dt>
+ <dt>ITEM_PATHTEXT</dt>
+ <dt>ITEM_LATEXFRAME</dt>
+ <dt>ITEM_OSGFRAME</dt>
+ <dt>ITEM_SYMBOL</dt>
+ <dt>ITEM_GROUP</dt>
+ <dt>ITEM_REGULARPOLYGON</dt>
+ <dt>ITEM_ARC</dt>
+ <dt>ITEM_SPIRAL</dt>
+ <dt>ITEM_TABLE</dt>
+ <dt>ITEM_NOTEFRAME</dt>
+ <dt>ITEM_MULTIPLE</dt>
+</dl>
+</td></tr></table>
+
<h4>Alignment Definitions: </h4>
<table><tr><td>
<dl>
Modified: trunk/Scribus/doc/ru/scripterapi-page.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/doc/ru/scripterapi-page.html
==============================================================================
--- trunk/Scribus/doc/ru/scripterapi-page.html (original)
+++ trunk/Scribus/doc/ru/scripterapi-page.html Wed Nov 4 20:59:38 2020
@@ -51,7 +51,7 @@
<p>Returns a list containing the names of all objects of specified type and located on specified page and/or layer.</p>
<p>This function accepts several optional keyword arguments:
<ul>
-<li>type (optional): integer corresponding to item type, by default all items will be returned.</li>
+<li>type (optional): integer corresponding to item type, by default all items will be returned. You can use one of the ITEMTYPE_* constants.</li>
<li>page (optional): index of page on which returned objects are located, by default the current page. The page index starts at 0 and goes to the total number of pages - 1.</li>
<li>"layer" (optional): name of layer on which returned objects are located, by default the function returns items located on all layers.</li>
</ul></p>
Modified: trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp Wed Nov 4 20:59:38 2020
@@ -845,6 +845,25 @@
PyDict_SetItemString(d, const_cast<char*>("PAPER_LEGAL"), Py_BuildValue(const_cast<char*>("(ff)"), 612.0, 1008.0));
PyDict_SetItemString(d, const_cast<char*>("PAPER_LETTER"), Py_BuildValue(const_cast<char*>("(ff)"), 612.0, 792.0));
PyDict_SetItemString(d, const_cast<char*>("PAPER_TABLOID"), Py_BuildValue(const_cast<char*>("(ff)"), 792.0, 1224.0));
+ // PageItem types
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ITEMTYPE1"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ItemType1));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_IMAGEFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ImageFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ITEMTYPE3"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ItemType3));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_TEXTFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::TextFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_LINE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Line));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_POLYGON"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Polygon));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_POLYLINE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::PolyLine));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_PATHTEXT"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::PathText));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_LATEXFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::LatexFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_OSGFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::OSGFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_SYMBOL"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Symbol));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_GROUP"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Group));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_REGULARPOLYGON"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::RegularPolygon));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ARC"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Arc));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_SPIRAL"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Spiral));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_TABLE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Table));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_NOTEFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::NoteFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_MULTIPLE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Multiple));
// Colorspaces
PyDict_SetItemString(d, const_cast<char*>("CSPACE_UNDEFINED"), Py_BuildValue(const_cast<char*>("i"), -1));
PyDict_SetItemString(d, const_cast<char*>("CSPACE_RGB"), Py_BuildValue(const_cast<char*>("i"), 0));
Modified: trunk/Scribus/scribus/plugins/scriptplugin_py2x/scriptplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24179&path=/trunk/Scribus/scribus/plugins/scriptplugin_py2x/scriptplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin_py2x/scriptplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin_py2x/scriptplugin.cpp Wed Nov 4 20:59:38 2020
@@ -805,6 +805,25 @@
PyDict_SetItemString(d, const_cast<char*>("PAPER_LEGAL"), Py_BuildValue(const_cast<char*>("(ff)"), 612.0, 1008.0));
PyDict_SetItemString(d, const_cast<char*>("PAPER_LETTER"), Py_BuildValue(const_cast<char*>("(ff)"), 612.0, 792.0));
PyDict_SetItemString(d, const_cast<char*>("PAPER_TABLOID"), Py_BuildValue(const_cast<char*>("(ff)"), 792.0, 1224.0));
+ // PageItem types
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ITEMTYPE1"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ItemType1));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_IMAGEFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ImageFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ITEMTYPE3"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::ItemType3));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_TEXTFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::TextFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_LINE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Line));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_POLYGON"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Polygon));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_POLYLINE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::PolyLine));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_PATHTEXT"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::PathText));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_LATEXFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::LatexFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_OSGFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::OSGFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_SYMBOL"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Symbol));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_GROUP"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Group));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_REGULARPOLYGON"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::RegularPolygon));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_ARC"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Arc));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_SPIRAL"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Spiral));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_TABLE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Table));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_NOTEFRAME"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::NoteFrame));
+ PyDict_SetItemString(d, const_cast<char*>("ITEMTYPE_MULTIPLE"), Py_BuildValue(const_cast<char*>("i"), (int) PageItem::Multiple));
// Colorspaces
PyDict_SetItemString(d, const_cast<char*>("CSPACE_UNDEFINED"), Py_BuildValue(const_cast<char*>("i"), -1));
PyDict_SetItemString(d, const_cast<char*>("CSPACE_RGB"), Py_BuildValue(const_cast<char*>("i"), 0));
More information about the scribus-commit
mailing list