<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Further to my original post. I'm attempting to test/migrate a
script from 1.4 to 1.5 scripter2.<br>
<br>
Any clarity on the API's that I can't readily see available or a
replacement for would be great.<br>
<br>
Cheers.<br>
<br>
</tt><br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<table border="0" cellspacing="0" cols="2">
<colgroup width="161"></colgroup> <colgroup width="357"></colgroup>
<tbody>
<tr>
<td align="LEFT" height="17"><b>Scripter</b></td>
<td align="LEFT"><b>Scritper2</b></td>
</tr>
<tr>
<td align="LEFT" height="17"><br>
</td>
<td align="LEFT"><br>
</td>
</tr>
<tr>
<td align="LEFT" height="17">newDocument</td>
<td align="LEFT">? bug report <a
href="http://bugs.scribus.net/view.php?id=11342">http://bugs.scribus.net/view.php?id=11342</a></td>
</tr>
<tr>
<td align="LEFT" height="17">getPageMargins</td>
<td align="LEFT">ActiveDocument.Dimensions()</td>
</tr>
<tr>
<td align="LEFT" height="17">createText</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">setFillColor</td>
<td align="LEFT">ActiveDocument.ActiveItem.setFillColor()</td>
</tr>
<tr>
<td align="LEFT" height="17">setText</td>
<td align="LEFT">ActiveDocument.ActiveItem.setText()</td>
</tr>
<tr>
<td align="LEFT" height="17">setTextColor</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">setFont</td>
<td align="LEFT">ActiveDocument.ActiveItem.setFont()</td>
</tr>
<tr>
<td align="LEFT" height="17">setFontColor</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">defineColor</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">setRedraw</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">getPageType</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">createImage</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">createText</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">setTextAlignment</td>
<td align="LEFT">ActiveDocument.ActiveItem.setTextAlignment()</td>
</tr>
<tr>
<td align="LEFT" height="17">setFontSize</td>
<td align="LEFT">ActiveDocument.ActiveItem.setFontSize()</td>
</tr>
<tr>
<td align="LEFT" height="17">newPage</td>
<td align="LEFT">?</td>
</tr>
<tr>
<td align="LEFT" height="17">loadImage</td>
<td align="LEFT">ActiveDocument.ActiveItem.load()</td>
</tr>
</tbody>
</table>
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
<style>
<!--
BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }
-->
</style>
<div class="moz-cite-prefix">On 2013-01-10 14:27, Mark Heieis wrote:<br>
</div>
<blockquote cite="mid:50EF4040.6000003@alois.ca" type="cite">Hi,
<br>
<br>
I seem to missing something? What api does one use to
create/insert page items (image and text)? I've searched though
the code (api_document (where I would expect to find them),
api_item, api_imageitem, etc) but haven't found anything obvious.
<br>
<br>
Thanks
<br>
<br>
mrh.
<br>
</blockquote>
<br>
</body>
</html>