<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Label</title><link>https://sourceforge.net/p/mapframer/wiki/Label/</link><description>Recent changes to Label</description><atom:link href="https://sourceforge.net/p/mapframer/wiki/Label/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 27 Dec 2014 18:55:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mapframer/wiki/Label/feed" rel="self" type="application/rss+xml"/><item><title>Label modified by Agnar Renolen</title><link>https://sourceforge.net/p/mapframer/wiki/Label/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -41,9 +41,7 @@
 * **horizontal** (default) - the text will be placed horizontally.

 ##### shift
-Specifies, in paper units, an additional shift from the
-reference point and the text point.  Positive values is in the
-direction of the text.  Default value is `0pt`.
+Specifies, in paper units, an additional shift from the reference point and the text point.  Positive values is in the direction of the text.  Default value is `0pt`.

 ##### align
 Specifies text-alignment for the label. Legal values are
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Agnar Renolen</dc:creator><pubDate>Sat, 27 Dec 2014 18:55:42 -0000</pubDate><guid>https://sourceforge.net8ffe866a75024d40812e7b789070b76ee16503ec</guid></item><item><title>Label modified by Agnar Renolen</title><link>https://sourceforge.net/p/mapframer/wiki/Label/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,66 +1,57 @@
 Label
-=====
-
-The Label element provides a way of adding any arbitrary text elements
-to the frame, such as a title.  
-
-Depending on the application parsing the XML-file, it may be possible to
-specify place holders that will be substituted by the application.  For
-example, if the label contains the text $SHEED_ID$ the application may
-substitute te text with a sheet identifier. Otherwise it may just
-provide the text verbatim.
-
-Currently **mapframer** does not support such variable substitution.
+======
+The Label element provides a way of adding any arbitrary text elements to the frame, such as a title.

 Attributes
 ----------

-* **font**
+##### font
 Specifies the name of the font to be used.

-* **size**
+##### size
 Specifies the size of the font to be used, in paper units.

-* **color**
+##### color
 Specifies the color of the label.

-* **anchor**
-Specifes an anchor point relative to the main frame of which the text will be placed relative to. The following values are legal:
+##### anchor
+Specifies an anchor point relative to the main frame of which the text will be placed relative to. The following values are legal:

-    * **top-left**
-    * **top-center** (default)
-    * **top-right**
-    * **center-left**
-    * **center-right**
-    * **bottom-left**
-    * **bottom-center**
-    * **bottom-right**
+* **top-left**
+* **top-center** (default)
+* **top-right**
+* **center-left**
+* **center-right**
+* **bottom-left**
+* **bottom-center**
+* **bottom-right**

-* **offset**
+##### offset
 Specifies, in paper units, the distance from the main frame to the label. Positive values are outwards. Labels anchored to the corners of the main frame, are offset diagonally from the corner, but at a distance measured perpendicular to the main frame sides.

 Default value is `0pt`.

-* **orientation**
+##### orientation
 Specifies the text orientation. The following three values are legal:

-    * **outward** - the text will be blaced with its bottom towards the main frame. 
+* **outward** - the text will be placed with its bottom towards the main frame. 
       A label anchored to the bottom and oriented outward will be placed upside down.
-    * **inward** - the text will be placed with its top topwards the main frame. 
-      A label anchored to the top and  oriented inward will be placed updsied down.
-    * **horizontal** (default) - the text will be placed horizontally.
+* **inward** - the text will be placed with its top upwards the main frame. 
+      A label anchored to the top and  oriented inward will be placed upside down.
+* **horizontal** (default) - the text will be placed horizontally.

-* **shift**
+##### shift
 Specifies, in paper units, an additional shift from the
 reference point and the text point.  Positive values is in the
 direction of the text.  Default value is `0pt`.

-* **align**
-Specifes text-alignment for the label. Legal values are
-    * **left**
-    * **right**
-    * **center**
-    * **auto** (default) - determined from the anchor point.
+##### align
+Specifies text-alignment for the label. Legal values are
+
+* **left**
+* **right**
+* **center**
+* **auto** (default) - determined from the anchor point.

 Content
 -------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Agnar Renolen</dc:creator><pubDate>Sat, 27 Dec 2014 18:41:10 -0000</pubDate><guid>https://sourceforge.net755da9873e1de35436070343b148263ad9fe1430</guid></item><item><title>Label modified by Agnar Renolen</title><link>https://sourceforge.net/p/mapframer/wiki/Label/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="label"&gt;Label&lt;/h1&gt;
&lt;p&gt;The Label element provides a way of adding any arbitrary text elements&lt;br /&gt;
to the frame, such as a title.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Depending on the application parsing the XML-file, it may be possible to&lt;br /&gt;
specify place holders that will be substituted by the application.  For&lt;br /&gt;
example, if the label contains the text $SHEED_ID$ the application may&lt;br /&gt;
substitute te text with a sheet identifier. Otherwise it may just&lt;br /&gt;
provide the text verbatim.&lt;/p&gt;
&lt;p&gt;Currently &lt;strong&gt;mapframer&lt;/strong&gt; does not support such variable substitution.&lt;/p&gt;
&lt;h2 id="attributes"&gt;Attributes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;font&lt;/strong&gt;&lt;br /&gt;
Specifies the name of the font to be used.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;size&lt;/strong&gt;&lt;br /&gt;
Specifies the size of the font to be used, in paper units.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;color&lt;/strong&gt;&lt;br /&gt;
Specifies the color of the label.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;anchor&lt;/strong&gt;&lt;br /&gt;
Specifes an anchor point relative to the main frame of which the text will be placed relative to. The following values are legal:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;top-left&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;top-center&lt;/strong&gt; (default)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;top-right&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;center-left&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;center-right&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;bottom-left&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;bottom-center&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;bottom-right&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;offset&lt;/strong&gt;&lt;br /&gt;
Specifies, in paper units, the distance from the main frame to the label. Positive values are outwards. Labels anchored to the corners of the main frame, are offset diagonally from the corner, but at a distance measured perpendicular to the main frame sides.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Default value is &lt;code&gt;0pt&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;orientation&lt;/strong&gt;&lt;br /&gt;
Specifies the text orientation. The following three values are legal:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;outward&lt;/strong&gt; - the text will be blaced with its bottom towards the main frame. &lt;br /&gt;
  A label anchored to the bottom and oriented outward will be placed upside down.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;inward&lt;/strong&gt; - the text will be placed with its top topwards the main frame. &lt;br /&gt;
  A label anchored to the top and  oriented inward will be placed updsied down.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;horizontal&lt;/strong&gt; (default) - the text will be placed horizontally.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;shift&lt;/strong&gt;&lt;br /&gt;
Specifies, in paper units, an additional shift from the&lt;br /&gt;
reference point and the text point.  Positive values is in the&lt;br /&gt;
direction of the text.  Default value is &lt;code&gt;0pt&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;align&lt;/strong&gt;&lt;br /&gt;
Specifes text-alignment for the label. Legal values are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;left&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;right&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;center&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;auto&lt;/strong&gt; (default) - determined from the anchor point.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="content"&gt;Content&lt;/h2&gt;
&lt;p&gt;This is one of two elements that contain any text, which is the text of the label.&lt;/p&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;Label&lt;/span&gt; &lt;span class="na"&gt;font=&lt;/span&gt;&lt;span class="s"&gt;"Times-Bold"&lt;/span&gt; 
       &lt;span class="na"&gt;size=&lt;/span&gt;&lt;span class="s"&gt;"36pt"&lt;/span&gt; 
       &lt;span class="na"&gt;anchor=&lt;/span&gt;&lt;span class="s"&gt;"top-center"&lt;/span&gt;  
       &lt;span class="na"&gt;offset=&lt;/span&gt;&lt;span class="s"&gt;"15mm"&lt;/span&gt; 
       &lt;span class="na"&gt;orientation=&lt;/span&gt;&lt;span class="s"&gt;"horizontal"&lt;/span&gt; 
       &lt;span class="na"&gt;shift=&lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt; 
       &lt;span class="na"&gt;align=&lt;/span&gt;&lt;span class="s"&gt;"center"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Bymarka&lt;span class="nt"&gt;&amp;lt;/Label&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Agnar Renolen</dc:creator><pubDate>Thu, 25 Dec 2014 22:28:02 -0000</pubDate><guid>https://sourceforge.net2715b461ec8f2bab268177b48850f2d688e9b3a4</guid></item></channel></rss>