[dia] Bug 629907 - Namespace confusion with subshape
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Bug 629907 - Namespace confusion with subshape
- Date: Wed, 20 Oct 2010 19:28:33 +0000 (UTC)
commit ea01633920ee694a39111828d3276f1ce112a985
Author: Hans Breuer <hans breuer org>
Date: Sun Oct 17 19:55:38 2010 +0200
Bug 629907 - Namespace confusion with subshape
Remove namespace prefix from example subshape 'code', nothing else
in the shape file documentation is namespaced dia:.
doc/custom-shapes | 25 +++++++++++--------------
doc/en/custom-shapes.xml | 14 +++++++-------
2 files changed, 18 insertions(+), 21 deletions(-)
---
diff --git a/doc/custom-shapes b/doc/custom-shapes
index ecc768a..3c46532 100644
--- a/doc/custom-shapes
+++ b/doc/custom-shapes
@@ -239,21 +239,18 @@ Adding indepentently resizable symbols into your custom shapes is possible by
creating subshapes. This is done by some extra attributes on the group element.
<svg:g
- dia:subshape="true"
- dia:v_anchor="fixed.bottom"
- dia:h_anchor="fixed.left"
- dia:default_scale="1.0">
-
- dia:v_anchor The vertical anchoring of the subshape. Supported values are:
- "fixed.top"
- "fixed.bottom"
- "proportional"
+ subshape="true"
+ v_anchor="fixed.bottom"
+ h_anchor="fixed.left"
+ default_scale="1.0">
+
+ v_anchor The vertical anchoring of the subshape. Supported values are:
+ "fixed.top", "fixed.bottom", "proportional"
- dia:h_anchor The horizontal anchoring of the subshape. Supported values are:
- "fixed.left"
- "fixed.right"
- "proportional"
- dia:default_scale currently unused
+ h_anchor The horizontal anchoring of the subshape. Supported values are:
+ "fixed.left", "fixed.right", "proportional"
+
+ default_scale currently unused
Extented Attributes
diff --git a/doc/en/custom-shapes.xml b/doc/en/custom-shapes.xml
index c574dc3..8747b3b 100644
--- a/doc/en/custom-shapes.xml
+++ b/doc/en/custom-shapes.xml
@@ -528,16 +528,16 @@
<literal>
<![CDATA[
<svg:g
- dia:subshape="true"
- dia:v_anchor="fixed.bottom"
- dia:h_anchor="fixed.left"
- dia:default_scale="1.0">
+ subshape="true"
+ v_anchor="fixed.bottom"
+ h_anchor="fixed.left"
+ default_scale="1.0">
]]>
</literal>
</literallayout>
<variablelist>
<varlistentry>
- <term>dia:v_anchor<termdef>Supported values:
+ <term>v_anchor<termdef>Supported values:
<parameter>"fixed.top"</parameter>
<parameter>"fixed.bottom"</parameter>
<parameter>"proportional"</parameter>
@@ -549,7 +549,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>dia:h_anchor
+ <term>h_anchor
<termdef>Supported values are:
<parameter>"fixed.left"</parameter>
<parameter>"fixed.right"</parameter>
@@ -561,7 +561,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>dia:default_scale</term>
+ <term>default_scale</term>
<listitem>
<simpara>currently unused</simpara>
</listitem>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]