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() -> 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() -> 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() -> 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() -> bool</code> |
<p>Returns true if there is a document open.</p></dd> |