r22342 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 10 20:45:25 UTC 2018


Author: jghali
Date: Wed Jan 10 20:45:25 2018
New Revision: 22342

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22342
Log:
add placeVectorFile() to scripter documentation + some formatting fixes

Modified:
    trunk/Scribus/doc/en/scripterapi-doc.html
    trunk/Scribus/scribus/plugins/scriptplugin/svgimport.h

Modified: trunk/Scribus/doc/en/scripterapi-doc.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22342&path=/trunk/Scribus/doc/en/scripterapi-doc.html
==============================================================================
--- trunk/Scribus/doc/en/scripterapi-doc.html	(original)
+++ trunk/Scribus/doc/en/scripterapi-doc.html	Wed Jan 10 20:45:25 2018
@@ -103,32 +103,34 @@
 <p>May raise ScribusError if the document could not be opened.</p></dd>
 
 <dt><a name="-placeEPS"><strong>placeEPS</strong>(...)</a></dt>
-<dd><code></code>
-<p>placeEPS("filename", x, y) Places the EPS "filename" onto the current
-page, x and y specify the coordinate of the topleft corner of the EPS
-placed on the page If loading was successful, the selection contains
-the imported EPS</p></dd>
+<dd><code>placeEPS("filename", x, y)</code>
+<p>Places the EPS "filename" onto the current page, x and y specify the coordinate 
+of the topleft corner of the EPS placed on the page.</p>
+<p>If loading was successful, the selection contains the imported EPS.</p></dd>
 
 <dt><a name="-placeODG"><strong>placeODG</strong>(...)</a></dt>
-<dd><code></code>
-<p>placeODG("filename", x, y) Places the ODG "filename" onto the current
-page, x and y specify the coordinate of the topleft corner of the ODG
-placed on the page If loading was successful, the selection contains
-the imported ODG</p></dd>
+<dd><code>placeODG("filename", x, y)</code>
+<p>Places the ODG "filename" onto the current page, x and y specify the coordinate 
+of the topleft corner of the ODG placed on the page.</p>
+<p>If loading was successful, the selection contains the imported ODG.</p></dd>
 
 <dt><a name="-placeSVG"><strong>placeSVG</strong>(...)</a></dt>
-<dd><code></code>
-<p>placeSVG("filename", x, y) Places the SVG "filename" onto the current
-page, x and y specify the coordinate of the topleft corner of the SVG
-placed on the page If loading was successful, the selection contains
-the imported SVG</p></dd>
+<dd><code>placeSVG("filename", x, y)</code>
+<p>Places the SVG "filename" onto the current page, x and y specify the coordinate 
+of the topleft corner of the SVG placed on the page.</p>
+<p>If loading was successful, the selection contains the imported SVG.</p></dd>
 
 <dt><a name="-placeSXD"><strong>placeSXD</strong>(...)</a></dt>
-<dd><code></code>
-<p>placeSXD("filename", x, y) Places the SXD "filename" onto the current
-page, x and y specify the coordinate of the topleft corner of the SXD
-placed on the page If loading was successful, the selection contains
-the imported SXD</p></dd>
+<dd><code>placeSXD("filename", x, y)</code>
+<p>Places the SXD "filename" onto the current page, x and y specify the coordinate 
+of the topleft corner of the SXD placed on the page.</p>
+<p>If loading was successful, the selection contains the imported SXD.</p></dd>
+
+<dt><a name="-placeVectorFile"><strong>placeVectorFile</strong>(...)</a></dt>
+<dd><code>placeVectorFile("filename", x, y)</code>
+<p>Places the vector graphics "filename" onto the current page, x and y specify the coordinate 
+of the topleft corner of the graphic placed on the page.</p>
+<p>If loading was successful, the selection contains the imported graphic.</p></dd>
 
 <dt><a name="-saveDoc"><strong>saveDoc</strong></a>(...)</dt>
 <dd><code>saveDoc()</code>

Modified: trunk/Scribus/scribus/plugins/scriptplugin/svgimport.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22342&path=/trunk/Scribus/scribus/plugins/scriptplugin/svgimport.h
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/svgimport.h	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/svgimport.h	Wed Jan 10 20:45:25 2018
@@ -14,7 +14,7 @@
 PyDoc_STRVAR(scribus_placevec__doc__,
 QT_TR_NOOP("placeVectorFile(\"filename\", x, y)\n\
 \n\
-Places the Vectorgrapics \"filename\" onto the current page,\n\
+Places the vector graphic \"filename\" onto the current page,\n\
 x and y specify the coordinate of the topleft corner of the graphic placed on the page\n\
 \n\
 If loading was successful, the selection contains the imported graphic\n\




More information about the scribus-commit mailing list