/usr/share/scribus/doc/it/scripterapi-layer.html is in scribus-doc 1.4.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Layer related Commands</title>
</head>
<body>
<h2>Layer related Commands</h2>
<dl>
<dt><a name="-createLayer"><strong>createLayer</strong></a>(...)</dt>
<dd><code>createLayer(layer)</code>
<p>Creates a new layer with the name "name".</p>
<p>May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-deleteLayer"><strong>deleteLayer</strong></a>(...)</dt>
<dd><code>deleteLayer("layer")</code>
<p>Deletes the layer with the name "layer". Nothing happens if the layer doesn't exists or if it's the only layer in the document.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-getActiveLayer"><strong>getActiveLayer</strong></a>(...)</dt>
<dd><code>getActiveLayer() -> string</code>
<p>Returns the name of the current active layer.</p></dd>
<dt><a name="-getLayers"><strong>getLayers</strong></a>(...)</dt>
<dd><code>getLayers() -> list</code>
<p>Returns a list with the names of all defined layers.</p></dd>
<dt><a name="-getLayerBlendmode"><strong>getLayerBlendmode</strong>(...)</a></dt>
<dd><code>getLayerBlendmode("layer") -> int</code>
<p>Returns the "layer" layer blendmode, May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-isLayerFlow"><strong>isLayerFlow</strong>(...)</a></dt>
<dd><code>isLayerFlow("layer") -> bool</code>
<p>Returns whether text flows around objects on layer "layer", a value of True means that text flows around, a value of False means that the text does not flow around.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-isLayerLocked"><strong>isLayerLocked</strong>(...)</a></dt>
<dd><code>isLayerLocked("layer") -> bool</code>
<p>Returns whether the layer "layer" is locked or not, a value of True means that the layer "layer" is editable, a value of False means that the layer "layer" is locked.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-getLayerTransparency"><strong>getLayerTransparency</strong>(...)</a></dt>
<dd><code>getLayerTransparency("layer") -> float</code>
<p>Returns the "layer" layer transparency, May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-isLayerOutlined"><strong>isLayerOutlined</strong>(...)</a></dt>
<dd><code>isLayerOutlined("layer") -> bool</code>
<p>Returns whether the layer "layer" is outlined or not, a value of True means that the layer "layer" is outlined, a value of False means that the layer "layer" is normal.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-isLayerPrintable"><strong>isLayerPrintable</strong></a>(...)</dt>
<dd><code>isLayerPrintable("layer") -> bool</code>
<p>Returns whether the layer "layer" is printable or not, a value of True means that the layer "layer" can be printed, a value of False means that printing the layer "layer" is disabled.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-isLayerVisible"><strong>isLayerVisible</strong></a>(...)</dt>
<dd><code>isLayerVisible("layer") -> bool</code>
<p>Returns whether the layer "layer" is visible or not, a value of True means that the layer "layer" is visible, a value of False means that the layer "layer" is invisible.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-sentToLayer"><strong>sentToLayer</strong></a>(...)</dt>
<dd><code>sentToLayer("layer" [, "name"])</code>
<p>Sends the object "name" to the layer "layer". The layer must exist. If "name" is not given the currently selected item is used.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setActiveLayer"><strong>setActiveLayer</strong></a>(...)</dt>
<dd><code>setActiveLayer("name")</code>
<p>Sets the active layer to the layer named "name".</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerBlendmode"><strong>setLayerBlendmode</strong>(...)</a></dt>
<dd><code>setLayerBlendmode"layer", blend)</code>
<p>Sets the layers "layer" blendmode to blend. May raise NotFoundError if the layer can't be found.</p>
<p>May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerFlow"><strong>setLayerFlow</strong>(...)</a></dt>
<dd><code>setLayerFlow"layer", flow)</code>
<p>Sets the layers "layer" flowcontrol to flow. If flow is set to true text in layers above this one will flow around objects on this layer.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerLocked"><strong>setLayerLocked</strong>(...)</a></dt>
<dd><code>setLayerLocked("layer", locked)</code>
<p>Sets the layer "layer" to be locked or not. If locked is set to true the layer will be locked.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerOutlined"><strong>setLayerOutlined</strong>(...)</a></dt>
<dd><code>setLayerOutlined"layer", outline)</code>
<p>Sets the layer "layer" to be locked or not. If outline is set to true the layer will be displayed outlined.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerPrintable"><strong>setLayerPrintable</strong></a>(...)</dt>
<dd><code>setLayerPrintable("layer", printable)</code>
<p>Sets the layer "layer" to be printable or not. If is the printable set to false the layer won't be printed.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerTransparency"><strong>setLayerTransparency</strong>(...)</a></dt>
<dd><code>setLayerTransparency"layer", trans)</code>
<p>Sets the layers "layer" transparency to trans.</p>
<p>May raise NotFoundError if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
<dt><a name="-setLayerVisible"><strong>setLayerVisible</strong></a>(...)</dt>
<dd><code>setLayerVisible("layer", visible)</code>
<p>Sets the layer "layer" to be visible or not. If is the visible set to false the layer is invisible.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the layer can't be found. May raise ValueError if the layer name isn't acceptable.</p></dd>
</dl>
</body>
</html>
|