Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 19708 → Rev 19709

/trunk/Scribus/doc/en/scripterapi-doc.html
22,10 → 22,6
useful to call this procedure when you're changing the document, because Scribus
won't automatically notice when you change the document using a script.</p></dd>
 
<dt><a name="-getUnit"><strong>getUnit</strong></a>(...)</dt>
<dd><code>getUnit() -&gt; integer (Scribus unit constant)</code>
<p>Returns the measurement units of the document. The returned value will be one of the UNIT_* constants: UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</p></dd>
 
<dt><a name="-getDocName"><strong>getDocName</strong>(...)</dt>
<dd><code>getDocName() -&gt; string</code>
<p>Returns the name of current file</p>
32,6 → 28,10
</dd>
</dt>
 
<dt><a name="-getUnit"><strong>getUnit</strong></a>(...)</dt>
<dd><code>getUnit() -&gt; integer (Scribus unit constant)</code>
<p>Returns the measurement units of the document. The returned value will be one of the UNIT_* constants: UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</p></dd>
 
<dt><a name="-haveDoc"><strong>haveDoc</strong></a>(...)</dt>
<dd><code>haveDoc() -&gt; bool</code>
<p>Returns true if there is a document open.</p></dd>
/trunk/Scribus/doc/fr/scripterapi-doc.html
28,7 → 28,6
</dd>
</dt>
 
 
<dt><a name="-getUnit"><strong>getUnit</strong></a>(...)</dt>
<dd><code><a href="#-getUnit">getUnit</a>() -&gt; nombre entier
(constante d'unit&eacute; de Scribus)</code>
44,6 → 43,10
<dd><code><a href="#-loadStylesFromFile">loadStylesFromFile</a>("nomFichier")</code>
<p>Charge des styles de paragraphe &agrave; partir du document Scribus
"nomFichier" dans le document courant.</p></dd>
 
<dt><a name="-masterPageNames"><strong>masterPageNames</strong>(...)</a></dt>
<dd><code>masterPageNames()</code>
<p>Retourne la liste des gabarits contenus dans le document.</p></dd>
<dt><a name="-newDoc"><strong>newDoc</strong></a>(...)</dt>
<dd><code><a href="#-newDoc">newDoc</a>(taille, marges, orientation, numeroPremierePage, unite, pagesRegard, premierePageGauche)